Reading library

Documentation

Atomic commit in SQLite

An implementation-oriented account of how database updates survive interruption.

On this page
  1. Why this is on the reading desk
  2. A question to keep

By SQLite authors. Read the original source.

Why this is on the reading desk

Start with the hardware assumptions, then trace the order in which state changes become durable. The value of the explanation is the connection between a promise and the steps needed to support it.

A question to keep

For a future embedded-database study, turn each boundary into a failure question: what can be recovered if execution stops here?