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

  1. Log on to the PolarDB console.
  2. In the upper-left corner of the console, select the region in which the cluster that you want to manage is deployed.
  3. You can use one of the following methods to go to the Change Configurations (Subscription) page.
    • Find the cluster and click Change Configurations in the Actions column. Clusters
    • Find the cluster, click the cluster ID, and then click Change Configurations in the Database Nodes section. Change specifications
  4. Select Upgrade or Downgrade and click OK.
    Change Configurations
  5. Select specifications.
    Note All nodes in a cluster use the same specifications.
  6. Read the service agreement, select the check box, and then click Buy Now.
  7. On the Purchase page, confirm the order information and click Purchase.
    Note The new specifications take effect within 10 minutes.

Related API operations

Operation Description
ModifyDBNodeClass Changes the node specifications of a PolarDB cluster.