AODBM

discontinued

by Daniel Waterworth · since 2011 · also known as Append Only Database Manager, aodbm

Deprecated 2011 dbm-style key-value library using immutable, append-only B+trees with versioned snapshots.

key-valueembedded libraryopen source (copyleft)legacy

discontinued. Repository marked [DEPRECATED] by its author; no changes since July 2011. Use LMDB or another maintained embedded store.

Overview

AODBM (Append Only Database Manager) is a small embeddable key-value library in the tradition of dbm, written in C with a Python binding by Daniel Waterworth in 2011. Every change appends new nodes of an immutable B+tree to the file, so each committed version stays readable as a snapshot and a commit fails cleanly if it was not based on the current version, giving ACID semantics with optimistic concurrency. The design is the same copy-on-write idea used by LMDB and CouchDB's storage, in a much simpler form. The author marked the repository deprecated and it has not changed since July 2011.

Strengths & trade-offs

Strengths

  • +Immutable append-only B+tree keeps every committed version readable
  • +Optimistic commits reject writes based on stale versions
  • +Tiny C codebase that clearly illustrates copy-on-write storage

Trade-offs

  • −Deprecated and unmaintained since 2011
  • −No compaction story, so files grow without bound
  • −Single-process, single-file design with minimal tooling

Great for

  • +Studying append-only B+tree storage
  • +Teaching versioned key-value storage concepts

Think twice for

  • −Any production embedded storage

Capabilities

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

✓Transactions
✓Durable persistence
✓Time travel
–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
–Compression
–Encryption at rest
–Role-based access
–Branching
–Online schema changes
–Streaming ingest
–Offline sync
–Runs in WebAssembly

Scale & consistency

Comfortable data size
Small · ≤ 100 GB
Horizontal scaling
None
Multi-region
No
Transactions
Full ACID
Consistency
Strong
Schema
Schemaless
Architecture
Embedded
Query languages
Key-value API

Single file in a single process; the file only grows because old versions are never overwritten.

Deployment

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

Ecosystem

apis & protocolsC API, Python API
client languagesC, Python

Alternatives to AODBM

Compare all→
LMDBKey-Value39.7

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

aodbm vs lmdb →
libmdbxKey-Value4.9

Heavily reworked LMDB descendant: memory-mapped ACID B+tree with auto-growing files.

aodbm vs libmdbx →
Oracle Berkeley DBKey-Value17.0

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

aodbm vs berkeley-db →
SQLiteRelational75.5

The in-process SQL engine that ships in every phone, browser and OS: one file, zero servers.

aodbm vs sqlite →
RocksDBKey-Value48.2

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

aodbm vs rocksdb →
EhcacheKey-Value17.6

The standard embedded JVM cache, with heap, off-heap and disk tiers and optional Terracotta clustering.

aodbm vs ehcache →

AODBM FAQ

What is AODBM?

AODBM is a key-value database by Daniel Waterworth, first released in 2011. AODBM (Append Only Database Manager) is a small embeddable key-value library in the tradition of dbm, written in C with a Python binding by Daniel Waterworth in 2011. Every change appends new nodes of an immutable B+tree to the file, so each committed version stays readable as a snapshot and a commit fails cleanly if it was not based on the current version, giving ACID semantics with optimistic concurrency. The design is the same copy-on-write idea used by LMDB and CouchDB's storage, in a much simpler form. The author marked the repository deprecated and it has not changed since July 2011.

Is AODBM open source?

Yes. AODBM is open source. License: GNU LGPL v3.

Does AODBM support ACID transactions?

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

Does AODBM scale horizontally?

AODBM does not scale horizontally; it runs on a single node, so you scale it up rather than out. It is comfortable at small scale (≤ 100 GB).

How can I run AODBM?

You can embed it in your application.

What is AODBM best for?

AODBM is a strong fit for studying append-only B+tree storage and teaching versioned key-value storage concepts. Think twice for any production embedded storage.

What are the best alternatives to AODBM?

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

Is AODBM still maintained?

AODBM is discontinued. Repository marked [DEPRECATED] by its author; no changes since July 2011. Use LMDB or another maintained embedded store.

How popular is AODBM?

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