top of page
Writer's pictureKunal Ranpura

Find SQL Server Page Life Expectancy

-- Page Life Expectancy (PLE) value for default instance

SELECT cntr_value AS [Page Life Expectancy]

FROM sys.dm_os_performance_counters WITH (NOLOCK)

WHERE [object_name] = N'SQLServer:Buffer Manager' -- Modify this if you have named instances

AND counter_name = N'Page life expectancy' OPTION (RECOMPILE);


-- PLE is a good measurement of memory pressure.

-- Higher PLE is better. Watch the trend, not the absolute value.

21 views0 comments

Recent Posts

See All

Find SQL Server Memory Clerk Usage

-- Memory Clerk Usage for instance -- Look for high value for CACHESTORE_SQLCP (Ad-hoc query plans) SELECT TOP(10) [type] AS [Memory...

SQL Server Memory Grants Pending value

-- Memory Grants Pending value for default instance SELECT cntr_value AS [Memory Grants Pending] FROM sys.dm_os_performance_counters WITH...

댓글


bottom of page