问题
I have created an unsharded keyspace with three tables. Now I would like to shard my keyspace for first two tables but don't want to shard the third table.
How can this be done? Vitess documentation does not contain any info or example regarding this. Please help.
Thanks!
回答1:
Vertical sharding in vitess is similar to horizontal sharding. You should use the vtworker VerticalSplitClone command instead of SplitClone.
We plan to fix the documentation to explain this, hopefully soon.
来源:https://stackoverflow.com/questions/47022988/how-to-shard-only-specific-tables-using-vitess