

Parameter | Description |
Read/Write Attribute | Select the read-write attribute of the proxy access address, which can be read/write separation or read-only. If read/write separation is selected, the read/write separation feature will be enabled automatically. |
Access Mode | Select Balanced distribution or Nearby access to set the connection link from the client to the database proxy. For details, see Access Mode. |
Consistency Settings | If read/write separation is selected, three consistency levels are provided: eventual consistency, session consistency, and global consistency. They can meet your consistency requirements in different scenarios. For details, see Consistency Level. Note: Changes to the consistency level take effect only for new connections. If you need the parameter to take effect immediately through resetting the connection, you can use the load rebalancing feature or restart the instance. |
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, only session-level connection pools are supported by default. |
Connection Pool Threshold | Set a connection pool threshold in the range of 0 to 300 seconds. |
Transaction Split | Determine whether to enable this feature. Once it is enabled, reads and writes in one transaction are split and executed on different instances. Read requests are forwarded to read-only instances to reduce the load on the primary instance. |
Failover (Read/write separation selected) | 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. |
Apply to Newly Added RO Instances | Determine whether to enable this feature. Once it is enabled, newly purchased read-only instances or read-only analysis engines 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 |
Assign Read Weight | The database proxy needs to distribute read requests to different instances. By assigning different read weights to each instance, the database proxy can determine the target instance for forwarding requests based on the weight. The weight can be automatically assigned by the system or customized. If the weight is customized, you can configure the weight for different instances. The descriptions of the enabling status and weight during weight assignment are as follows: Enable: If the status is Enabled, the corresponding instance will be assigned a weight for connection. If the status is Disabled, no weight will be assigned to the corresponding instance for connection. Weight: Weight range: 0-100. 0 means that the corresponding instance will be assigned a weight for connection, but the weight is the lowest. The larger the value, the higher the weight, and the more read requests. After the read weights are assigned, read requests will be routed to the corresponding instances in proportion. For example, if the read weights of Instance 1, Instance 2, and Instance 3 are set to 3, 2, and 1, read requests from the database proxy connection address will be routed to Instance 1, Instance 2, and Instance 3 in the ratio of 3:2:1. Note: The weight here is for read requests (non-transactional). The read-only analysis engine does not support weight modification. It only supports using the hint syntax of /*to server instance ID*/ to forcibly specify the forwarding destination. |


Parameter | Description |
Network | Select a network for the database proxy. Only VPCs are supported. You can choose to automatically assign an IP address or manually specify it. |
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: You need to configure the security policy and allow the private network access port (3306 currently) to access the database proxy. For details, see Creating and Managing TencentDB Security Groups. |
Remarks | Optional. Leave remarks for the database proxy connection address to be added. |

Parameter | Description |
Read-Write Attribute | Select the read-write attribute of the proxy access address, which can be read/write separation or read-only. If read/write separation is selected, the read/write separation feature will be enabled automatically. |
Access Mode | Select Balanced distribution or Nearby access to set the connection link from the client to the database proxy. For details, see Access Mode. |
Consistency Settings | If read/write separation is selected, three consistency levels are provided: eventual consistency, session consistency, and global consistency. They can meet your consistency requirements in different scenarios. For details, see Consistency Level. Note: Changes to the consistency level take effect only for new connections. If you need the parameter to take effect immediately through resetting the connection, you can use the load rebalancing feature or restart the instance. |
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, only session-level connection pools are supported by default. |
Connection Pool Threshold | Set a connection pool threshold in the range of 0 to 300 seconds. |
Transaction Split | Determine whether to enable this feature. Once it is enabled, reads and writes in one transaction are split and executed on different instances. Read requests are forwarded to read-only instances to reduce the load on the primary instance. |
Failover (Read/write separation selected) | 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. |
Apply to Newly Added RO 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 |
Assign Read Weight | The database proxy needs to distribute read requests to different instances. By assigning different read weights to each instance, the database proxy can determine the target instance for forwarding requests based on the weight. The weight can be automatically assigned by the system or customized. If the weight is customized, you can configure the weight for different instances. The descriptions of the enabling status and weight during weight assignment are as follows: Enabling Status: If the status is Enabled, the corresponding instance will be assigned a weight for connection. If the status is Disabled, no weight will be assigned to the corresponding instance for connection. Weight: Weight range: 0-100. 0 means that the corresponding instance will be assigned a weight for connection, but the weight is the lowest. The larger the value, the higher the weight, and the more read requests. After the read weights are assigned, read requests will be routed to the corresponding instances in proportion. For example, if the read weights of Instance 1, Instance 2, and Instance 3 are set to 3, 2, and 1, read requests from the database proxy connection address will be routed to Instance 1, Instance 2, and Instance 3 in the ratio of 3:2:1. Note: The weight here is for read requests (non-transactional). The read-only analysis engine does not support weight modification. It only supports using the hint syntax of /*to server instance ID*/ to forcibly specify the forwarding destination. |
API | Description |
This API (CreateProxyEndPoint) is used to create a database proxy connection point. |
Esta página foi útil?
Você também pode entrar em contato com a Equipe de vendas ou Enviar um tíquete em caso de ajuda.
comentários