Sophia
discontinuedby Dmitry Simonenko · since 2013 · also known as Sophia storage engine
Embeddable C key-value/row storage library with MVCC and serializable snapshot isolation; no longer developed.
discontinued. README states it is no longer developed; last release 2.2 (August 2016). Use RocksDB, LMDB or Fjall for embedded storage.
Overview
Sophia is a small, dependency-free C library by Dmitry Simonenko implementing a RAM-disk hybrid storage engine. It is append-only, uses MVCC with optimistic concurrency for many writers and readers, supports multi-statement transactions across several databases that share one write-ahead log, and offers serializable snapshot isolation, upsert, prefix search, key expiry, hot backup and lz4/zstd compression behind a minimal FFI-friendly API. The last release was 2.2 in August 2016, and the README now states the project is no longer developed, while pointing to the author's newer Amelia and Monotone engines that inherit its ideas. It is worth reading for storage-engine design, not for new deployments.
Strengths & trade-offs
Strengths
- +Full ACID with serializable snapshot isolation in a tiny embeddable library
- +Multi-statement transactions across several databases sharing one WAL
- +Append-only design with multi-threaded compaction and lz4/zstd compression
- +Amalgamated single-file build with an FFI-friendly C API
Trade-offs
- −No longer developed; last release in 2016
- −Few maintained language bindings
- −Much smaller user base and test history than RocksDB or LMDB
Great for
- +Studying modern storage engine design
- +Legacy embedded projects that already depend on it
Think twice for
- −New production systems that need maintained storage
Capabilities
Native or official first-party support · 4 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
- C API
Deployment
Ecosystem
Alternatives to Sophia
Meta's embeddable LSM-tree key-value engine, the storage layer under dozens of databases.
sophia vs rocksdb →Tiny memory-mapped B+tree with ACID transactions and lock-free readers; reached 1.0 in 2026.
sophia vs lmdb →Google's original small, fast LSM key-value library, now in limited-maintenance mode.
sophia vs leveldb →Cockroach Labs' Go LSM engine, inspired by RocksDB and tuned for CockroachDB.
sophia vs pebble →Log-structured, embeddable key-value engine in pure Rust with keyspaces and transactions.
sophia vs fjall →MongoDB's default storage engine: MVCC B-tree with compression and snapshot isolation.
sophia vs wiredtiger →Sophia FAQ
What is Sophia?
Sophia is a key-value database by Dmitry Simonenko, first released in 2013. Sophia is a small, dependency-free C library by Dmitry Simonenko implementing a RAM-disk hybrid storage engine. It is append-only, uses MVCC with optimistic concurrency for many writers and readers, supports multi-statement transactions across several databases that share one write-ahead log, and offers serializable snapshot isolation, upsert, prefix search, key expiry, hot backup and lz4/zstd compression behind a minimal FFI-friendly API. The last release was 2.2 in August 2016, and the README now states the project is no longer developed, while pointing to the author's newer Amelia and Monotone engines that inherit its ideas. It is worth reading for storage-engine design, not for new deployments.
Is Sophia open source?
Yes. Sophia is open source. License: BSD 2-Clause License.
Does Sophia support ACID transactions?
Yes. Sophia supports full ACID transactions, with strong consistency.
Does Sophia scale horizontally?
Sophia 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 Sophia?
You can self-host it and embed it in your application.
What is Sophia best for?
Sophia is a strong fit for studying modern storage engine design and legacy embedded projects that already depend on it. Think twice for new production systems that need maintained storage.
What are the best alternatives to Sophia?
Common alternatives to Sophia include RocksDB, LMDB, LevelDB, Pebble and Fjall. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.
Is Sophia still maintained?
Sophia is discontinued. README states it is no longer developed; last release 2.2 (August 2016). Use RocksDB, LMDB or Fjall for embedded storage.
How popular is Sophia?
Sophia ranks #531 of 844 databases on the WhichDB Score (1.6/100), and #86 among key-value databases. The score combines public adoption signals such as package downloads, GitHub activity, job posts and developer discussion.

