This topic describes how to add nodes to or delete nodes from an ApsaraDB RDS for PostgreSQL instance that runs RDS Cluster Edition. An RDS instance that runs RDS Cluster Edition is referred to as an RDS cluster.
Prerequisites
An RDS cluster is created.
The RDS cluster is in the Running state.
Feature description
When you add a node to an RDS cluster, the read and write requests of the RDS cluster are not affected.
After you add a node, you can specify a weight for the node. This way, the system distributes requests to the node based on the specified weight to implement load balancing.
An RDS cluster consists of up to one primary node and eight secondary nodes.
An RDS cluster must contain one primary node and at least one secondary node.
After you delete a node, connections to the deleted node are interrupted for a short period of time. Connections to other nodes are not affected. You can specify a weight for the node that you want to delete. This way, the system does not forward requests to the node. You do not need to modify your application configuration.
Billing rules
For more information about the billing rules after nodes are added or deleted, see Change instance specifications.
Add a node
Go to the Instances page. In the top navigation bar, select the region in which the RDS instance resides. Then, find the RDS instance and click the ID of the instance.
-
In the Basic Information section of the Instance Topology Management page, click Add or Delete Node.
-
In the dialog box that appears, select Add Node and click Next.
-
In the Nodes section, click the
icon or Add Node, and then configure the new node's zone and vSwitch.NoteIf you want to cancel the addition operation, click the
icon to the left of the node. -
Read and select the terms of service, and then click Pay Now.
Delete a node
Go to the Instances page. In the top navigation bar, select the region in which the RDS instance resides. Then, find the RDS instance and click the ID of the instance.
-
In the Basic Information section of the Instance Topology Management page, click Add or Delete Node.
-
In the dialog box that appears, select Delete Node and click Next.
-
Click the
icon to the left of the node that you want to delete. NoteTo undo the deletion, click Restore to the left of the node.
-
Read and select the terms of service, and then click Pay Now.
Related operations
Operation | Description |
Adds nodes to an RDS cluster. | |
Deletes nodes from an RDS cluster. |