Adding Nodes

Scenarios

As the DB instance deployment time and services increase, the database running performance and storage will gradually reach the bottleneck. For GaussDB(openGauss), you can add nodes to improve the DB instance performance and storage capability.

Important

The number of CNs of a DB instance must be less than or equal to twice the number of shards.

Procedure

  1. Log in to the management console.

  2. Click image1 in the upper left corner and select a region and a project.

  3. Click Service List. Under Database, click GaussDB.

  4. In the navigation pane on the left, choose GaussDB(openGauss) > Instance Management.

  5. On the Instance Management page, click the DB instance for which you want to add nodes.

  6. On the Basic Information page, add nodes.

    Adding shards

    1. Click Add next to Shards.

    2. Specify the number of shards to be added. Click Next.

    3. Confirm the specifications and fees, and then click Submit.

    Note

    A shard contains three DN replicas by default. Therefore, three DN replicas are added each time a shard is added.

    Adding CNs

    1. Click Add next to Coordinator Nodes.

    2. Specify the number of coordinator nodes to be added and the AZ.

      If only one AZ is specified during instance creation, the same AZ must be selected for adding CNs.

    3. Click Next.

    4. Confirm the specifications and click Submit.