Tagged articles

snapshot read

6 articles · Page 1 of 1
IT Services Circle
IT Services Circle
Sep 25, 2026 · Databases

Why MySQL Needs Four Isolation Levels Despite MVCC's Lock-Free Reads

This article explains how MySQL's MVCC uses version chains and ReadViews to enable lock-free snapshot reads, why isolation levels control ReadView creation timing (per-statement vs per-transaction), and why READ UNCOMMITTED and SERIALIZABLE bypass MVCC entirely, while writes still require row locks.

InnoDBMVCCMySQL
0 likes · 8 min read
Why MySQL Needs Four Isolation Levels Despite MVCC's Lock-Free Reads
liandk
liandk
Sep 7, 2026 · Databases

MySQL MVCC Deep Dive: Lock-Free Reads, Isolation Levels & Phantom Read Mechanics

This article explains MySQL's MVCC mechanism in InnoDB, detailing how hidden fields, undo logs, and Read Views enable lock-free snapshot reads, the differences between RC and RR isolation levels, why MVCC prevents non-repeatable reads but not phantom reads, and common pitfalls like long transactions causing undo log bloat.

InnoDBMVCCPhantom Read
0 likes · 11 min read
MySQL MVCC Deep Dive: Lock-Free Reads, Isolation Levels & Phantom Read Mechanics
Lobster Programming
Lobster Programming
Aug 31, 2026 · Databases

How MySQL Repeatable Read Solves Phantom Reads with MVCC and Next-Key Locks

This article explains how MySQL's Repeatable Read isolation level prevents phantom reads by combining MVCC snapshot reads for consistent views and Next-Key Locks (record + gap locks) to block inserts during current reads like UPDATE, detailing the ReadView mechanism, version chains, and a concrete phantom read scenario.

Gap LockIsolation LevelMVCC
0 likes · 8 min read
How MySQL Repeatable Read Solves Phantom Reads with MVCC and Next-Key Locks
liandk
liandk
Aug 22, 2026 · Databases

Master MySQL MVCC: Snapshot vs Current Reads and Isolation Level Mechanics

This article explains MySQL InnoDB's MVCC mechanism, detailing how snapshot reads and current reads work, the hidden fields that drive versioning, the Read View rules for RC and RR isolation levels, and provides hands‑on SQL demos plus common pitfalls to avoid.

InnoDBMVCCMySQL
0 likes · 12 min read
Master MySQL MVCC: Snapshot vs Current Reads and Isolation Level Mechanics
Zhuanzhuan Tech
Zhuanzhuan Tech
Aug 29, 2025 · Databases

Why MySQL Returns Old Values After Update: Inside InnoDB Snapshot Reads

This article investigates a puzzling MySQL behavior where a row updated within a transaction sometimes returns its previous value, explains the role of InnoDB's snapshot reads and ReadView, reproduces the issue, and offers practical ways to prevent the “update disappearance” scenario.

ConcurrencyInnoDBMySQL
0 likes · 18 min read
Why MySQL Returns Old Values After Update: Inside InnoDB Snapshot Reads