Top 1,000 Features Creators Events Podcasts Extensions Blog Explorer CSV Download


< >

lmdb is a library created in 2011 by Howard Chu.

#520on PLDB 13Years Old
Download source code:
git clone

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.

View source

- Build the next great programming language About Resources Acknowledgements Part of the World Wide Scroll