IT lexicon › Database › Commit log

Commit log

Database På svenska → Updated: 2026-11-10

Sequential log of all committed changes, enabling database recovery after a crash.

A commit log (redo log) is a sequential file recording every change before it's written to actual storage. On crash, it replays lost updates. This is a fundamental recovery mechanism dating back to IMS and still central to every modern database. The log is always written before the data itself (write-ahead logging), guaranteeing no committed transaction is lost. Because writes are sequential, they're fast even on slow storage. Kafka, event sourcing, and blockchain systems apply the same principle: durability through ordered, immutable logs.

← Back to the lexicon