Lightning Memory-Mapped Database
Lightning Memory-Mapped Database (LMDB) is an embedded transactional database in the form of a key-value store.[src] LMDB is written in C with API bindings for several programming languages.[src] LMDB stores arbitrary key/data pairs as byte arrays, has a range-based search capability, supports multiple data items for a single key and has a special mode for appending records (MDB_APPEND) without checking for consistency.[src] LMDB is not a relational database, it is strictly a key-value store like Berkeley DB and DBM.[src] LMDB may also be used concurrently in a multi-threaded or multi-processing environment, with read performance scaling linearly by design.[src] LMDB databases may have only one writer at a time, however unlike many similar key-value databases, write transactions do not block readers, nor do readers block writers.[src] LMDB is also unusual in that multiple applications on the same system may simultaneously open and use the same LMDB store, as a means to scale up performance.[src] Also, LMDB does not require a transaction log (thereby increasing write performance by not needing to write data twice) because it maintains data integrity inherently by design.[src]
Lightning Memory-Mapped Database (LMDB) is an embedded transactional database in the form of a key-value store.[src] LMDB is written in C with API bindings for several programming languages.[src] LMDB stores arbitrary key/data pairs as byte arrays, has a range-based search capability, supports multiple data items for a single key and has a special mode for appending records (MDB_APPEND) without checking for consistency.[src] LMDB is not a relational database, it is strictly a key-value store like Berkeley DB and DBM.[src] LMDB may also be used concurrently in a multi-threaded or multi-processing environment, with read performance scaling linearly by design.[src] LMDB databases may have only one writer at a time, however unlike many similar key-value databases, write transactions do not block readers, nor do readers block writers.[src] LMDB is also unusual in that multiple applications on the same system may simultaneously open and use the same LMDB store, as a means to scale up performance.[src] Also, LMDB does not require a transaction log (thereby increasing write performance by not needing to write data twice) because it maintains data integrity inherently by design.[src] ==See also== Ordered Key-Value Store libmdbx (aka MDBX) is a deeply revised and extended descendant of LMDB, which according to the developers, "is superior to legendary LMDB in terms of features and reliability, not inferior in performance".[src] It is noteworthy MDBX is used in Ethereum (Erigon, Reth), in products of StarkWare Industries, Positive Technologies, as well as in many other software projects.[src]
18 sentences · 18 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Lightning Memory-Mapped Database." encyclopegia.org, 2026, https://encyclopegia.org/wiki/lightning-memory-mapped-database. Accessed 27 November 2026.
Chicago
"Lightning Memory-Mapped Database." encyclopegia.org. Accessed November 27, 2026. https://encyclopegia.org/wiki/lightning-memory-mapped-database.
APA
encyclopegia.org. (2026). Lightning Memory-Mapped Database. Retrieved November 27, 2026, from https://encyclopegia.org/wiki/lightning-memory-mapped-database
Accessed November 27, 2026 · CC BY-SA 4.0 · citation page · JSON