Copia DB
Jan 2026IN DEVELOPMENT
Writing a database from scratch in Go: KV engine, basic SQL layer, & core indexing structures.
Tech Stack
GolangDatabasesStorage Engines
Overview
IN DEVELOPMENT
Copia DB is a from-scratch database project in Go. I am building it as a learning vehicle to understand how storage engines, indexing, and query layers fit together in practice.
> Source code will be released soon as the project is currently in development.
The core plan is to start with a log-based KV store, then layer tables and a small SQL surface on top. From there, I am adding range queries, SSTable-style persistence, and an LSM-tree for compaction and read performance.
The goal is not a production database yet. It is a clear, readable implementation that captures the fundamentals without hiding behind heavy frameworks.