Read/write splitting enables read and write requests to be automatically routed through a read/write splitting address. This section describes how to enable read/write splitting.
Alternatively, in the Connection Information area on the Basic Information page, click Apply in the Read/Write Splitting Address field.
Parameter |
Description |
---|---|
Proxy Name |
Set the proxy name based on service requirements. |
Role |
|
Routing Policy |
You can change the routing policy after the database proxy is created. For details, see Configuring the Delay Threshold and Routing Policy. |
Read Requests Accepted by Primary DB Instance |
This parameter is only available if Load balancing is selected.
|
New Instance Class |
Select specifications for the proxy instance based on service demands. You can change the specifications after the proxy instance is created. For details, see Changing the Instance Class of a DB Proxy Instance. |
Proxy Nodes |
Enter an integer from 2 to 8. You can change the nodes after the proxy instance is created. You are advised to set proxy nodes to the quantity of read replicas, with one proxy node for one read replica. |
The read/write splitting address and the floating IP address of the primary DB instance are in the same VPC and subnet and are independent from each other.
You can view the read/write splitting address on the Basic Information page. Read and write requests can be split through the read/write splitting address.
The read/write splitting address and the floating IP address of the DB instance are in the same VPC and subnet and are independent from each other.