IT lexicon › Database › Exclusive Lock

Exclusive Lock

Database På svenska → Updated: 2026-11-11

A lock type that gives a transaction sole access to a resource and blocks both readers and other writers.

An exclusive lock is the strongest lock type. No other transaction can read or write the same data while an exclusive lock is held. This ensures updates don't collide and readers don't see partial changes.

Exclusive locks reduce concurrency more than shared locks because they're more restrictive, but they're necessary to guarantee data integrity during writes. Databases try to minimize the duration of exclusive locks to maximize throughput. The balance between lock strength and concurrency is a core challenge in transaction design.

← Back to the lexicon