WhiteDB

discontinued

by 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.

key-valueembedded libraryopen source (copyleft)legacy

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

✓Secondary indexes
✓In-memory
✓Durable persistence
–Transactions
–Joins
–Full-text search
–Vector search
–Geospatial
–JSON
–Change data capture
–Triggers
–Stored procedures
–Materialized views
–TTL / expiry
–Pub/Sub
–Columnar storage
–Compression
–Encryption at rest
–Role-based access
–Time travel
–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
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

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

Ecosystem

apis & protocolsC API, Python API
client languagesC, Python, Java

Alternatives to WhiteDB

Compare all→
LMDBKey-Value39.7

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

whitedb vs lmdb →
SQLiteRelational75.5

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

whitedb vs sqlite →
UnQLiteKey-Value4.1

Embedded, transactional key-value and JSON document engine in a single C file, with Jx9 scripting.

whitedb vs unqlite →
eXtremeDBKey-Value4.0

Embedded in-memory and hybrid database for devices, real-time systems and time-series analytics.

whitedb vs extremedb →
EhcacheKey-Value17.6

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

whitedb vs ehcache →
Chronicle MapKey-Value8.7

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.