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.
- The waits that usually matter, ranked, with what each one is telling you.
- High Availability, the scripts and guides for Availability Groups and replicas.
Leave a Reply