[SQL Server] Afficher les 10 premières attentes (Wait) SQL Server

  • Imprimer

SELECT TOP 10 wait_type,wait_time_ms/1000 AS wait_time_second
FROM sys.dm_os_wait_stats
ORDER BY wait_time_ms DESC