tencent cloud

Setting Session-Level Connection Pool
Terakhir diperbarui:2025-06-10 15:03:27
Setting Session-Level Connection Pool
Terakhir diperbarui: 2025-06-10 15:03:27
This document describes how to configure the session-level connection pool.

Enabling the Connection Pool Feature

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. On the database proxy management page, select Access Policy, find the target access policy, and click Configuration Adjustment.
Note:
You can also find the target access address under Database Proxy > Overview > Connection Address, and click Adjusting Configuration in the Operation column.
4. In the pop-up window, enable the button behind Connection Pool Status, complete the settings for other items as needed, and click OK.

Connection Pool Status: Enable the connection pool.
Connection Pool Type: Currently, session-level connection pools are supported.
Connection Pool Threshold: The time threshold for idle connections to be retained in the proxy's connection pool, with a setting range of 0 to 300 seconds.

Disabling the Connection Pool Feature

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. On the database proxy management page, select Access Policy, find the target access policy, and click Configuration Adjustment.
Note:
You can also find the target access address under Database Proxy > Overview > Connection Address, and click Adjusting Configuration in the Operation column.
4. In the pop-up window, disable the button behind Connection Pool Status, complete the settings for other items as needed, and click OK.
Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
Ya
Tidak

masukan