PAGELATCH_NL Wait Type in SQL Server

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

Is It a Problem?

No, and you should never see it accumulate; 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. A tool showing real time against it deserves a second look.


What It Means

Microsoft lists it as identified for informational purposes only, not supported, with no guarantee of future compatibility. Null mode latches are no longer used, and the wait type exists so every latch mode has a PAGELATCH_* entry.


When It Does Matter

It does not. Page latch problems live in the shared, update and exclusive modes, usually tempdb allocation contention, which PAGELATCH_EX covers.


The PAGELATCH Family

Each latch mode on an in-memory page has its own wait type. Shared, update and exclusive are where contention shows up; keep, destroy and null exist for completeness. The main page is PAGELATCH_EX, with tempdb allocation contention.

  • PAGELATCH_EXExclusive. Writing to a page in memory; last-page inserts and tempdb contention.The main page for this family
  • PAGELATCH_SHShared. Reading a page in memory, queued behind a writer.Worth a look when it climbs
  • PAGELATCH_UPUpdate. Often allocation pages such as PFS, GAM and SGAM.Worth investigating
  • PAGELATCH_KPKeep. Stops the page being destroyed by another thread.Usually noise
  • PAGELATCH_DTDestroy. Taken before the contents of a page are deleted.Usually noise
  • PAGELATCH_NLNull. Documented for information only, not supported.Usually noise. This page.

Where To Go Next

PAGELATCH_NL is a placeholder. 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 *