All Products
Search
Document Center

PolarDB:Add or remove nodes

Last Updated:Apr 07, 2024

A PolarDB-X instance is a distributed cluster that consists of multiple nodes. PolarDB-X allows you to add nodes to scale out an instance or remove nodes to scale in an instance.

Procedure

  1. Log on to the PolarDB for Xscale console.

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

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

  4. On the PolarDB-X 2.0 tab, find the instance that you want to manage. If you want to add nodes, click Add node in the Operation column. If you want to remove nodes, click Delete node.

  5. On the page that appears, select the number of nodes that you want to add or remove.

    Warning
    • After you remove nodes from a PolarDB-X instance, the maximum load capacity of the instance decreases. Make sure that the remaining instance capacity can meet your business requirements.

    • After you remove nodes, the historical backup sets become invalid. We recommend that you back up the PolarDB-X instance at the earliest opportunity after you remove nodes.

  6. Click Buy Now.

  7. Click Sign and Order.

    After you add or remove nodes, the status of the instance changes to NodeCreating or Delete Node in the PolarDB-X console.

    Note

    If you add nodes to your PolarDB-X instance, you are charged for the added nodes. If you remove nodes from your PolarDB-X instance, you are not charged for the removed nodes.

    Experimental feature

    Starting from version V5.4.18-17034692, PolarDB-X optimizes data migration during the scaling process by directly copying data files. This method is a significant improvement compared with the logical replication method used in earlier versions, in which data is retrieved from the source by using a SELECT statement and then batch inserted into the destination by using an INSERT statement. This optimization significantly reduces resource consumption during the data migration process and accelerates the migration speed. This feature is in the experimental phase and is disabled by default. If you want to use the feature, contact us. For information about how to contact us, see Contact us.