Part 2. How Is Data Updated Safely?

Part 1 showed how data is stored and managed in pages. Part 2 explains the mechanisms that keep modifications from being lost when pages are modified concurrently or the server terminates abnormally.

Chapter 4. What Is a Transaction?

Chapter 5. WAL: Write the Log First

Chapter 6. Durability: fsync, Group Commit, Checkpoint

Chapter 7. MVCC and Isolation Levels: Reading and Writing Concurrently