sp_statement_completed
Extended Events

Capture real-time query execution performance metrics using the sp_statement_completed Extended Event — duration, CPU, reads, writes, and row counts for every completed statement within a stored procedure or batch.

#extended-events#query-performance#sp_statement_completed#duration +3 more
system_health
Extended Events

Comprehensive reference on SQL Server's built-in system_health Extended Events session — how to query, interpret, and export session data for root-cause analysis of critical server events.

#extended-events#system-health#diagnostics#ring-buffer +1 more
xevent_wait_statistics
Extended Events

Architect a high-precision wait statistics monitoring pipeline using Extended Events — capture wait_type, wait_time, and blocking_session_id at per-wait granularity without the overhead of sys.dm_os_wait_stats polling.

#extended-events#wait-statistics#wait_info#performance-monitoring +2 more
xml_deadlock_report
Extended Events

Production-grade techniques for capturing, querying, and analyzing SQL Server deadlock graphs using the xml_deadlock_report Extended Event, including system_health extraction and dedicated event session setup.

#extended-events#deadlock#xml_deadlock_report#blocking +2 more