tidesdb

tidesdb: Transactional LSM-Tree Storage Engine in C

TidesDB is a C library for transactional key-value storage built on an LSM-tree, with a hybrid B-tree design. It is intended for embedding in applications or using as a standalone key-value or column store, and supports Linux, macOS, Windows, and other platforms.

Stars
602
Forks
59
Stars, last 30 days
+11
Last commit
5 days ago
Contributors
18

Our take

Activeregular commits and releases

Health score

65/100

How it is scored
Activity
90
Community
30
Issues
71
Pull requests
69

+11 stars in the last 30 days

  • Releases more often than 93% of the projects we track

TidesDB is an actively maintained C storage library with a broad transactional feature set, though its development is heavily concentrated in one contributor.

Good fit if

  • You need an embeddable C engine with transactional key-value or column-family storage.
  • You want LSM-tree-based storage with ordered scans, configurable compression, and durability options.
  • Your project can use a library rather than relying on a full-featured database server.

Look elsewhere if

  • You need a ready-to-run database product rather than a storage engine to integrate or operate as a key-value store.
  • Your team requires development responsibility to be spread across multiple contributors.
All health signals
Last commit2026-10-17 (5 days ago)
Commits, last 90 days100+
Releases, last 12 months100+ (latest v10.2.1, 2026-10-12)
Contributors18 (top contributor: 97% of commits)
Issues closed, last 90 days8 (typically closed in 1 day)
Pull requests merged, last 90 days24 (typically merged in 0 days)
Project age2 years

Checked on 2026-10-22 with the GitHub API.

Project history

Daily GitHub snapshots since Oct 7, 2026. History covers stars and forks; health signals are not tracked historically.

Selected snapshot

Stars

610

Forks

59

Change since Nov 16, 2026: 0 stars·0 forks

Overview

TidesDB is a transactional key-value storage engine library written in C and built on an LSM-tree, with a hybrid LSM-tree and B-tree design. It provides durable storage for applications that need to manage data directly, rather than a full-featured database server.

The project presents itself as suitable for embedding in another database or application, or for use as a standalone key-value or column store. It targets Linux, macOS, Windows, BSD variants, Solaris/Illumos, and multiple processor architectures, including x86, ARM, RISC-V, and PowerPC.

Key Features

  • ACID transactions with MVCC, five isolation levels, and 2PC-XA support.
  • Column families, key-value separation, and range deletes.
  • Ordered bidirectional iteration and range-bounded scans.
  • Configurable compression using Snappy, LZ4, and Zstandard.
  • Partitioned bloom filters and TTL support.
  • Configurable durability modes, from no sync to full sync.
  • Statistics and metrics, with crash-safe durable storage.

Use Cases

  • Application developers who need transactional key-value storage embedded in a C program.
  • Database builders looking for a storage engine to use beneath a higher-level database interface.
  • Teams implementing a column store that needs column families, ordered scans, and range deletes.
  • Cross-platform software that needs a portable storage layer across desktop and server operating systems.

What you need

Detected in the repository

  • C (main language on GitHub)
  • A test suite and automated checks on GitHub Actions

License in plain words

MPL-2.0weak copyleft

  • Commercial use: yes
  • Modify and redistribute: yes
  • You must keep: the license notice
  • Share your changes: yes, changes to MPL-licensed files, when you distribute them
  • Includes an explicit patent grant from the contributors:

A summary, not legal advice: the LICENSE file is what applies.

Getting Started

See the README for build instructions and API usage.

Alternatives

  • filedb: FileDB is a Zig Bitcask-style store with append-only files and an in-memory index, unlike TidesDB's C, transactional LSM-tree and hybrid B-tree design.
ProjectLanguageLicenseStarsStatus
tidesdbCMPL-2.0602Active
filedbZig–198Inactive

Considerations

TidesDB is a library, not a full-featured database, so applications that need a complete database experience may need to build additional capabilities around it. Its license is MPL-2.0, and the README notes that dependencies have their own license terms. The project supports many platforms and architectures, but teams should verify their specific target and dependency requirements before adopting it.

Found this useful?

Share it with someone who would like tidesdb.

Comparisons