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.

LATCH_KP

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

What is LATCH_KP?

1 Answer

 

Occurs when waiting for a KP (keep) latch. This does not include buffer latches or transaction mark latches. A listing of LATCH_* waits is available in sys.dm_os_latch_stats. Note that sys.dm_os_latch_stats groups LATCH_NL, LATCH_SH, LATCH_UP, LATCH_EX, and LATCH_DT waits together. Information from Microsoft®

Very rare

This wait never occurs for most instances

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

Prevalence of LATCH_KP across the Spotlight Population

For 33 % of hours with this wait, average wait time is around 140 ms

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

2 instances contributed data to this chart

Latency Distribution of LATCH_KP across the Spotlight Population