IT lexicon › Database › Lock Manager

Lock Manager

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

A database component that manages all locks — granting, releasing, detecting deadlocks, and maintaining wait queues.

The lock manager is a classical subsystem from IBM's IMS and network databases like CODASYL. It maintains a lock table (which resources are locked, which transactions hold them) and wait queues for transactions blocked waiting for locks. When a transaction releases a lock, the manager checks the wait queue and grants the lock to the next waiting transaction.

Modern databases (Oracle, PostgreSQL, MySQL) have sophisticated lock management built in, but the same principles apply — a central component must track who's waiting for what to avoid deadlock and maximize concurrency. Early systems had simpler lock managers that sometimes caused bottlenecks as workloads grew.

← Back to the lexicon