Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Schema migrations Remove topic Schema migrations Clear all 2 posts RSS

2022

2021

GitHub Engineering

Partitioning GitHub’s relational databases to handle scale

Case study 9 min +90 XP

GitHub split its monolithic `mysql1` MySQL cluster by first virtually partitioning tables into schema domains (declared in YAML) and enforcing boundaries with query and transaction linters, then physically moving domains to new clusters via Vitess vertical sharding or a custom ProxySQL/GTID-based write-cutover script.

The quest for software engineering knowledge.

Look:
Layout: