Tagged articles
1 articles
Page 1 of 1
Programmer DD
Programmer DD
Apr 26, 2020 · Databases

Understanding MySQL Table and Row Locks: Mechanisms, Modes, and Types

This article explains the differences between MySQL table locks and row locks, how they are implemented by the server and storage engines, the lock modes and types (including intention, auto‑increment, gap, next‑key, and insert‑intention locks), and provides practical SQL examples with diagrams.

Gap LockInnoDBlocking modes
0 likes · 13 min read
Understanding MySQL Table and Row Locks: Mechanisms, Modes, and Types