PolarDB allows you to change the specifications of a cluster to meet business requirements. If your PolarDB cluster does not need to handle workload fluctuations, we recommend that you manually upgrade or downgrade the cluster. This topic describes how to manually upgrade or downgrade a PolarDB cluster.

Prerequisites

  • The edition of the PolarDB for MySQL cluster is Cluster Edition. Single Node and Archive Database are not supported. For more information, see Overview.
  • No upgrade or downgrade task is being performed for the PolarDB cluster.

Billing rules

For information about the billing rules, 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.
  • An upgrade or downgrade is completed within 10 minutes. The time consumption varies based on the database loads and the numbers of databases and tables. 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.
  • A cluster upgrade or downgrade has minor impacts on the primary node of a PolarDB cluster. However, the upgrade or downgrade degrades the performance of read-only nodes in the cluster. As a result, the read-only nodes require more time to handle requests during the upgrade or downgrade process.

Procedure

  1. Log on to the PolarDB console.
  2. In the upper-left corner of the console, select the region where the cluster that you want to manage is deployed.
  3. You can open the Change Configurations dialog box by using one of the following methods:
    • Method 1
      On the Clusters page, find the cluster that you want to manage and click Change Configurations in the Actions column. Cluster list
    • Method 2
      1. On the Clusters page, click the ID of the cluster.
      2. On the Overview page, click Change Configurations in the Database Nodes section. Change specifications
  4. Select Upgrade or Downgrade based on your business requirements and click OK.
    Configuration wizard
    Note Only subscription clusters support Temporary Upgrade. For more information, see Perform a temporary cluster upgrade.
  5. On the Upgrade/Downgrade page, select a node specification, specify Switching Time, read and accept the terms of service, and then click Buy Now.
    Note
    • All nodes in a cluster use the same specifications.
    • You can specify Switching Time only after you select Upgrade or Downgrade. If you select Temporary Upgrade, you cannot specify Switching Time.
    • You can set Switching Time to Switch Now or Switch At. If you select Switch At, you can specify a point in time within the following 24 hours. Your cluster will be upgraded or downgraded within 30 minutes after the specified point in time. You can view the details about the scheduled task on the Scheduled Tasks page, or cancel the task. For more information, see View or cancel a scheduled task.
  6. On the Purchase page, confirm the order information and click Purchase.
    Note The upgrade or downgrade task is completed within 10 minutes. The time consumption varies based on the database loads and the numbers of databases and tables. 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.

Related API operations

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