tencent cloud

DokumentasiTDSQL-C for MySQL

Network Forwarding Feature

Unduh
Mode fokus
Ukuran font
Terakhir diperbarui: 2026-11-03 10:41:44
Diterjemahkan oleh AI
The database proxy of TDSQL-C for MySQL provides a network forwarding feature. This feature forwards database requests from clients to the target read-only instance accurately in pure network mode and returns results efficiently, thereby achieving key capabilities such as unified access entry, reduced access latency, and simplified network architecture, significantly improving the availability, performance, and maintainability of the database proxy.

Prerequisites

The cluster status is Running.
The cluster has read-only instances. To create a read-only instance, see Creating a Read-Only Instance.

Supported Versions

TDSQL-C for MySQL 5.7 and 8.0.

Note

If network forwarding is enabled for the database proxy connection address of a cluster, the capabilities not supported by this database proxy connection address include adaptive load balancing, connection pool, and transaction splitting.
If the read/write attribute of the database proxy connection address of a cluster is set to read-only, at least one instance must have weight configuration enabled when weights are configured.
If a read-only analysis engine instance exists in the cluster, the database proxy connection address of the cluster does not support enabling the read-only analysis engine instance when read-only instance weights are configured.

Operation Steps

Enabling Network Forwarding

1. Log in to the TDSQL-C for MySQL console, select the cluster for which the database proxy is enabled in the cluster list, and then click the Cluster ID to enter the Cluster Management page.
2. In the topology diagram under Cluster Management > Cluster Details, hover the mouse pointer over the database proxy section and click Details to enter the database proxy management page. Alternatively, you can directly select the Database Proxy tab on the cluster management page to enter the Database Proxy Management page.
3. Click Overview, find the target access address on the connection address page, and click Adjust Configurations in the operation column.
4. On the Adjust Configurations page, enable network forwarding when the read/write attribute is set to read-only.

5. Under Assign Read Weight, set the read weight assignment method, enable the required read-only instances (at least one read-only instance must be enabled), and click OK. For other settings on the configuration page, see Viewing and Modifying Access Policies.


Disabling Network Forwarding

1. Log in to the TDSQL-C for MySQL console, select the cluster with the proxy enabled in the cluster list, and click the Cluster ID to enter the cluster management page.
2. In the topology diagram under Cluster Management > Cluster Details, hover the mouse pointer over the database proxy section and click Details to enter the database proxy management page. Alternatively, you can directly select the Database Proxy tab on the cluster management page to enter the Database Proxy Management page.
3. Click Overview, find the target access address on the connection address page, and click Adjust Configurations in the operation column.
4. On the Adjust Configuration page, disable network forwarding when the read/write attribute is set to read-only.

Bantuan dan Dukungan

Apakah halaman ini membantu?

masukan