This series follows the implementation of plan: how a kernel walks from a syntax tree to a plan tree and then to storage. It complements the site’s “read someone else’s kernel” series — here we build one.
Building a Database Kernel
From bind and planning to storage: implementation notes from a Go kernel.
- TPC-H 22/22
- 7 modules
- 260K-word build log
All posts
- Database Kernel (1): Bind Is Semantic Analysis, Not Syntax Checking2026-10-22
- Database Kernel (2): From Syntax Tree to Plan Tree — Filter Pushdown and Join Ordering2026-10-22
- Database Kernel (3): Execution — Vectors, Chunks and the Vectorized Volcano Model2026-10-22
- Database Kernel (4): Storage — Row Groups, Column Segments and Four Layers2026-10-22
- Database Kernel (5): Transactions, Timestamps and GC2026-10-22
- Database Kernel (6): WAL, Replay and Checkpoint2026-10-22