QuillSQL: an educational relational database in Rust (CMU15445-inspired, live demo)
⚓ Rust 📅 2026-01-06 👤 surdeus 👁️ 2I’ve been building QuillSQL, a small educational/research-oriented relational database in Rust. The architecture is inspired by BusTub (a clean parser → executor → storage layering), and the goal is hands-on learning + fast prototyping of DB internals.
Current features:
- A practical subset of SQL (DDL/DML, joins, aggregates)
- B+-tree indexing (with a basic buffer pool) — works well for range queries
- Basic transactions: BEGIN / COMMIT / ROLLBACK
- EXPLAIN to inspect query plans
- CLI + server (and a live demo)
Links:
- Live demo: https://quillsql.fly.dev
- GitHub: GitHub - feichai0017/QuillSQL: An educational Rust relational database (RDBMS) inspired by CMU 15445
Quick start:
cargo run --bin server
cargo run --bin client
I’d love feedback—especially on:
executor/operators (joins, aggregates)
index & buffer pool design
plan / EXPLAIN formatting and ergonomics
“Rusty” architecture improvements (traits/modules/error handling, etc.)
Issues/PRs are welcome (happy to tag “good first issue”). And if you find it useful, a
helps a lot. Thanks!
1 post - 1 participant
🏷️ Rust_feed