Aikesheng Open Source Community
May 22, 2024 · Databases
Understanding InnoDB Row Locks: Shared, Exclusive, Gap, Next‑Key, and Insert‑Intention Locks
This article explains the different types of InnoDB row locks—including shared, exclusive, gap, next‑key, and insert‑intention locks—by showing preparation steps, SQL examples, lock‑mode details, and how they interact under repeatable‑read isolation in MySQL 8.0.32.
InnoDBSQLTransaction Isolation
0 likes · 12 min read