seniorT-SQL

What is SQL Server lock escalation and how does it work internally?

Updated May 17, 2026

Short answer

Lock escalation converts many fine-grained locks into a larger lock (table or partition level).

Deep explanation

When a transaction acquires many row or page locks, SQL Server escalates them into a table-level lock to reduce memory overhead in the lock manager. This improves scalability but can reduce concurrency. Escalation is triggered by thresholds or memory pressure in the lock manager.

Unlock with a Pro subscription to view this section.

View pricing

Real-world example

No real-world example available yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

Common mistakes

No common mistakes listed yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

Follow-up questions

No follow-up questions available yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

More T-SQL interview questions

View all →