Lock-based concurrency control
Shared and exclusive locks, the two-phase locking protocol and why it guarantees conflict serializability, plus strict 2PL and the anomalies plain locking still allows.
10 min readUpdated 2026-09-04dbmslockingtwo-phase-locking