CHECKPOINT_QUEUE Wait Type in SQL Server

⏳Part of the SQL Server Wait Types Library, every wait type explained.Related deep dive: IO_COMPLETION Wait TypeRelated pillar: Storage & Capacity

Is It a Problem?

No. It is a textbook benign wait, and Get Wait Statistics filters it out by default.


What It Means

Microsoft’s definition: it occurs while the checkpoint task is waiting for the next checkpoint request. Wait times vary with how long it takes for new requests to arrive, and manual CHECKPOINT commands do not go through the queue, so they never record this wait.


When It Does Matter

It does not. For checkpoint behaviour, look at SLEEP_BPOOL_FLUSH, data file write latency, and each database’s TARGET_RECOVERY_TIME; the baseline to monitor is data file write latency during checkpoints.


The CHECKPOINT Waits

These are the background checkpoint waits: the checkpoint task waiting for requests, starting up, and the indirect checkpoint poll. All are commonly filtered as benign. Checkpoint writes themselves show as ASYNC_IO_COMPLETION; otherwise start from the waits that usually matter.

  • DIRTY_PAGE_POLLIndirect checkpoint poll. The indirect checkpoint task sleeping between polls for dirty pages.Usually noise
  • CHECKPOINT_QUEUECheckpoint idle. The checkpoint task waiting for the next checkpoint request.Usually noise. This page.
  • CHKPTStartup. Telling the checkpoint thread it can start, at server startup.Usually noise

Where To Go Next

CHECKPOINT_QUEUE 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 *