« back published by Martin Joo on April 8, 2025
Building a database engine is available
After 12 months of intense research and development, my new book, Building a database engine is finally available! You can find out every detail here:

Not gonna lie to you. At some point, this project caused me physical pain. But I gained at least 3 years' worth of XP.
But I'm dumb. If you're smart, you can gain the same XP in two weeks.
What's inside the book?
We're building a working database storage engine from scratch. Including:
- Storage layer
- TLV encoding
- Creating databases and tables
- Insert/update/delete/select
- Write-Ahead Log (WAL)
- Data pages
- B-Tree indexes
- Buffer pools (page-level caches)
- Hash-based full-text indexes
Everything is explained and built from scratch. In Golang. Which you don't need to know.
