Re:LMDB – Lightning Memory-Mapped Database Manager
by isaachier on Sunday November 11, 2018 @03:10PM
(#18428295)
LMDB is a storage engine whereas SQLite is a small database. There is even a version of SQLite that used LMDB as the underlying storage engine: https://github.com/LMDB/sqlightning.
Re:LMDB – Lightning Memory-Mapped Database Manager
by majidazimi on Sunday November 11, 2018 @03:10PM
(#18428292)
LMDB's read performance crushes modern LSM databases. It's not an alternative to SQLite. It is well suited for read-heavy class of workloads.
That’s harder than it sounds to roll by hand with fopen. SQLite with write ahead logging is pretty much as good as it gets for reliablity, but SQL at all was overkill for the task. LMDB is a close second and it’s memory mapped key-value interface is much simpler. . Would write again.
https://lwn.net/Articles/457667/