DMV Quick-Reference Cheat Sheet

Audit Tip: DMVs are cumulative since the last SQL restart. Always check uptime via tempdb creation date before concluding a "Fire" is active.
CategoryPrimary DMVDBA Duty / What to Look For
Wait Statssys.dm_os_wait_statsFind the #1 bottleneck (CPU, Disk, or Network). Use DBCC SQLPERF to clear for current analysis.
Query Statssys.dm_exec_query_statsIdentify "Heavy Hitters." Cross-apply with sys.dm_exec_sql_text to see the exact code.
Missing Indexessys.dm_db_missing_index_detailsLook for high "User Impact" scores. Equality columns should always be ordered before Inequality.
Fragmentationsys.dm_db_index_physical_statsSpot disorganized indexes (>30%). Rebuild for performance or Reorganize for maintenance.
IO Latencysys.dm_io_virtual_file_statsExpose bad hardware. Values >20ms indicate physical disks cannot keep up with VA workload.
TempDBsys.dm_db_session_space_usageIdentify the specific SPID (Space Hog) filling the community scratchpad.
← Back to Portfolio