← Back to context

Comment by dangoodmanUT

2 hours ago

> DbOptions::durable()

> Appended to the WAL without a per-write sync

So… it’s not durable? Durable doesn’t mean “survives a process restart”, it means “durably saved to persistent storage”. For example, this “durable” mode wouldn’t survive power loss.

Yeah this should be benchmarked against other systems that have flush() disabled.

mmap is nice but it doesn’t support durable semantics in the way that we usually mean with databases.

if a write is acknowledged it should not be forgotten, which is not what this is.

  • You're right, that mode provides process crash recovery, not power-loss durability. The benchmark compares it against fjall’s equivalent buffered-WAL mode.