Resize a keyspace's cluster
sharding & workflows
// what it does
Changes a keyspace's cluster size or replica count in place — vertical scaling without downtime. resize status shows the last operation's progress; resize cancel abandons a queued one.
// shell
$ pscale keyspace resize mydb main my-keyspace --cluster-size PS-80$ pscale keyspace resize status mydb main my-keyspace// gotcha
Resize before you shard: moving from PS-20 to PS-80 is an afternoon decision, while re-sharding is an architecture project. --additional-replicas adds read capacity per shard if reads, not writes, are the bottleneck.