Skip to main content

CatDb

A high-performance ordered key-value database for .NET, powered by a write-optimized Waterfall Tree.

Current release: v2.0.3

dotnet add package CatDb --version 2.0.3

using var engine = CatDb.Database.CatDb.FromFile("app.catdb");

var table = engine.OpenXTable<long, Tick>("ticks");
table[1] = new Tick("MSFT", DateTime.UtcNow, 410.5);

engine.Commit();

Ordered tables

Open typed tables, write records by key, and scan them in key order with forward and backward navigation.

Waterfall Tree engine

Writes are buffered and cascaded through a WTree, a write-optimized W-tree variant designed for random-key workloads.

Local or server

Use CatDb directly from a file, memory, stream, heap, or through the CatDb.Server HTTP and TCP layers.