Go Build Your Own Database from Scratch: From B+Tree To SQL in 3000 Lines Database · build-your-own.org ↗
Go Code a database in 45 steps: a series of test-driven small coding puzzles Database · trialofcode.org ↗