You can change the cluster specifications to meet your business requirements. The new specifications take effect immediately (5 to 10 minutes for each node).
Prerequisites
You can change cluster specifications only when the cluster does not have pending specification changes.
Background information
PolarDB supports capacity scaling in three dimensions:
- Scale up or down the computing capacity: Upgrade or downgrade the specifications of the cluster. This method is detailed in the following sections.
- Scale in or out the computing capacity: Add or remove read-only nodes. For more information, see Add or remove a read-only node.
- Scale in or out storage capacity: The storage capacity is provisioned in a serverless model. As your data increases in size, the storage is automatically expanded.
Configuration change fees
For more information, see Configuration change fees.
Precautions
- You can upgrade or downgrade only clusters. You cannot upgrade or downgrade a single node in a cluster.
- When you upgrade or downgrade a cluster, data stored in the cluster is not affected.
- During the upgrade or downgrade process, your applications are temporarily disconnected from each endpoint for no more than 30 seconds. We recommend that you upgrade or downgrade your cluster during off-peak hours and make sure that your applications are configured with the automatic reconnection mechanism.
Procedure
Related API operations
Operation | Description |
---|---|
ModifyDBNodeClass | Changes the node specifications of a PolarDB cluster. |