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.

SLEEP_TASK

Category: Idle
SQL Server versions: 2005, 2008, 2008 R2, 2012, 2014, 2016, 2017

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

What is SLEEP_TASK?

1 Answer

 

Occurs when a task sleeps while waiting for a generic event to occur. Information from Microsoft®

Very rare

This wait never occurs for most instances

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

Prevalence of SLEEP_TASK across the Spotlight Population

For 25 % of hours with this wait, average wait time is around 26 ms

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

1203 instances contributed data to this chart

Latency Distribution of SLEEP_TASK across the Spotlight Population