← projects

miniDB

Building a small storage engine from scratch in Go to get a grip on database internals.

Stack
Go
Status
active
Date

Overview

An ongoing project to learn database internals by building one. miniDB is a small storage engine written in Go, starting from the lowest layer and working up.

The goal

Understand what actually happens below the query: how data is laid out in pages on disk, how a heap file stores records, and how those pieces fit together into something that can store and fetch data reliably.

Status

Active and early. I'll write up what I learn as each layer comes together.