mvcc

Installation
SKILL.md

MVCC

Multi-version concurrency control, enabled per database:

PRAGMA journal_mode = 'mvcc';

It is a runtime setting, not a compile-time feature flag. Most bugs are not MVCC-specific, so rule MVCC out first unless the bug only reproduces with journal_mode=mvcc.

Differences from WAL

Aspect WAL MVCC
Commit writes Full pages Affected rows only
Readers and writers Do not block each other Do not block each other
Persistence .db-wal .db-log (logical log), replayed on restart
Isolation Snapshot (page level) Snapshot (row level)

MVCC gives snapshot isolation, not serializability. The module docs in core/mvcc/ describe the data anomalies.

Installs
1.2K
GitHub Stars
25.3K
First Seen
Jan 28, 2026