Storage glossary · JSON corpus · llms.txt · hesela.com

hot-journal · shipping · also Hot rollback journal, SQLite hot journal

Hot journal

A hot journal is a SQLite rollback journal that requires replay to recover an interrupted database transaction.

Related Observatory article: Hot journal on hesela.com

SQLite's rollback-mode checks require an existing journal larger than 512 bytes, a valid nonzero header, no RESERVED lock on the database, and either an existing named super-journal or no super-journal name. The lock check distinguishes recovery work from a current writer's journal. SQLite obtains recovery locks and replays a hot journal before reading the database. [1] A leftover journal whose named super-journal was deleted at group commit is not hot. [2] See the distinction between journal files and recovery decisions. [3] A disposable process-exit observation demonstrates journal retention after commit and rollback of unfinished writes; it is not a power-loss test. [4]

Relations

related
rollback-journal, sqlite-super-journal, crash-consistency, write-ahead-log, fsync

Advantages

Limitations

Citations

  1. SQLite: File Locking And Concurrency In SQLite Version 3 (accessed 2026-10-14)
  2. SQLite: Atomic Commit In SQLite (accessed 2026-10-14)
  3. Hesela: WAL, checkpoints and torn pages, SQLite commit scope (accessed 2026-10-14)
  4. Hesela: SQLite journal-lifecycle observations, measured synthetic workload and explicit limits (accessed 2026-10-14)

JSON: /data/terms/hot-journal.json