# TidesDB: A High-Performance Embeddable Storage Engine in C

This repository profile is provided by osrepos.com, an open source repository discovery platform.

Source: osrepos.com
Repository profile: https://osrepos.com/repo/tidesdb-tidesdb
Generated for open source discovery and AI-assisted research.

TidesDB is a high-performance, adaptive, and durable embeddable storage engine library written in C. It is built on a log-structured merge-tree (LSM-tree) and offers ACID transactions with MVCC, multi-column family support, and cross-platform compatibility. Designed for flash and RAM optimization, TidesDB provides a robust foundation for building scalable key-value or column stores.

GitHub: https://github.com/tidesdb/tidesdb
OSRepos URL: https://osrepos.com/repo/tidesdb-tidesdb

## Summary

TidesDB is a high-performance, adaptive, and durable embeddable storage engine library written in C. It is built on a log-structured merge-tree (LSM-tree) and offers ACID transactions with MVCC, multi-column family support, and cross-platform compatibility. Designed for flash and RAM optimization, TidesDB provides a robust foundation for building scalable key-value or column stores.

## Topics

- C
- storage-engine
- embeddable
- database
- lsm-tree
- acid
- multi-platform
- key-value store

## Repository Information

Last analyzed by OSRepos: Tue Jun 09 2026 12:33:54 GMT+0100 (Western European Summer Time)
Detail views: 0
GitHub clicks: 3

## Safety Notice

OSRepos shares public repositories for knowledge and discovery only. Review source code, dependencies, licenses, and security implications before running or installing anything.

## Content

## Introduction
TidesDB is a fast and efficient key-value storage engine library implemented in C. It leverages a log-structured merge-tree (LSM-tree) as its underlying data structure, providing high-performance, adaptive, durable, and transactional capabilities. While not a full-featured database, TidesDB serves as a powerful library for developers to build custom database solutions or utilize it as a standalone key-value/column store, optimized for flash and RAM.

## Installation
To get started with TidesDB, including instructions for building and benchmarking, please refer to the official documentation: [Building & Benchmarking TidesDB](https://tidesdb.com/reference/building/)

## Examples
For detailed C usage documentation and examples on how to integrate TidesDB into your projects, consult the [TidesDB C Reference](https://tidesdb.com/reference/c/).

## Why Use TidesDB?
TidesDB stands out with a comprehensive set of features designed for demanding storage needs:
*   **ACID Transactions with MVCC**: Supports 5 isolation levels, including Serializable Snapshot Isolation (SSI), with savepoints and read-your-own-writes semantics.
*   **Multi-Column Family Support**: Provides isolated key-value stores with independent configurations and atomic transactions across them.
*   **Hybrid and Adaptive Compaction**: Offers various compaction modes, Dynamic Capacity Adaptation (DCA), and dynamic level management for optimal performance and space.
*   **Automatic Crash Recovery**: Reconstructs memtables from write-ahead log (WAL) files on startup, ensuring data integrity.
*   **Key-Value Separation**: Implements WiscKey-style separation for small and large values, reducing write amplification.
*   **TTL Support**: Enables automatic key-value expiration, handled during reads and compaction.
*   **Cross-Platform Compatibility**: Fully supports Linux, macOS, Windows, BSD, and Solaris/Illumos across x86, ARM, RISC-V, and PowerPC architectures, with file portability.
*   **Clean C API**: Offers a straightforward C API with clear error codes and configurable debug logging.

## Links
Explore TidesDB further with these official resources:
*   **What is TidesDB?**: [https://tidesdb.com/getting-started/what-is-tidesdb/](https://tidesdb.com/getting-started/what-is-tidesdb/)
*   **Building & Benchmarking**: [https://tidesdb.com/reference/building/](https://tidesdb.com/reference/building/)
*   **C Reference**: [https://tidesdb.com/reference/c/](https://tidesdb.com/reference/c/)
*   **Discord Community**: [https://discord.gg/tWEmjR66cy](https://discord.gg/tWEmjR66cy)