A small relational database written in Rust. Row-based, fixed-size pages on disk, Postgres-compatible SQL. Built to learn how databases work from the inside.
Each layer is its own crate, from SQL at the top down to the bytes on disk.
Clone the repo, build the workspace and open the interactive SQL shell. Then race it against a local Postgres loaded with the same data.
$ cargo build --workspace$ cargo test --workspace$ cargo run -p hamilton-cli$ cargo run --release -p bench -- --pg postgres://postgres@127.0.0.1:5432