Is It a Problem?
Rarely on its own; our SQL Server 2025 lab had 9 waits totalling 2 ms. Get Wait Statistics does not filter it out, so if it ranks, you will see it. The mode tells you little; the class tells you which structure.
What It Means
Microsoft’s definition: waiting for an UP (update) latch, not including buffer latches or transaction mark latches. Update mode is compatible only with shared and keep in the latch compatibility table. The wait type exists mainly so every latch mode has a LATCH_* wait of its own. For data pages in memory the equivalent is PAGELATCH_UP.
When It Does Matter
If it registers, find the latch class:
SELECT
latch_class,
waiting_requests_count,
wait_time_ms,
max_wait_time_ms
FROM sys.dm_os_latch_stats
WHERE latch_class <> 'BUFFER'
ORDER BY wait_time_ms DESC;
The top row is the lead, and the LATCH_EX page has the classes with a documented cause. The baseline to monitor is that class’s wait_time_ms between two readings. It needs VIEW SERVER STATE.
The LATCH Family
Each latch mode has its own wait type, and the mode only says how the latch was asked for. The latch view groups the modes into a single row per class, so whichever of these you landed on, the check is the same.
- LATCH_KPKeep. Pins the structure so nothing can destroy it; compatible with every mode except DT.Usually noise
- LATCH_SHShared. Reading the structure, any number of readers at once, queueing behind a writer.Usually noise
- LATCH_UPUpdate. About to modify; allows SH and KP alongside it and nothing else.Usually noise. This page.
- LATCH_EXExclusive. Blocks every other reader and writer of the structure.Worth investigating
- LATCH_DTDestroy. Taken before the structure is torn down.Usually noise
- LATCH_NLNull. Documented for information only, not supported.Usually noise
Where To Go Next
LATCH_UP is background noise on a healthy instance. If you are chasing a real problem, start with the waits that cost you time.
- The waits that usually matter, ranked, with what each one is telling you.
- LATCH_EX, the latch class check, and what to do for each class.
- Performance & Troubleshooting, the scripts and guides for this part of the stack.
Leave a Reply