Memory Grants Pending value

SELECT @@SERVERNAME AS [Server Name]
	,RTRIM([object_name]) AS [Object Name]
	,cntr_value AS [Memory Grants Pending]
FROM sys.dm_os_performance_counters WITH (NOLOCK)
WHERE [object_name] LIKE N'%Memory Manager%' -- Handles named instances
	AND counter_name = N'Memory Grants Pending'
OPTION (RECOMPILE);

dm_os_performance_counters

Spread the love

1 thought on “Memory Grants Pending value”

  1. Pingback: Get Memory Clerk Usage Himanshu Patel SQL Server Consultant developer & Administrator -

Comments are closed.