sqlite-super-journal · shipping · also Super-journal, SQLite super journal

SQLite super-journal

A SQLite super-journal is a coordination file that links recovery outcomes for a qualifying rollback-mode transaction modifying multiple attached databases on one connection.

Related Observatory article: Read on hesela.com

The super-journal lists participating rollback-journal paths, not database page contents. After journal and database synchronization, deleting it marks the multi-file commit; remaining individual journals can then be cleaned up. [1] Creation requires at least two modified databases with synchronous not OFF and journal_mode outside OFF, MEMORY and WAL. [2] The documented cross-file guarantee also excludes an in-memory main database. [3] This mechanism belongs to SQLite's attached-database transaction, not an arbitrary set of database servers. See the commit-scope comparison. [6]

Relations

related
Rollback journal, Hot journal, Write-ahead log, Crash consistency, fsync, Persistence ordering

Advantages

  • Provides a shared recovery decision for participating databases under the documented rollback-mode conditions. [1]

Limitations

  • WAL transactions remain atomic per database, not across the attached database set. [4]
  • Missing volumes or changed mount paths after a crash can break the links between journals and compromise cross-file atomicity. [5]

Citations

  1. SQLite: Atomic Commit In SQLite (accessed 2026-10-14)
  2. SQLite: Temporary Files Used By SQLite (accessed 2026-10-14)
  3. SQLite: ATTACH DATABASE (accessed 2026-10-14)
  4. SQLite: Write-Ahead Logging (accessed 2026-10-14)
  5. SQLite: File Locking And Concurrency In SQLite Version 3 (accessed 2026-10-14)
  6. Hesela: WAL, checkpoints and torn pages, SQLite commit scope (accessed 2026-10-14)

JSON: /data/terms/sqlite-super-journal.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. SQLite super-journal. Hesela. 2026-10-14. https://hesela.dev/terms/sqlite-super-journal/