Berkeley DB Documentation
The complete reference for libdb (Berkeley DB) — the embedded, transactional key/value storage engine. Generated from Markdown source by docs-src/build.py; available as HTML (here), PDF, and man pages. Version and copyright are single-sourced from docs-src/_data/site.toml + dist/RELEASE.
API reference
- C API Reference — the primary interface:
DB_ENV,DB,DBC(cursor),DBT, transactions, locking, logging, replication, and the command-line utilities. - C++ / STL API Reference — the
dbstlstandard-template- library containers and iterators backed by Berkeley DB.
Guides
- Programmer's Reference — the conceptual manual: access methods, the environment, memory pool, locking, logging, transactions, replication, XA, and tuning.
- Getting Started with Data Storage — databases, cursors, secondary indexes, the four access methods.
- Getting Started with Transactions — ACID, isolation, deadlocks, recovery, checkpoints.
- Getting Started with Replication — the replication framework and Replication Manager.
- Collections (Bindings) Tutorial — the Java-style collections/bindings API.
- Berkeley DB SQL — the SQLite-compatible SQL interface.
- Installation & Build — building on Unix, Windows, Android; configuration flags; the test suite.
- Upgrading — release-to-release upgrade notes (2.0 through 4.7 and the 11gR2 line).
- Porting — porting Berkeley DB to a new platform.
- Articles: In-Memory Databases · Message Text.
Man pages
Every public API has a section-3 man page, plus a library overview (libdb(3)). They are built to docs-build/man/man3/ (787 pages) and shipped in the release man-page tarball. Install and use like any system man page, e.g. man libdb, man db_get.
PDF downloads
Each book is also available as a PDF (see the release assets / docs-build/pdf/): api_c.pdf, api_stl.pdf, guides_programmer_reference.pdf, guides_gsg.pdf, guides_gsg_txn.pdf, guides_gsg_db_rep.pdf, guides_collections.pdf, guides_bdb-sql.pdf, guides_installation.pdf, guides_upgrading.pdf, guides_porting.pdf, guides_articles_inmemory.pdf, guides_articles_mssgtxt.pdf.
The C#/Java language-binding manuals (Sandcastle / Javadoc, not DocBook) are archived separately and are not part of this Markdown-sourced tree.