PS-DEV it must be demoted to development first.
When a development branch is promoted it will automatically select the next size
up (PS-5) however you can choose a larger size if needed.
Promote a branch
On the branch page, select Promote to production in the cluster card. From the dialog, choose a cluster size and a replica count for the default shard configuration profile. It will default toPS-5 unless the branch is
already on a production size.
0 replicas is a single node. 2 to 8 is high availability. Metal sizes
need at least 2 replicas.
Promotion also:
- Adds a weekly maintenance window.
- Makes this branch the default if the current default is a development branch.
Demote a branch
Select Demote to development in the cluster card. When demoting a branch, you can keep the current size or choose another one, includingPS-DEV. PS-DEV is a single node, so the replica count becomes 0.
Demotion removes the weekly maintenance window. Roles and passwords stay the
same.
You cannot demote a branch that has a
dedicated read replica. A Scaler
Pro database also cannot demote its last production branch.
Changing the cluster size restarts the database. Direct connections and
connections through the local PgBouncer close.
Dedicated primary PgBouncer
connections stay open. Leaving the size unchanged does not restart the
database.
CLI
--cluster-size and --replicas are optional. Leave one out to keep the
current value. A PS-DEV branch moves to PS-5 when you omit
--cluster-size. Demote allows PS-DEV.
Changing the size or the replica count also needs permission to update the
database. See the CLI reference.

