Tkrzw
An embeddable C++ library for multiple DBM key-value structures.
At a glance
- Editor scoreNot yet scored
- PricingOpen source
- Best forC++ key-value systems needing bindings
- Paid fromNone
- Data synchronizationYes
- Facts checked20 Sep 2026
Where it wins
- Multiple hash-table, B+ tree, skip-list, cache, and memory databases
- Thread-safe access, asynchronous adapter, secondary indexes, and replication adapters
- Python, Ruby, Java, and Go bindings complement the C++ library
Where it doesn't
- The interface is API-based key-value access rather than a SQL query layer
- Its primary implementation is a C++ library, with bindings for other languages
- It is a local library, not a hosted database service with subscription tiers
Our verdict on Tkrzw
Tkrzw is an open-source, embeddable C++ library for storing associative key-value records in persistent files or memory. It is aimed at developers adding local storage, indexing, caching, or other database-backed functionality directly to applications. The library presents hash-table, B+ tree, skip-list, cache, and standard-container implementations through a common DBM interface, with common Set, Get, Remove, and iterator operations. Python, Ruby, Java, and Go bindings extend its reach beyond C++ projects.
Its main strength is structural choice within a focused key-value model. Developers can select hash-table file databases, B+ tree file databases, skip-list file databases, in-memory implementations, or other listed database forms while retaining the common DBM interface. Thread-safe concurrent access supports multi-threaded applications, and the asynchronous database adapter addresses workflows that should not depend on purely synchronous access. Secondary indexes add another option for lookup design, while AES and RC4 encryption compressors, database update logging, and replication adapters cover additional storage and synchronization needs.
Tkrzw also fits projects that need an embeddable component rather than a separate database service. The published project details describe a C++ library distributed as open source, with language bindings and documentation for several languages. That makes it a practical candidate for application-local persistence and custom storage layers, especially when direct API access and multiple file-database structures matter. It is less suitable for teams seeking a hosted subscription product or a SQL-oriented interface, since its stated model is key-value and its query interface is an API. Choose Tkrzw for embedded, adaptable DBM storage; consider an alternative when managed hosting or relational querying is central.
Tkrzw pricing
Tkrzw fact sheet
| Free plan | Not verified |
|---|---|
| Paid from | None |
| Supported platforms | C++ library with Python, Ruby, Java, and Go bindings |
| Database model | Key-value |
| Query interface | Api |
| Encryption | Yes |
| Data synchronization | Yes |
| Maximum database size | Not verified |
| Deployment | Self-hosted |
| Support | Docs |
| Built for | Solo, Small business, Mid-market, Enterprise (editorial estimate) |
| Pricing | Open source |
| Website | dbmx.net |
| Facts checked | 20 Sep 2026 |
Alternatives to Tkrzw
- SQLiteA capable, zero-configuration SQL engine for applications that need local embedded storage.—
- H2 Database EngineA flexible embedded SQL engine for Java applications, with self-hosted server options.—
- FirebirdA self-hosted SQL database with replication, backups, and multiple deployment architectures.—
Used Tkrzw? Be the first to review it
The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used Tkrzw for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.
Write a reviewTwo minutes · verified accounts only · read by an editor before it appears
Featured on iTechGuides
Tkrzw is listed in our Embedded Databases directory. Add the badge to your site — it links back to this page.
<a href="https://www.itechguides.com/products/tkrzw/"><img src="https://www.itechguides.com/best/badge/tkrzw.svg" alt="Featured on iTechGuides" width="230" height="46"></a>
Guides on embedded databases
- A Closer Look at the Top 3 Embedded Databases: SQLite, RocksDB, and DuckDBAug 2026
- What Is SQLite? How the Embedded Database Works and When to Use ItAug 2026
Reviewed by iTechGuides Editors · Editorial team · Updated Sep 2026
Advertiser disclosure: iTechGuides is reader-supported. We may earn a commission when you click some links. It never changes a score or a verdict. How we rank.

