LMDB review
A focused embedded database for fast, durable key-value storage inside applications.
Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026
LMDB is an open-source embedded key-value database library developed by Symas for the OpenLDAP Project. It is intended for developers who need persistent storage inside an application rather than a separate database server. The library supports Windows, Linux, macOS, and other POSIX-compatible systems. Applications can access it through the C API or language bindings, with concurrent access available to threads and processes on the same host.
Its main strength is the combination of memory-mapped storage, ACID transactions, and MVCC concurrency. Readers and writers can operate concurrently, while ordered keys support range lookups and predictable traversal. Zero-copy lookup and iteration can reduce data movement between the database and application code. Cursor-based retrieval, insertion, deletion, and iteration provide a direct way to work through records, and multiple sub-databases can be kept within one environment. Optional page-level checksums and encryption support add protection options for stored data.
LMDB is a strong fit for applications that need local, durable key-value storage with a narrow NoSQL interface and direct control over the embedded database layer. It is available as open-source software with a free plan, while Symas offers separately priced support services. The platform is less suitable when an application needs built-in synchronization, a standalone database service, or relational query capabilities. Its database size is configured through the memory-map size, so deployment requires deliberate capacity planning. Choose LMDB for high-performance local storage, ordered access, and concurrent same-host workloads; choose an alternative when distributed synchronization or server-oriented operation is central to the project.
LMDB pros and cons
- Where it wins
- Persistent memory-mapped storage with ACID transactions and MVCC
- Concurrent readers and writers with ordered range lookups
- Zero-copy access, cursors, and multiple sub-databases per environment
- Where it doesn't
- No built-in synchronization support
- Runs inside applications rather than as a standalone database server
- Key-value and NoSQL access do not provide relational query features
LMDB fact sheet, pricing and score →
Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.
Last updated · How we research and update
