seniorSQL

What is lock escalation in databases?

Updated May 17, 2026

Short answer

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

Deep explanation

When a transaction acquires many row-level or page-level locks, the database may escalate them into a table-level lock to reduce memory overhead. While this improves lock management efficiency, it reduces concurrency and can block other transactions.

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 SQL interview questions

View all →