All Products
Search
Document Center

PolarDB:Change specifications

Last Updated:Dec 31, 2024

This topic describes how to change the specifications of a PolarDB cluster. You can change the cluster specifications based on your business requirements.

Prerequisites

The cluster does not have specifications change tasks in progress.

Background information

PolarDB provides three-dimentional scaling capabilities:

  • Vertical scaling of computing power: scales up or down the specifications of the cluster. This topic describes the details of the scaling capability.

  • Horizontal scaling of computing power: adds or removes read-only nodes. For more information, see Add or remove a read-only node.

  • Horizontal scaling of storage capacity: automatically scales in or out the storage capacity in response to data amount changes based on the storage type and billing method. You can also manually scale out the storage capacity. For more information, see Manually scale up storage capacity.

Specifications change fees

For more information, see Configuration change fees.

Usage notes

  • You can change the specifications of an entire cluster or an individual node within the cluster.

    Note

    When you change the specifications of an individual node within a cluster, make sure that at least one read-only node has the same specifications as the primary node. The specifications for other nodes can be configured based on your business requirements.

  • The time required to change cluster specifications is primarily dependent on the number of compute nodes within the cluster. Approximately 5 minutes are required for each compute node. For example, if a cluster has 2 compute nodes, the cluster specifications change process takes approximately 10 minutes. The database load and the number of tables also affect the total time required for the specifications change.

  • When you change the cluster specifications, data stored in the cluster is not affected.

  • During the cluster specifications change process, your applications are temporarily disconnected from the cluster for no more than 30 seconds. We recommend that you change your cluster specifications during off-peak hours and make sure that your applications can automatically reconnect to the cluster.

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. Use one of the following methods to go to the Change Configurations page:

    • Find the cluster whose specifications you want to change, and click Change Configurations in the Actions column. Cluster list

    • Click the ID of the cluster whose specifications you want to change. Then, in the Database Nodes section of the Basic Information page, click Change Configurations. Basic information

  4. Select Upgrade or Downgrade and click OK. Change configurations

    Note

    Only subscription clusters support Temporary Upgrade. For more information, see Temporary upgrade.

  5. On the Change Configurations page, configure the parameters. The following table describes the parameters.

    Parameter

    Description

    Specification Type

    Select the new specifications type. By default, Dedicated Specifications is selected.

    Node Specifications

    Select the new specifications for the node.

    Note

    Make sure that at least one read-only node in the cluster has the same specifications as the primary node. You can configure the specifications for other read-only nodes based on your business requirements.

    Switching Time

    Set the Switching Time parameter to Switch Now or Switch At.

    If you select Switch At, you can select a point in time within the next 24 hours. The specifications are changed within 30 minutes after the specified point in time. You can go to the Scheduled Tasks page to view the detailed information of the task or cancel the task. For more information, see Scheduled tasks

  6. Read and select the Terms of Service. Then, click Buy Now.

  7. On the Purchase page, confirm the order information and click Subscribe.

    Note

    The new specifications take effect within 10 minutes.

Related API operations

Operation

Description

ModifyDBNodeClass

Changes the node specifications of a PolarDB cluster.