IT lexicon › Database › Record Locking

Record Locking

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

Locking at the granularity of individual rows in a table, allowing multiple transactions to write different rows concurrently.

Instead of locking an entire table (which would block all other writers), a system can lock just the row being modified. This is far more efficient for parallel workloads. If transaction A updates row 1 and transaction B updates row 2, both can proceed without blocking each other.

Record locking is standard in modern relational databases and was a major advance from earlier systems that could only lock entire tables or pages. It's still a balance — too many fine-grained locks create overhead, while too few limits concurrency. Systems like Informix and Sybase helped popularize row-level locking in the 1980s.

← Back to the lexicon