WhiteDB
discontinuedby Tanel Tammet and Priit Järv · since 2013 · also known as wgdb
Shared-memory C database library storing typed N-tuples, readable by many processes at once; archived.
discontinued. GitHub repo archived in 2026; maintainers no longer build releases (last stable 0.7.3, Nov 2014; 0.8.0alpha 2022).
Overview
WhiteDB is a lightweight NoSQL database library in C that keeps all data in a shared memory segment, so several processes can read and write the same database directly without a server or sockets, and the data survives after they exit. Records are N-tuples of encoded fields (integers, strings, doubles, dates, or links to other records), with T-tree indexes, a query API, logging and disk dumps for durability, Python bindings and experimental Java bindings. It was developed by Tanel Tammet and Priit Järv with an eye to RDF and rule-engine workloads. The last stable release is 0.7.3 (2014); the maintainers stopped building releases and archived the repository in 2026.
Strengths & trade-offs
Strengths
- +Many processes share one in-memory database with no server or IPC overhead
- +Data persists in shared memory even when no process is attached
- +Very small footprint, portable C, Linux and Windows support
Trade-offs
- −Archived; no further releases
- −GPLv3 licence limits embedding in closed products
- −Limited to one machine's RAM; durability depends on dumps and logs
Great for
- +Fast shared state between local processes
- +Research on in-memory RDF and reasoning
Think twice for
- −Networked or distributed access
- −New projects needing maintenance
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
- Limited ACID
- Consistency
- Strong
- Schema
- Schemaless
- Architecture
- Embedded, In memory
- Query languages
- C query API
Bounded by the size of one machine's shared memory segment.
Deployment
Ecosystem
Alternatives to WhiteDB
Tiny memory-mapped B+tree with ACID transactions and lock-free readers; reached 1.0 in 2026.
whitedb vs lmdb →The in-process SQL engine that ships in every phone, browser and OS: one file, zero servers.
whitedb vs sqlite →Embedded, transactional key-value and JSON document engine in a single C file, with Jx9 scripting.
whitedb vs unqlite →Embedded in-memory and hybrid database for devices, real-time systems and time-series analytics.
whitedb vs extremedb →The standard embedded JVM cache, with heap, off-heap and disk tiers and optional Terracotta clustering.
whitedb vs ehcache →Off-heap, memory-mapped key-value store for Java with microsecond latency and cross-process sharing.
whitedb vs chronicle-map →WhiteDB FAQ
What is WhiteDB?
WhiteDB is a key-value database by Tanel Tammet and Priit Järv, first released in 2013. WhiteDB is a lightweight NoSQL database library in C that keeps all data in a shared memory segment, so several processes can read and write the same database directly without a server or sockets, and the data survives after they exit. Records are N-tuples of encoded fields (integers, strings, doubles, dates, or links to other records), with T-tree indexes, a query API, logging and disk dumps for durability, Python bindings and experimental Java bindings. It was developed by Tanel Tammet and Priit Järv with an eye to RDF and rule-engine workloads. The last stable release is 0.7.3 (2014); the maintainers stopped building releases and archived the repository in 2026.
Is WhiteDB open source?
Yes. WhiteDB is open source. License: GNU GPL v3.
Does WhiteDB support ACID transactions?
Partly. WhiteDB offers limited ACID guarantees (for example, single-record or single-partition transactions), with strong consistency.
Does WhiteDB scale horizontally?
WhiteDB 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 WhiteDB?
You can self-host it and embed it in your application.
What is WhiteDB best for?
WhiteDB is a strong fit for fast shared state between local processes; and research on in-memory RDF and reasoning. Think twice for networked or distributed access.
What are the best alternatives to WhiteDB?
Common alternatives to WhiteDB include LMDB, SQLite, UnQLite, eXtremeDB and Ehcache. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.
Is WhiteDB still maintained?
WhiteDB is discontinued. GitHub repo archived in 2026; maintainers no longer build releases (last stable 0.7.3, Nov 2014; 0.8.0alpha 2022).
How popular is WhiteDB?
WhiteDB ranks #592 of 844 databases on the WhichDB Score (1.0/100), and #102 among key-value databases. The score combines public adoption signals such as package downloads, GitHub activity, job posts and developer discussion.

