How to increase shards using Vitess

SajMan :

I have 4 shards in 4 different physical server. -40 40-80 80-c0 c0- Now I want to add two more shards. How can I change key range and split the data.

Sugu Sougoumarane :

In Vitess you have split or merge existing shards. You do this by creating the target shards and migrating data from existing shards into the targets. This tutorial shows how to split shards: https://vitess.io/docs/user-guides/horizontal-sharding/.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=26589&siteId=1