


Parameter | Description |
VPC | Select the network for the database proxy. Only VPC is supported. If you access the instance through a CVM, select the same VPC as the CVM. |
Subnet | Select a subnet. The selection range is limited to the subnets that exist under the selected VPC. |
Security Group | The default security group is the same as that of the primary instance. You can also select an existing security group or create one as needed. Multiple security groups can be selected. Note: To access the database proxy, you need to configure the security policy to open the private network access port (current private network port: 3306). For details, see MySQL Security Group Configuration. |
Remarks | Optional. Leave remarks for the database proxy connection address to be added. |
Parameter | Description |
Read/Write Attribute | Select the read-write attribute for this proxy access address. Here, select Read/Write Attribute. |
Access Mode | Supports two access modes, Balanced allocation and Nearby Access, to set up the connection link from the client to the database proxy. For details, see Access Mode. |
Remove Delayed RO Instances | Set the delayed read-only instance removal policy. When this feature is enabled, you can set the Delay Threshold and Least RO Instances. Whether this feature is enabled or not, the system will attempt to remove and recover read-only instances when they fail. Delay Threshold: Enter an integer greater than or equal to 1. The unit is seconds. Least RO Instances: This number is related to the number of read-only instances owned by the primary instance. When set to 0, after all read-only nodes are removed, all traffic is forwarded to the primary instance until the read-only instances are re-added. |
Adaptive Load Balancing | Choose whether to enable the adaptive load balancing feature. Once it is enabled, requests can be routed to instances with lower load based on backend load conditions to achieve database instance load balancing. For details, see Adaptive Load Balancing. |
Connection Pool Status | The connection pool feature is mainly used to reduce the instance load caused by the frequent establishment of new connections in non-persistent connection services. If you enable this feature, you can select a supported connection pool type. Currently, Session-Level Connection Pool and Transaction-Level Connection Pool are supported (database proxy version 1.4.1 or above). |
Transaction Split | You can set whether to enable this feature. Once enabled, read requests before the first write request in a transaction can be forwarded to read-only instances to reduce the load on the primary instance. |
Assign Read Weight | Supports selecting Assigned by system or Custom. If multiple AZs are configured when the database proxy is enabled, it supports configuring the weights separately for accessing the database through proxy nodes in different AZs. Note: The weight here is for read requests (non-transactional). |
Unified Weight Management | If the current primary instance has a read-only analysis engine, this feature is supported. Once enabled, the read-only analysis engine can accept query statements forwarded by the proxy in scenarios without hints. |
Failover | Determine whether to enable this feature. Once it is enabled, the connection address will be routed to the primary instance when the database proxy encounters faults. |
Forwarding Upon Analysis Engine Faults | You can set whether to enable this feature. Once enabled, when the accessed read-only analysis engine fails, requests will be automatically forwarded to other read-only analysis engines based on rules. For detailed fault forwarding policies, see Forwarding Upon Instance Faults. |
Auto Add Read-Only Instances | Determine whether to enable this feature. Once it is enabled, newly purchased read-only instances will be automatically added to the database proxy. If the read weight is automatically assigned by the system, a weight is assigned to newly purchased read-only instances according to the specification. If the read weight is customized, the weight of newly purchased read-only instances is 0 by default when they are added. You can click Adjust Configuration on the Database Proxy > Connection Address page to modify the weight. |
Parameter | Description |
Read/Write Attribute | Select the read/write attribute for this proxy access address. Here, select Read-Only. |
Network Forwarding | Set whether to enable network forwarding. Once enabled, SQL distribution is performed through network forwarding. Instances with two-node, three-node, or cloud disk architectures support the network forwarding mode. For details, see Network Forwarding Feature. |
Access Mode | Supports two access modes, Balanced allocation and Nearby Access, to set up the connection link from the client to the database proxy. For details, see Access Mode. |
Remove Delayed RO Instances | Set the delayed read-only instance removal policy. When this feature is enabled, you can set the Delay Threshold and Least RO Instances. Whether this feature is enabled or not, the system will attempt to remove and recover read-only instances when they fail. Delay Threshold: Enter an integer greater than or equal to 1. The unit is seconds. Least RO Instances: This number is related to the number of read-only instances owned by the primary instance. When set to 0, after all read-only nodes are removed, all traffic is forwarded to the primary instance until the read-only instances are re-added. |
Adaptive Load Balancing | Choose whether to enable the adaptive load balancing feature. This feature can be enabled only when network forwarding is not enabled. Once enabled, requests can be routed to instances with lower load based on backend load conditions to achieve database instance load balancing. For details, see Adaptive Load Balancing Feature. |
Connection Pool Status | The connection pool feature is mainly used to reduce the instance load caused by the frequent establishment of new connections in non-persistent connection services. This feature can be enabled only when network forwarding is not enabled. Once enabled, you can select a supported connection pool type. Currently, Session-Level Connection Pool and Transaction-Level Connection Pool are supported (database proxy version 1.4.1 or above). |
Transaction Split | Set whether to enable this feature. This feature can be enabled only when network forwarding is not enabled. Once enabled, read requests before the first write request in a transaction can be forwarded to read-only instances to reduce the load on the primary instance. |
Assign Read Weight | Supports selecting Assigned by system or Custom. If multiple AZs are configured when the database proxy is enabled, it supports configuring the weights separately for accessing the database through proxy nodes in different AZs. Note: The weight here is for read requests (non-transactional). |
Unified Weight Management | If the current primary instance has a read-only analysis engine, this feature is supported. Once enabled, the read-only analysis engine can accept query statements forwarded by the proxy in scenarios without hints. |
Forwarding Upon Analysis Engine Faults | You can set whether to enable this feature. Once enabled, when the accessed read-only analysis engine fails, requests will be automatically forwarded to other read-only analysis engines based on rules. For detailed fault forwarding policies, see Forwarding Upon Instance Faults. |
Apply to Newly Added RO Instances | Determine whether to enable this feature. This feature can be enabled only when network forwarding is not enabled. Once enabled, if you purchase a new read-only instance, it will be automatically added to the database proxy. If the read weight is automatically assigned by the system, a weight is assigned to newly purchased read-only instances according to the specification. If the read weight is customized, the weight of newly purchased read-only instances is 0 by default when they are added. You can click Adjust Configuration on the Database Proxy > Connection Address page to modify the weight. |

Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback