Quantcast
Channel: SQL Server Manageability forum
Viewing all articles
Browse latest Browse all 1519

sys.dm_os_performance_counters PLE Not returning anything

$
0
0

Hi.

When I run this query on a specific server I get NOTHING returned... No values at all.  2012SP1 (forced, vendor will not allow me to update!)

SELECT @@SERVERNAME AS [Server Name], [object_name], instance_name, cntr_value AS [Page Life Expectancy]
FROM sys.dm_os_performance_counters WITH (NOLOCK)
WHERE [object_name] LIKE N'%Buffer Node%' -- Handles named instances
AND counter_name = N'Page life expectancy' OPTION (RECOMPILE);

Yet, when I run against other SQL Servers it works fine.  Even with the EXACT same SQL Version number.  Any ideas?  Thanks.

mg


Viewing all articles
Browse latest Browse all 1519


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>