AODBM
discontinuedby 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.
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
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
Ecosystem
Alternatives to AODBM
Tiny memory-mapped B+tree with ACID transactions and lock-free readers; reached 1.0 in 2026.
aodbm vs lmdb →Heavily reworked LMDB descendant: memory-mapped ACID B+tree with auto-growing files.
aodbm vs libmdbx →The 1990s-era embedded key-value library, now Oracle-owned, AGPL-licensed and rarely updated.
aodbm vs berkeley-db →The in-process SQL engine that ships in every phone, browser and OS: one file, zero servers.
aodbm vs sqlite →Meta's embeddable LSM-tree key-value engine, the storage layer under dozens of databases.
aodbm vs rocksdb →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.
