Neki, sharded Postgres, is now available. Get started
Navigation

Control shard rollout concurrency per keyspace

You can now control how many shards in a Vitess keyspace PlanetScale updates concurrently during a configuration rollout.

Keyspaces use a default concurrency of 1. Set a value from 1 to 32 to shorten rollouts for keyspaces with many shards while choosing how many shards change at the same time.

View or update the setting with the pscale CLI:

pscale keyspace settings <database> <branch> <keyspace>
pscale keyspace update-settings <database> <branch> <keyspace> --max-rollout=4

The setting is also available as max_rollout through the update keyspace API endpoint.

Shard rollout concurrency · CLI keyspace docs · Update keyspace API