Lightning Memory-Mapped Database Manager (LMDB) 1.0
This technical overview introduces LMDB 1.0, a high-performance, memory-mapped database library. It details the library's ACID compliance, thread-safety, and unique architectural approach that avoids traditional caching and logging overhead.
Why it matters
LMDB is a foundational technology for many software systems, and this release represents a significant update for developers requiring efficient data storage.
LMDB is a Btree-based database management library modeled loosely on the BerkeleyDB API, but much simplified. The entire database is exposed in a memory map, and all data fetches return data directly from the mapped memory, so no malloc's or memcpy's occur during data fetches. As such, the library is extremely simple because it requires no page caching layer of its own, and it is extremely high performance and memory-efficient. It is also fully transactional with full ACID semantics, and when the memory map is read-only, the database integrity cannot be corrupted by stray pointer writes from application code.
The content is purely technical documentation and factual reporting on software features.
Get smarter about the news
Sign up free for a feed built around what you actually care about, Dive Deeper research on any story, and the full text of every article.
Create free accountAlready have an account? Sign in