SP_SERVER_DIAGNOSTICS_SLEEP Wait Type in SQL Server

⏳Part of the SQL Server Wait Types Library, every wait type explained.Related deep dive: SOS_SCHEDULER_YIELD Wait TypeRelated pillar: Performance & Troubleshooting

Is It a Problem?

No. It can be safely ignored, and Get Wait Statistics filters it out by default.


What It Means

Microsoft lists it as internal use only, from SQL Server 2012. It is the background system health monitor thread waiting between checks of whether to run sp_server_diagnostics, the procedure added in SQL Server 2012 to help detect failures for automatic failover. Its sibling PREEMPTIVE_SP_SERVER_DIAGNOSTICS covers the runs themselves.


When It Does Matter

It does not. The procedure is the useful part: EXEC sp_server_diagnostics; gives a component-by-component health snapshot in an incident. AG failover sensitivity is set by the health check timeout and failure condition level, not by this wait.


Where To Go Next

SP_SERVER_DIAGNOSTICS_SLEEP is background noise on a healthy instance. If you are chasing a real problem, start with the waits that cost you time.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *