June 2019
Intermediate to advanced
407 pages
9h 30m
English
With the introduction of Dynamic Management Views (DMVs) in SQL Server 2005, viewing and analyzing wait statistics has become a lot easier and less tedious. In SQL Server versions prior to SQL Server 2005, we were limited to the DBCC SQLPERF('WAITSSTATS') command to view wait statistics. Presently there are a variety of DMVs that return wait statistics–related information, and in this chapter, we will take a detailed look at four of the most useful DMVs: sys.dm_os_wait_stats, sys.dm_os_waiting_tasks, sys.dm_exec_requests, and sys.dm_exec_session_wait_stats ...
Read now
Unlock full access