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.


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

What is MSQL_XP?

1 Answer


Occurs when a task is waiting for an extended stored procedure to end. SQL Server uses this wait state to detect potential MARS application deadlocks. The wait stops when the extended stored procedure call ends. Information from Microsoft®

Very common

This wait is very common for most instances

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

Prevalence of MSQL_XP across the Spotlight Population

For 45 % of hours with this wait, average wait time is less than 1.2 ms

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

4160 instances contributed data to this chart

Latency Distribution of MSQL_XP across the Spotlight Population