Pages

Friday, February 22, 2013

Memory - Buffer Manager Free Pages

This script will display the current value of the number of free pages available in the buffer pool for a SQL Server instance.

Having a sustained value below 640 could mean that new memory requests may stall and performance will suffer. Looking at Buffer Manager Free Pages over a period of time can give a general indication of possible memory pressure.  You will also want to look at Page Life Expectancy and Buffer Catch Hit Ratio.

Buffer Manager Free Pages in SQL Server 2012 is not applicable.

SELECT  cntr_value ,
        GETDATE()  AS [CollectionDt]
FROM    sys.dm_os_performance_counters WITH NOLOCK )
WHERE   OBJECT_NAME N'SQLServer:Buffer Manager'
        
AND counter_name N'Free pages'
OPTION  (RECOMPILE);

To learn more about the Buffer Manager and Free Pages and memory monitoring, please take a look at these links:

1 comment:

All comments will be moderated to ensure clean and relevant content.