Databases are not black boxes. Understand them by coding your own from scratch! A walkthrough of a minimal persistent database implementation. We start with a B-Tree, then add a new concept with each chapter, and eventually go from a simple KV to a mini relational DB. Covers three important