PolarDB allows you to perform temporary upgrades on subscription clusters. You can perform a temporary upgrade to handle traffic spikes that last for less than seven days.

Prerequisites

  • The cluster is a subscription cluster.
  • The cluster does not have pending renewal, upgrade, downgrade, or temporary upgrade orders.
  • The edition of the PolarDB for MySQL cluster is Cluster Edition. Single Node and Archive Database are not supported. For more information, see Overview.

Background information

You can temporarily upgrade the specifications of a PolarDB cluster to improve the cluster performance. When the rollback time is reached, the cluster is automatically rolled back to the original specifications.

Note PolarDB clusters do not support temporary downgrades. For more information about downgrades, see Manually upgrade or downgrade a PolarDB cluster.

Precautions

  • When PolarDB temporarily upgrades a cluster or rolls back a cluster to the original specifications, your application is disconnected from the cluster. Make sure that your application is configured with the automatic reconnection mechanism.
  • The rollback time must be at least one day before the expiration date of the cluster. For example, if a cluster expires on January 10, the latest rollback time is January 9.
  • If a cluster is temporarily upgraded, you cannot manually upgrade or downgrade the cluster, add nodes to the cluster, or remove nodes from the cluster. In addition, the cluster does not support automatic scaling. For more information about how to manually upgrade or downgrade a cluster and how to add or move nodes, see Manually upgrade or downgrade a PolarDB cluster and Add or remove read-only nodes.
  • The earliest rollback time that you can specify is 1 hour after the cluster is upgraded. We recommend that you set the validity period of a temporary upgrade to no more than 14 days.
  • After you perform a temporary upgrade, if the cluster still does not meet your business requirements or you want to extend validity period of the temporary upgrade, you can perform another temporary upgrade before the first temporary upgrade is rolled back. The rollback time of the second temporary upgrade must not be earlier than that of the first temporary upgrade.

Billing

A temporary upgrade fee is 1.5 times the price difference between the original and new specifications. For example, the validity period of a temporary upgrade is N days. You can calculate the temporary upgrade fee by using the following formula:

Temporary upgrade fee = (Monthly subscription fee for the new specifications - Monthly subscription fee for the original specifications)/30 × 1.5 × N

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. On the Clusters page, find the cluster for which you want to perform a temporary upgrade.
  4. Open the Change Configurations (Subscription) dialog box by using one of the following two methods:
    • Find the cluster that you want to upgrade and click Change Configurations in the Actions column. Cluster list
      1. Find the cluster that you want to upgrade and click the cluster ID to navigate to the Overview page.
      2. In the Database Nodes section, click Change Configurations. Change Configurations
  5. On the Change Configurations (Subscription) page, select Temporary Upgrade and click OK.
    Note Temporary Upgrade is available only for subscription clusters.
  6. On the page that appears, specify the following parameters.
    Parameter Description
    Node The new node specifications that you want to use.
    Restore Time The time when the cluster is rolled back to the original specifications.
    Note
    • After you perform a temporary upgrade, if the cluster still does not meet your business requirements or you want to extend the validity period of the temporary upgrade, you can perform another temporary upgrade before the first temporary upgrade is rolled back. The rollback time of the second temporary upgrade must not be earlier than that of the first temporary upgrade.
    • The earliest rollback time that you can specify is 1 hour after the cluster is upgraded. The rollback time cannot be modified after it is specified. We recommend that you set the validity period of a temporary upgrade to no more than 14 days.
    • The rollback time must be at least one day before the expiration date of the cluster.
  7. Read and accept the terms of service and then click Buy Now.
  8. On the Purchase page, confirm the order information and click Purchase.