PWAIT_DIRECTLOGCONSUMER_GETNEXT Wait Type in SQL Server

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

Is It a Problem?

No. It is not reported as a contention point; it was zero on our SQL Server 2025 lab. Get Wait Statistics does not filter it out, so if it ranks, you will see it.


What It Means

Microsoft lists it as internal use only, from SQL Server 2016. It is a thread reading from the transaction log waiting for a log block to be supplied to it; the one known example is consuming the log for the checkpoint of an In-Memory OLTP table. A reader that has caught up with the log waits here for the next block.


When It Does Matter

It does not. If In-Memory OLTP checkpointing is the question, sys.dm_db_xtp_checkpoint_files shows the checkpoint files; the baseline to monitor is that database’s transaction log truncating normally.


The PWAIT Family

These are internal waits with the PWAIT prefix, background tasks pausing between runs. Little is documented about them, and all of them are commonly filtered as benign. If one is near the top of your waits, start from the waits that usually matter instead.

  • PWAIT_EXTENSIBILITY_CLEANUP_TASKExtensibility cleanup. A Launchpad-related background task that waits 300 seconds at a time.Usually noise
  • PWAIT_ALL_COMPONENTS_INITIALIZEDStartup. Documented as internal use only; waiting for components to initialise.Usually noise
  • PWAIT_DIRECTLOGCONSUMER_GETNEXTLog consumer. Documented as internal use only; a log reader waiting for its next record.Usually noise. This page.

Where To Go Next

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