LibreDB Studiolibredb.org ONLINE • PostgreSQL
RUN
reliability.sql
SELECT guarantee, mechanism FROM reliability ORDER BY guarantee;
4 rows |2 cols4ms

Crash recovery you can trust

Readable does not mean toy. We earn trust through tests, not line counts.

~712
lines of shipped code
0
runtime dependencies
2.83 kB
bundled (min+brotli)
100%
core line coverage

A write-ahead log, fsync-d before commit

A transaction that returns has been written to a length-framed, CRC-32 checksummed log and fsync-dbefore the commit becomes visible. A crash can only ever damage the last, un-fsync-d record — which recovery detects and truncates, leaving a valid committed prefix.

Deterministic simulation testing

The crash/recovery path is proven by running the real engine against a seeded in-memory filesystem that tears, corrupts, and crashes the log on command — then checking that recovery is always a valid committed prefix. The FoundationDB-style approach that keeps the durability claims honest.

When NOT to use it (yet)

These limits are deliberate v1 scope, not hidden gaps. LibreDB's strength comes from what it refuses.

You need…Why not yet
Production at scaleIt is pre-alpha; today's beachhead is test/dev.
Secondary indexes / plannerQueries are O(n) scans by design in v1 (on the roadmap).
Concurrent / networked accessIt is embedded and single-process — no replication or client/server.
SQL wire compatibilityNo SQL text, no existing-driver ecosystem — a relational view, not a SQL engine.

Pre-alpha — not production ready

LibreDB is early (0.0.x). The architecture is in place and every line of the core is tested, but the API may still change and it is not yet meant for production data. Star it, follow along, and help shape it.