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 the storage capacity of a cluster.

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 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.

  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. 集群列表

    • 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.升降配

  4. Select Upgrade or Downgrade and click OK.

    升降配向导

    Note

    Temporary upgrade is supported only for subscription clusters. 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

    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.

    Note

    Make 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.

  6. Read and select the terms of service and 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 specifications of a node in a PolarDB cluster.