Waitopedia is a comprehensive resource of information about SQL Server waits.

The description shown below is the top answer as voted by the Spotlight community.

The charts are based on 2.1 TB of data collected from 4207 instances uploaded by 323 Spotlight users over an 8 week period.

HADR_WORK_QUEUE

Category: Idle
SQL Server versions: 2012, 2014, 2016, 2017

This is an idle wait and so it can be safely ignored.

What is HADR_WORK_QUEUE?

1 Answer

 

AlwaysOn Availability Groups background worker thread waiting for new work to be assigned. This is an expected wait when there are ready workers waiting for new work, which is the normal state. Information from Microsoft®

Very rare

This wait never occurs for most instances

For each of 4207 instances, we ranked HADR_WORK_QUEUE on how frequent it is compared to all other recent waits. The chart shows the total of all rankings.

Prevalence of HADR_WORK_QUEUE across the Spotlight Population

For 11 % of hours with this wait, average wait time is around 160 ms

For each instance, we found all the recent hours when it had a HADR_WORK_QUEUE wait. We found the average latency for each of those hours.

168 instances contributed data to this chart

Latency Distribution of HADR_WORK_QUEUE across the Spotlight Population