Article may be outdated

This article is 50 days old. Some details may have changed since publication.

Hacker News·4 min read·hard

Lightning Memory-Mapped Database Manager (LMDB) 1.0

R
radiator
AI Summary

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.

Dive DeeperCreate a free account to unlock

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.

Continue reading on Headlinne

Create a free account to read the full article.

Read full article →
technologyscience
Political Bias
Center
LeftLean LCenterLean RRight
Confidence: 90%

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 account

Already have an account? Sign in