LCK_M_IS is a reader that cannot even mark its intent on a table, because someone holds a table-wide lock that blocks it. Intent shared is compatible with almost everything, so the blocker is holding something heavy. Run the check to find it.Microsoft’s definition: waiting to acquire an Intent Shared (IS) lock. Before a reader takes shared locks on rows or pages, it places intent shared locks on the levels above them. The locking guide shows intent shared compatible with every common mode except exclusive, so waiting here means another session holds an exclusive table lock, or a schema modification lock from DDL.
Is It a Problem?
Sustained time is worth a look, because readers are queuing behind whole-table locks. Short spikes during deployments or index work are expected. 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.
Judge it over an interval rather than the cumulative totals. The baseline to monitor is close to zero outside maintenance windows.
Common Causes
- Lock escalation: a single statement that acquires at least 5,000 locks on one table or index can escalate to a table lock, which is exclusive for a modification.
TABLOCKX, orTABLOCKon a modification, in application code or ETL.- Long transactions holding exclusive table locks while readers stack up.
- DDL with a schema modification lock, covered on LCK_M_SCH_M.
The Check To Run
Rank it against everything else with Get Wait Statistics. While it is happening, find the waiter and its blocker:
SELECT
wt.session_id,
wt.wait_type,
wt.wait_duration_ms,
wt.blocking_session_id,
wt.resource_description,
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_IS%'
ORDER BY wt.wait_duration_ms DESC;
Then look at what the head blocker runs; Get Blocking Chains follows longer chains, and Get Open Transactions shows long open transactions. Both need VIEW SERVER STATE.
What To Do
- Break large modifications into batches that stay under the escalation threshold, or schedule them away from read-heavy periods.
- Remove table-lock hints that are not needed.
- If readers must coexist with heavy writes, consider
READ_COMMITTED_SNAPSHOT: readers then use row versions instead of shared locks. Writers still block writers.
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. This page.
- 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
Where To Go Next
If LCK_M_IS is showing up in your wait stats, these are the next places to look.
- LCK_M_X, LCK_M_S, and LCK_M_U, the main lock waits page.
- Troubleshoot SQL Server Blocking, Step by Step, from the first symptom to the head blocker.
- The waits that usually matter, ranked, with what each one is telling you.
- Performance & Troubleshooting, the scripts and guides for this part of the stack.
Leave a Reply