Why VibeSQL?
Hybrid Storage
Both row and columnar storage in one engine. Row format for fast point lookups and OLTP. Columnar format for analytical scans with vectorized execution. No need to choose.
Speed Over Storage
Deliberately trades disk space for query performance. Redundant storage layouts, aggressive caching, and precomputed indexes mean smaller databases run as fast as possible.
Pure Rust, Zero Unsafe
Written entirely in safe Rust. No C dependencies, no FFI, no unsafe blocks. Compiles to native binaries and WebAssembly from the same codebase.
Architecture
Query Pipeline
Key Features
- ✓ Window functions (ROW_NUMBER, RANK, LEAD/LAG, NTILE, ...)
- ✓ Common Table Expressions (WITH, recursive CTEs)
- ✓ Subqueries (correlated, EXISTS, IN, scalar)
- ✓ Full JOIN support (INNER, LEFT, RIGHT, FULL, CROSS, NATURAL)
- ✓ Triggers, views, foreign keys, CHECK constraints
- ✓ WASM target with OPFS persistent storage
Performance
Full benchmarks →Benchmarked against SQLite, DuckDB, and MySQL on equivalent workloads. See full results.
Get Started
Interactive Demo
Run SQL queries in your browser. Full database engine compiled to WebAssembly with persistent storage via OPFS. No installation required.
Install
cargo install vibesql-cli
cargo add vibesql