Vitess: Scaling MySQL Horizontally
Shriira Press
Scale MySQL to massive size without leaving MySQL — transparent sharding, online resharding, and clustering.
Welcome to Vitess: Scaling MySQL Horizontally.
Vitess is a database clustering system that makes MySQL scale horizontally: it sits in front of many MySQL instances and presents them as one large database, handling sharding, routing, and operations — so you scale MySQL massively while keeping the MySQL you know. This free book teaches it from the ground up: the MySQL scaling problem and sharding fundamentals, Vitess's architecture (VTGate, VTTablet, topology, vtctld), keyspaces/shards and the data model, query routing and the VSchema with vindexes, online resharding with VReplication (zero downtime), connection pooling and transactions, high availability/failover/backups, Vitess on Kubernetes and the ecosystem (MySQL compatibility, PlanetScale), and operating Vitess in production. Ten focused chapters with clear diagrams that show how Vitess scales MySQL transparently — sharding, resharding online, and clustering — without giving up MySQL.
This title is part of the ShriIra library and is free to read in full, right here — our small contribution to making world-class knowledge easy to reach.
A note on reading it: open the Contents menu at the top of the reader to jump between chapters, use the Aa menu to set a comfortable text size, theme (light, sepia, or night), and single- or two-page layout. Your place is saved automatically, so you can always pick up where you left off.
We hope it serves you well.
— Shriira Press