Help Center/ GaussDB(for MySQL)/ User Guide/ Database Proxy (Read/Write Splitting)/ Changing the Number of Proxy Instance Nodes
Updated on 2024-05-21 GMT+08:00

Changing the Number of Proxy Instance Nodes

Scenarios

You can change the number of proxy nodes as required.

Prerequisites

  • Read/write splitting has been enabled.
  • The primary node and proxy instance are all available.

Constraints

There can be 2 to 32 proxy nodes.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click in the upper left corner of the page, choose Databases > GaussDB(for MySQL).
  4. On the Instances page, click the instance name to go to the Basic Information page.
  5. In the navigation pane on the left, choose Database Proxy. Click the proxy instance name.
  6. In the Proxy Instance Information area, click Change next to the Proxy Instance Nodes field.

    Number of recommended proxy instance nodes = (Number of vCPUs of the primary node + Total number of vCPUs of all read replicas)/(4 x Number of vCPUs of the proxy instance), rounded up.

  7. In the displayed dialog box, set the number of proxy instance nodes and click OK.

    Figure 1 Changing the number of proxy nodes