WiredTiger

active

by MongoDB Inc. · since 2010 · also known as WT

MongoDB's default storage engine: MVCC B-tree with compression and snapshot isolation.

key-valuecolumnar / olapembedded libraryopen source (copyleft)mature

Overview

WiredTiger is a high-performance embeddable storage engine created by the authors of Berkeley DB and acquired by MongoDB in 2014; it has been MongoDB's default engine since 3.2. It provides row-store and column-store B-trees with document-level concurrency control, multi-version snapshot isolation, block compression, checkpoints plus a write-ahead log, and hooks for encryption. Development is driven by MongoDB's needs and it is now tagged alongside MongoDB server releases, with standalone releases last cut in 2024. It can be embedded directly, but the community outside MongoDB is small.

Strengths & trade-offs

Strengths

  • +Document-level (record-level) concurrency with MVCC snapshot isolation
  • +Block compression (snappy, zlib, zstd) and prefix compression
  • +Timestamp-based reads that power MongoDB's majority reads and transactions
  • +Row and column store formats in one engine

Trade-offs

  • −Roadmap is driven entirely by MongoDB
  • −GPL license complicates embedding in proprietary products
  • −Cache-pressure and eviction tuning can be tricky
  • −Little standalone documentation and community

Great for

  • +Storage engine inside MongoDB
  • +Embedding a transactional engine in a custom C system
  • +Research on MVCC B-tree storage

Think twice for

  • −Teams wanting a permissively licensed embeddable engine
  • −Non-C stacks
  • −Simple key-value needs (LMDB, RocksDB are easier)

Capabilities

Native or official first-party support · 6 of 25 tracked

✓Transactions
✓Columnar storage
✓Durable persistence
✓Compression
✓Encryption at rest
✓Time travel
–Joins
–Secondary indexes
–Full-text search
–Vector search
–Geospatial
–JSON
–Change data capture
–Triggers
–Stored procedures
–Materialized views
–TTL / expiry
–Pub/Sub
–In-memory
–Role-based access
–Branching
–Online schema changes
–Streaming ingest
–Offline sync
–Runs in WebAssembly

Scale & consistency

Comfortable data size
Medium · ≤ 10 TB
Horizontal scaling
None
Multi-region
No
Transactions
Full ACID
Consistency
Strong
Schema
Schemaless
Architecture
Embedded
Query languages
C API

Single-process engine; scales to multi-TB per MongoDB node.

Deployment

Self-hosted Vendor-managed cloud Serverless Embedded Edge Kubernetes operator

Ecosystem

apis & protocolsC API, Python bindings
client languagesC, Python, Java
used byMongoDB

Alternatives to WiredTiger

Compare all→
RocksDBKey-Value48.2

Meta's embeddable LSM-tree key-value engine, the storage layer under dozens of databases.

wiredtiger vs rocksdb →
LMDBKey-Value39.7

Tiny memory-mapped B+tree with ACID transactions and lock-free readers; reached 1.0 in 2026.

wiredtiger vs lmdb →
Oracle Berkeley DBKey-Value17.0

The 1990s-era embedded key-value library, now Oracle-owned, AGPL-licensed and rarely updated.

wiredtiger vs berkeley-db →
MongoDBDocument80.5

The default document database: flexible BSON documents, rich queries and built-in sharding.

wiredtiger vs mongodb →
TidesDBKey-Value13.7

Young C storage-engine library: transactional LSM with MVCC, column families and TTL.

wiredtiger vs tidesdb →
Microsoft AccessRelational45.8

Desktop database and forms builder bundled with Microsoft 365; still everywhere in back offices.

wiredtiger vs microsoft-access →

WiredTiger FAQ

What is WiredTiger?

WiredTiger is a key-value database by MongoDB Inc., first released in 2010. WiredTiger is a high-performance embeddable storage engine created by the authors of Berkeley DB and acquired by MongoDB in 2014; it has been MongoDB's default engine since 3.2. It provides row-store and column-store B-trees with document-level concurrency control, multi-version snapshot isolation, block compression, checkpoints plus a write-ahead log, and hooks for encryption. Development is driven by MongoDB's needs and it is now tagged alongside MongoDB server releases, with standalone releases last cut in 2024. It can be embedded directly, but the community outside MongoDB is small.

Is WiredTiger open source?

Yes. WiredTiger is open source. License: GNU GPL v2 or v3, or MongoDB commercial license.

Does WiredTiger support ACID transactions?

Yes. WiredTiger supports full ACID transactions, with strong consistency.

Does WiredTiger scale horizontally?

WiredTiger does not scale horizontally; it runs on a single node, so you scale it up rather than out. It is comfortable at medium scale (≤ 10 TB).

How can I run WiredTiger?

You can self-host it and embed it in your application.

What is WiredTiger best for?

WiredTiger is a strong fit for storage engine inside MongoDB, embedding a transactional engine in a custom C system and research on MVCC B-tree storage. Think twice for teams wanting a permissively licensed embeddable engine.

What are the best alternatives to WiredTiger?

Common alternatives to WiredTiger include RocksDB, LMDB, Oracle Berkeley DB, MongoDB and TidesDB. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.

How popular is WiredTiger?

WiredTiger ranks #155 of 844 databases on the WhichDB Score (20.6/100), and #20 among key-value databases. The score combines public adoption signals such as package downloads, GitHub activity, job posts and developer discussion.