ForgeDB
RELATIONAL DATABASE ENGINE FROM SCRATCH"Built a relational database engine from scratch, implementing disk storage, buffer pool caching, B+ tree indexing, SQL parsing, query execution, and query planning."
Core Components
- Disk storage & Buffer pool page caching
- B+ tree index & SQL parser / executor
- Query optimization & cost-based planning
Transaction Model
- NO-STEAL / NO-FORCE / REDO-ONLY semantics
- Supports BEGIN, COMMIT, ROLLBACK
- ACID compliance guarantees
WAL & Crash Recovery
- Write-Ahead Logging with CRC32 & pageLSN
- Committed-transaction REDO algorithm
- Truncation-safe replay & B+ tree index rebuild