Description
This wait occurs when a request is waiting to acquire an Update Intent Exclusive lock with the low priority options added in SQL Server 2014. An update lock are not just for UPDATE operations. They are used when SQL needs to read then modify a row/page/table, before modification it will place an Update on the data then when ready upgrade this to an Exclusive Lock. This wait typically occurs when modify requests are blocked by other write transactions (implicit of explicit) been kept open for extended periods of time. The low priority operations must not be set to abort blockers for this wait type to accumulate
Resolved by
DBAs and Developers
Suggested solutions
- Keep transaction durations short.
- Ensure transactions isolation levels are appropriate (avoid SERIALIZEABLE and REPEATABLE READ if possible)
- Investigate enabling the READ_COMMITTED_SNAPSHOT database setting
- Run trace/Profiler/Extended Event session in conjunction with Blocked Process Threshold to determine which queries are being blocked
- Indexing, ensure long running queries and transactions are optimised
- Ensure locks being escalated correctly: row, page or table (if table is partitioned considered enabling partition escalation)
Additional research
Exploring Low Priority Lock Wait Options
Reducing SQL Server Locks
Understanding Isolation Levels
Identify the Cause of SQL Server Blocking
Lock Escalations