LMDB vs WiredTiger
LMDB: Tiny memory-mapped B+tree with ACID transactions and lock-free readers; reached 1.0 in 2026. WiredTiger: MongoDB's default storage engine: MVCC B-tree with compression and snapshot isolation.
key differences
- Licensing: LMDB is open source (permissive) (OpenLDAP Public License 2.8); WiredTiger is open source (copyleft) (GNU GPL v2 or v3, or MongoDB commercial license).
- Only WiredTiger has columnar storage, compression, encryption at rest, time travel.
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
choose wiredtiger for
- +Storage engine inside MongoDB
- +Embedding a transactional engine in a custom C system
- +Research on MVCC B-tree storage
best at · Embedded, OLTP
LMDB vs WiredTiger: FAQ
What is the difference between LMDB and WiredTiger?
LMDB: Tiny memory-mapped B+tree with ACID transactions and lock-free readers; reached 1.0 in 2026. WiredTiger: MongoDB's default storage engine: MVCC B-tree with compression and snapshot isolation. Licensing: LMDB is open source (permissive) (OpenLDAP Public License 2.8); WiredTiger is open source (copyleft) (GNU GPL v2 or v3, or MongoDB commercial license). Only WiredTiger has columnar storage, compression, encryption at rest, time travel.
When should I choose LMDB over WiredTiger?
Choose LMDB for read-heavy embedded indexes and caches; directory services (OpenLDAP back-mdb); and blockchain and wallet state. Choose WiredTiger for storage engine inside MongoDB, embedding a transactional engine in a custom C system and research on MVCC B-tree storage.
Is LMDB or WiredTiger more popular?
LMDB ranks #47 on the WhichDB Score (39.7/100) and WiredTiger ranks #155 (20.6/100). Popularity is not fit: check the requirements that matter for your project.
Are LMDB and WiredTiger open source?
Yes. LMDB is open source. License: OpenLDAP Public License 2.8. Yes. WiredTiger is open source. License: GNU GPL v2 or v3, or MongoDB commercial license.