IT lexicon › Database › Record-level locking

Record-level locking

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

Lock mechanism protecting individual records to prevent simultaneous conflicting changes.

Record-level locking locks only the specific record being modified, allowing other transactions to work with other records concurrently. This was a huge advance from table-level locks that blocked the entire table. Many classic systems like Informix and Sybase used record-level locking by default. Finer granularity reduces contention but increases the risk of deadlock when multiple transactions wait on each other. It remains the standard in modern databases, though more sophisticated isolation levels (MVCC) can reduce lock overhead further.

← Back to the lexicon