This topic describes how to change the specifications of a cluster to meet your business requirements.
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:
- Vertical scaling of computing capabilities: Upgrade or downgrade the specifications of a cluster. This topic describes the details about this scaling.
- Horizontal scaling of computing capabilities: Add or remove read-only nodes. For more information, see Add or remove a read-only node.
- Horizontal scaling of storage capacity: The storage capacity is provisioned in a serverless model. As your data increases in size, the storage is automatically expanded.
This topic describes how to upgrade or downgrade the specifications of a PolarDB cluster. It takes only 5 to 10 minutes for the new specifications of each node to take effect.
Specification change fees
For more information, see Configuration change fees.
Notes
- Specification upgrades or downgrades apply to only clusters. You cannot change specifications of a node.
- Specification upgrades or downgrades do not affect the existing data in the cluster.
- We recommend that you modify cluster specifications during off-peak hours. During a specification upgrade or downgrade, the PolarDB service will be disconnected for a few seconds and some features will be disabled. Make sure that your applications can reconnect to the cluster after the disconnection.
Procedure
Related API operations
API | Description |
---|---|
ModifyDBNodeClass | Changes the node specifications of a specified PolarDB cluster. |