Sharding: Overview

What is resharding? How does it work?
Vitess supports resharding, in which the number of shards is changed on a live cluster. This can be either splitting one or more shards into smaller pieces,...
Fri, Dec 18, 2020 at 10:22 AM
How are shards named?
Shard names have the following characteristics: They represent a range, where the left number is included, but the right is not. Their notation is hex...
Thu, Dec 10, 2020 at 11:21 AM
How do reparents work in Vitess?
Reparenting is the process of changing a shard’s master tablet from one host to another or changing a replica tablet to have a different master. Reparenting...
Thu, Dec 10, 2020 at 11:21 AM
Why do auto-increment columns not work in sharded Vitess?
Auto-increment columns do not work very well for sharded tables. Vitess sequences solve this problem. Sequence tables must be specified in the VSchema and t...
Fri, Dec 18, 2020 at 10:23 AM
What does “/0” or “-”mean?
“0” or “-” indicates that the keyspace in question is unsharded. Or phrased in a slightly different manner this indicates that a single shard covers the ent...
Wed, Jun 30, 2021 at 12:12 PM