Change PolarDB-X instance specifications

更新时间:
复制 MD 格式

A PolarDB-X instance is a distributed cluster composed of multiple nodes. Each node handles tasks such as SQL routing, data merging, and aggregation. You can change the node specifications of an instance to meet business needs. For example, you can upgrade the specifications to handle higher QPS during peak hours, or downgrade them to save resources during off-peak hours.

Considerations

  • Changing instance specifications causes a transient disconnection between your application and the instance. Ensure your application has an automatic reconnection mechanism.

  • If you use persistent connections, new nodes added during an upgrade do not immediately receive traffic. We recommend restarting your ECS instances in phases. First, restart the instances that handle low traffic. After confirming that your services run as expected, restart the remaining ones. If you use Druid as the connection pool, see How to select a connection pool for your application for best practices.

Procedure

  1. Log on to the PolarDB-X console.

  2. In the top navigation bar, select the region where the instance is deployed.

  3. On the Instances page, click the PolarDB-X 2.0 tab.

  4. Find the target instance and, in the Actions column, click Upgrade or Downgrade.

  5. On the Upgrade or Downgrade page, select the target node specifications.

    Note

    For Enterprise Edition instances, you can change the specifications of or Downgrade compute and data nodes. For Standard Edition instances, you can only change the specifications of or Downgrade data nodes.

  6. Select a Switch Mode.

  7. Click Buy Now.

  8. Click Sign and Purchase.

    After you complete the purchase, the instance status changes to Upgrading / Downgrading.