Re:SQLite: Past, Present, and Future
by axelthegerman on Thursday September 01, 2022 @01:39PM
(#32680067)
Not sure what you mean by durability.
Sqlite has WAL that can be replicated (see litestream)
[ Parent
| on HN ]
Re:SQLite: Past, Present, and Future
by endisneigh on Thursday September 01, 2022 @01:53PM
(#32680314)
Re:SQLite: Past, Present, and Future
by dinosaurdynasty on Thursday September 01, 2022 @04:29PM
(#32682666)
https://www.sqlite.org/atomiccommit.html
sqlite is as good at durability as any non-replicated database, though you can configure it to be non-durable (most other databases too tbf).
https://www.sqlite.org/pragma.html#pragma_synchronous
By default WAL mode can rollback committed transactions in cases of power failure, but you can do `PRAGMA synchronous = FULL` to trade speed for durability.
Re:SQLite: Past, Present, and Future
by endisneigh on Thursday September 01, 2022 @04:54PM
(#32683052)
I’m talking about the post I originally commented on. Things were disabled so durability is not guaranteed.
Re:SQLite: Past, Present, and Future
by dinosaurdynasty on Thursday September 01, 2022 @05:49PM
(#32683757)
Yeah that's not great