You can change the cluster specifications to meet your business requirements. The new specifications take effect immediately (5 to 10 minutes for each node).
Supported versions
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 can be automatically or manually scaled depending on storage types and the storage billing method. For more information, see Manually scale up the storage capacity of a cluster.
Configuration change fees
For more information, see Configuration change fees.
Usage notes
You can change the specifications of a cluster or a node in the cluster.
NoteWhen you upgrade or downgrade nodes in the cluster, make sure that at least one read-only node has the same specifications as the primary node.
Upgrading or downgrading a cluster does not affect the data stored in the cluster.
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
Log on to the PolarDB console.
In the left-side navigation pane, click Clusters. In the upper-left corner of the Clusters page, select the region in which the cluster that you want to manage is deployed.
You can use one of the following methods to go to the Change Configurations page.
Find the cluster and click Change Configurations in the Actions column.
Find the cluster, click the cluster ID, and then click Change Configurations in the Database Nodes section.
Select Upgrade or Downgrade and click OK.
NoteTemporary upgrade is supported only for subscription clusters. For more information, see Temporary upgrade.
On the Upgrade/Downgrade page, configure the parameters. The following table describes the parameters.
Parameter
Description
Specification Type
The new specification type of the cluster. Valid values: General Specification and Dedicated Specification.
Node Specification
The new node specifications that you want to use.
NoteMake sure that at least one read-only node has the same specifications as the primary node.
Switching Time
You can set the Switching Time parameter to Switch Now or Switch At.
If you select Switch At, you can specify a point in time within the next 24 hours. The configuration is automatically changed within 30 minutes after the specified point in time. On the Scheduled Tasks page, you can view the details of the task or cancel the task. For more information, see View or cancel a scheduled task.
Read and select the terms of service and then click Buy Now.
On the Purchase page, confirm the order information and click Subscribe.
NoteThe new specifications take effect within 10 minutes.
Related API operations
API | Description |
Changes the specifications of a node in a PolarDB cluster. |