Skip to content

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

Notifications You must be signed in to change notification settings

Bipinoli/EasyPeasyDB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

EasyPeasyDB

Storage side

  • 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                                                     │    
 └────────────────────────────────────────────────────────────────────┘    

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages