An open API service indexing awesome lists of open source software.

https://github.com/bipinoli/easypeasydb

Simple B-tree based SQL database made for fun :)
https://github.com/bipinoli/easypeasydb

b-tree sql-database

Last synced: 7 months ago
JSON representation

Simple B-tree based SQL database made for fun :)

Awesome Lists containing this project

README

          

# EasyPeasyDB

### Storage side
- [X] B-tree index
- [ ] B+ tree table
- [ ] Pager

### Compiler side
- [ ] Tokenzier
- [ ] Parser
- [ ] Code-gen

### Possible additions (not in current scope)
- Transactions
- Query optimization (join-ordering, etc)
- Durability & ACID compliance

## Planned architecture



┌────────────────────────────────────────────────────────────────────┐
│ SQL compiler │
│ │
│ ┌───────────────┐ ┌─────────────┐ ┌─────────────────┐ │
│ │ │ │ │ │ │ │
│ │ │ │ │ │ │ │
│ │ Tokenizer │ │ Parser │ │ Code Generator │ │
│ │ │ │ │ │ │ │
│ └───────────────┘ └─────────────┘ └─────────────────┘ │
│ │
└────────────────────────────────────────────────────────────────────┘

┌────────────────────────────────────────────────────────────────────┐
│ │
│ ┌───────────────┐ ┌────────────┐ ┌─────────────┐ │
│ │ │ │ │ │ │ │
│ │ B-tree │ │ Pager │ │OS-interface │ │
│ │ │ │ │ │ │ │
│ └───────────────┘ └────────────┘ └─────────────┘ │
│ │
│ Storage engine │
└────────────────────────────────────────────────────────────────────┘