Skip to content
Theory · WAL, Checkpoints and Crash Recovery · lesson 5 of 11

When a commit is durable

The clerk has an assistant. The lines the clerk writes land in a draft on the desk first, and every few moments the assistant carries the fresh lines to the journal by the shelves. The clerk can tell the customer "done" once the assistant has taken his line to the journal. Or he can say it at once and rely on the assistant.

In this lesson

  • What a commit waits for
  • Asynchronous commit
  • fsync = off
  • Common mistake
  • Key points