Systems · Databases · Rust

aDaBt

A database engine that watches its workload and rebuilds its own internals to match.

Terminal output of watch_it_optimize: a grouped count over 50,000 records takes a median 24.1 ms as a heap scan before optimize() and 511 ns after it, about 47,000 times faster with identical rows

aDaBt keeps a fixed interface of collections, records and logical queries, while the physical layout underneath adapts to the traffic it actually receives: indexes, column stores, materialized views, compression and compiled hot paths.

Every change is built out of sight, checked against live queries in shadow, and rolled out gradually; none of them may change an answer, and anything that stops paying for itself is retracted. The same machinery can also be driven by hand, one optimization at a time.

It is written in Rust and is an experimental alpha: single node and held in memory.