GitHub

Partitioning GitHub’s relational databases to handle scale

GitHub broke up mysql1, the single cluster behind most of its core features, by grouping tables into schema domains, enforcing their boundaries with SQL linters, and moving them to new clusters. The result was a 50%…

The problem
Most of GitHub’s core data lived in a single MySQL cluster, mysql1.
What they did
Tables were grouped into schema domains, boundaries enforced with SQL linters, then moved to new clusters.
The result
50% less load on the hosts that held mysql1 data, and fewer database incidents.

Why read it How to split a monolithic database without rewriting the application first.

Summarised from the original source by Informa AI. The full story, and every claim in it, belongs to the publisher.

Explore all Curiosity Cards →