LCK_M LOW_PRIORITY and ABORT_BLOCKERS Wait Types in SQL Server

⏳Part of the SQL Server Wait Types Library, every wait type explained.Related deep dive: LCK_M_X, LCK_M_S, and LCK_M_U Wait TypesRelated pillar: Performance & Troubleshooting
⚡The _LOW_PRIORITY and _ABORT_BLOCKERS lock waits come from WAIT_AT_LOW_PRIORITY on online index rebuilds and partition switches. _LOW_PRIORITY is the DDL waiting politely without blocking anyone; _ABORT_BLOCKERS means it is killing the sessions in its way, because you told it to. Run the check to see which operation is waiting and on whom.

Every lock mode has two extra wait types, LCK_M_<mode>_LOW_PRIORITY and LCK_M_<mode>_ABORT_BLOCKERS; our SQL Server 2025 lab has 46 of them. Microsoft describes each as a task waiting to acquire that lock with low priority or with abort blockers, related to the low priority wait option of ALTER TABLE and ALTER INDEX, from SQL Server 2014.

The part the names hide: only four are actually used, during online index operations and partition switches. They are LCK_M_IS_LOW_PRIORITY, LCK_M_IS_ABORT_BLOCKERS, LCK_M_SCH_M_LOW_PRIORITY and LCK_M_SCH_M_ABORT_BLOCKERS; the rest exist so every lock mode has the pair. If you looked up one of the others, it should never accumulate time.


Is It a Problem?

Time in a _LOW_PRIORITY wait is the feature working: the operation waits for its long-term intent shared lock, or the final schema modification lock, at low priority until MAX_DURATION expires, without blocking other sessions the way a normal request would. Long waits only mean the object never went quiet in the window you gave it.

_ABORT_BLOCKERS deserves more care. It means MAX_DURATION expired with ABORT_AFTER_WAIT = BLOCKERS, and the sessions in the way are being rolled back; each wait lasts as long as those rollbacks take. That should always be a deliberate choice. Get Wait Statistics does not filter it out, so if it ranks, you will see it. The baseline to monitor is how often maintenance ends in ABORT_BLOCKERS rather than completing within its window.


Common Causes

  • Online index rebuilds or partition switches with WAIT_AT_LOW_PRIORITY, waiting on long-running queries or open transactions on the table.
  • A MAX_DURATION shorter than the longest query that normally touches the table.
  • ABORT_AFTER_WAIT = BLOCKERS chosen without checking what it would kill.

The Check To Run

While a maintenance job is waiting, see what it waits for and who is in the way:

SELECT
    wt.session_id,
    wt.wait_type,
    wt.wait_duration_ms,
    wt.blocking_session_id,
    t.text AS waiting_sql
FROM sys.dm_os_waiting_tasks AS wt
JOIN sys.dm_exec_requests AS r ON r.session_id = wt.session_id
CROSS APPLY sys.dm_exec_sql_text(r.sql_handle) AS t
WHERE wt.wait_type LIKE N'LCK_M_%_LOW_PRIORITY'
   OR wt.wait_type LIKE N'LCK_M_%_ABORT_BLOCKERS'
ORDER BY wt.wait_duration_ms DESC;

blocking_session_id is the session that will be waited out, or killed if the action is BLOCKERS. Get Open Transactions shows whether it is a long transaction left open. The query needs VIEW SERVER STATE.


What To Do

  1. Use WAIT_AT_LOW_PRIORITY on online rebuilds and partition switches on busy systems; it is the polite way to run them.
  2. Choose ABORT_AFTER_WAIT on purpose: NONE carries on waiting normally, SELF gives up, BLOCKERS kills what is in the way. The ALTER INDEX documentation has the full syntax.
  3. If the low-priority window keeps running out, find the long sessions holding the table and schedule around them.

The LCK_M Family

Every lock mode has its own wait type, and the name says which lock the waiting session asked for. The check is the same for all of them: find the waiter, then follow blocking_session_id to the head of the chain.

  • LCK_M_X / S / URow and page locks. Exclusive, shared and update, the everyday blocking waits, with the full blocking walkthrough.The main lock waits page
  • LCK_M_SCH_SSchema stability. Every query needs it, so a queued SCH-M request stalls them all.Worth investigating
  • LCK_M_SCH_MSchema modification. DDL waiting for every user of the table to let go.Worth investigating
  • LCK_M_ISIntent shared. A reader cannot mark the table because a writer holds the whole of it.Worth investigating
  • LCK_M_IXIntent exclusive. A writer cannot mark the table, so modifications stall at table level.Worth investigating
  • LCK_M_SIXShared with intent exclusive. A transaction that reads the whole table and changes some of it; rare, so any amount stands out.Worth investigating
  • LCK_M_RS_SRange shared. Serializable reads locking key ranges; check whether that isolation level was chosen.Worth investigating
  • LCK_M_RS_URange update. A serializable search for rows it means to update.Worth investigating
  • LCK_M_RX_XRange exclusive. Serializable writes locking the gaps between keys, a common deadlock ingredient.Worth investigating
  • LCK_M_RIn_NLInsert range. A serializable insert waiting to lock the gap it lands in.Worth investigating
  • _LOW_PRIORITYLow priority variants. Index operations and partition switches waiting under WAIT_AT_LOW_PRIORITY.Usually the feature working. This page.

Where To Go Next

If the low priority lock waits are showing up, these are the next places to look.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *