A simple sql database written in rust.
A simple sql database written in rust. One day I was wondering about how cool databases are and how do they work internally. And what better way to learn about database internals than to build one for yourself. This is an attempt to create a very simple sql database to learn about how they work.
The project is in very early stage. The features that have been implemented:
Create Table
Command.persist
Features that are in the roadmap of the proejct:
LSM Tree && SSTable
B-Tree
The project is written in rust
, so you need it in your system. You can get started with
rust from here https://rustup.rs/. Then just clone the project and cargo run
to run it.
.tables
- prints list of tables with schema.data
- prints all rows of all tables. Useful for debugging.exit
- to exit