DMVs Flashcards
DMV for Query Optimizer info?
select *
from sys.dm_exec_query_optimizer_info
DMV for query stats?
select *
from sys.dm_exec_query_stats
DMV to view cache plans?
SELECT *
FROM sys.dm_exec_cached_plans
DMV to view current executing requests?
SELECT *
FROM sys.dm_exec_requests
DMV to view OS tasks?
SELECT *
FROM sys.dm_os_tasks
DMV to view current sessions?
SELECT *
FROM sys.dm_exec_sessions
DMV to view current connections?
DMV to view executing cursors?
SELECT *
FROM sys.dm_exec_cursors(session_id)
DMV to view information about memory allocations by internal memory manages?
SELECT *
FROM sys.dm_os_memory_brokers
DMV to view information about physical non-uniform memory access (NUMA)?
SELECT *
FROM sys.dm_os_memory_nodes
DMV to view information about CPU node configuration?
DMV to view SQL Server memory usage?
SELECT *
FROM sys.dm_os_process_memory
DMV to view System memory usage?
SELECT *
FROM sys.dm_os_sys_memory
DMV to view Resource Governor configuration?
SELECT *
FROM sys.dm_resource_governor_configuration
DMV to view Resource Governor resource pools?
SELECT *
FROM sys.dm_resource_governor_resource_pools