Skip to main content

Explain Lock Escalation in SQL Server.

Junior MS SQL
Quick Answer Lock escalation converts many fine-grained locks (row, page) into one coarse table-level lock when the lock count crosses a threshold (default ~5,000). It reduces lock manager overhead but blocks all concurrent readers and writers on that table. Can cause unexpected blocking in high-concurrency workloads.

Answer

When too many row/page locks exist, SQL upgrades to a table lock. This reduces overhead but lowers concurrency.

S
SugharaIQ Editorial Team Verified Answer

This answer has been peer-reviewed by industry experts holding senior engineering roles to ensure technical accuracy and relevance for modern interview standards.

Want to bookmark, take notes, or join discussions?

Sign in to access all features and personalize your learning experience.

Sign In Create Account

Source: SugharaIQ

Ready to level up? Start Practice