4 releases (2 breaking)

0.3.0 Mar 2, 2024
0.2.0 Feb 20, 2024
0.1.0-alpha.2 Feb 4, 2024
0.1.0-alpha.1 Feb 1, 2024

#1264 in Database interfaces

Download history 2/week @ 2024-05-29 2/week @ 2024-06-05

133 downloads per month
Used in bustubx-cli

MIT license

385KB
10K SLoC

BustubX - a relational database for educational purpose (CMU 15-445)

License Crates.io

  • Planner
  • Expression
  • Functions
  • Rule-based Optimizer
  • Volcano Executor
  • Disk Management
  • Buffer Pool
  • Table Heap
  • System Metadata (information_schema)
  • B+ Tree Index
  • Parallel Execution
  • Two Phase Locking
  • Multi-Version Concurrency Control
  • Crash Recovery
  • WASM

P.S. See here to know which sql statements are supported already.

Architecture

architecture

Get started

Install rust toolchain first.

RUST_LOG=info,bustubx=debug cargo run --bin bustubx-cli

demo

Reference

Dependencies

~6–15MB
~206K SLoC