vs

libmdbx vs LMDB

libmdbx: Heavily reworked LMDB descendant: memory-mapped ACID B+tree with auto-growing files. LMDB: Tiny memory-mapped B+tree with ACID transactions and lock-free readers; reached 1.0 in 2026.

key differences

  • These two are very similar on paper. Compare ecosystems, pricing and team familiarity.

choose libmdbx for

  • +Blockchain node state and indexes
  • +Read-heavy embedded storage needing LMDB semantics
  • +Replacing LMDB where auto-resizing is needed

best at · Embedded, Metadata

choose lmdb for

  • +Read-heavy embedded indexes and caches
  • +Directory services (OpenLDAP back-mdb)
  • +Blockchain and wallet state
  • +ML dataset storage with fast random reads

best at · Embedded, Metadata, Local-first

overview
Primary model
Key-Value
Key-Value
Also supports
–
–
Type
Embedded library
Embedded library
Status
Active
Active
Developer
Leonid Yuriev
Symas Corporation / OpenLDAP Project
First release
2015
2011
Latest version
0.14.4 (Sep 19, 2026)
1.0.2 (Sep 8, 2026)
License
Open source (permissive)Apache License 2.0
Open source (permissive)OpenLDAP Public License 2.8
Free tier
✓
✓
popularity
WhichDB Score
4.9
39.7
Rank
#394
#47
GitHub stars
1.5K
3.1K
Stack Overflow questions
–
260
scale & guarantees
Comfortable data size
Medium (≤ 10 TB)
Medium (≤ 10 TB)
Horizontal scaling
None
None
Multi-region
None
None
ACID
Full
Full
Consistency
Strong
Strong
Schema
Schemaless
Schemaless
Architecture
Embedded
Embedded
deployment
Self-hosted
✓
✓
Vendor-managed cloud
—
—
Serverless
—
—
Embedded
✓
✓
Edge
—
—
Clouds
–
–
capabilities
Transactions
✓
✓
Joins
—
—
Secondary indexes
—
—
Full-text search
—
—
Vector search
—
—
Geospatial
—
—
JSON
—
—
Change data capture
—
—
Triggers
—
—
Stored procedures
—
—
Materialized views
—
—
TTL / expiry
—
—
Pub/Sub
—
—
Columnar storage
—
—
In-memory
—
—
Durable persistence
✓
✓
Compression
—
—
Encryption at rest
—
—
Role-based access
—
—
Time travel
—
—
Branching
—
—
Online schema changes
—
—
Streaming ingest
—
—
Offline sync
—
—
Runs in WebAssembly
—
—
interfaces
Query languages
C API
C API
Client languages
C, C++, Rust, Go, Python, JavaScript
C, C++, Python, Go, Rust, Java, JavaScript
Best for
Embedded, Metadata
Embedded, Metadata, Local-first

libmdbx vs LMDB: FAQ

What is the difference between libmdbx and LMDB?

libmdbx: Heavily reworked LMDB descendant: memory-mapped ACID B+tree with auto-growing files. LMDB: Tiny memory-mapped B+tree with ACID transactions and lock-free readers; reached 1.0 in 2026.

When should I choose libmdbx over LMDB?

Choose libmdbx for blockchain node state and indexes; read-heavy embedded storage needing LMDB semantics; and replacing LMDB where auto-resizing is needed. Choose LMDB for read-heavy embedded indexes and caches; directory services (OpenLDAP back-mdb); and blockchain and wallet state.

Is libmdbx or LMDB more popular?

LMDB ranks #47 on the WhichDB Score (39.7/100) and libmdbx ranks #394 (4.9/100). Popularity is not fit: check the requirements that matter for your project.

Are libmdbx and LMDB open source?

Yes. libmdbx is open source. License: Apache License 2.0. Yes. LMDB is open source. License: OpenLDAP Public License 2.8.