The database version of the source instance is MySQL 5.7, and the database kernel minor version is at least 20211031. If this requirement is not satisfied, you need to upgrade the database kernel minor version first.
Select the region at the top of the page and click the ID or Manage in the Operation column of the target instance to enter the instance management page.
On the Database Proxy tab on the instance management page, click Enable Now.
In the pop-up dialog box, enable the connection pool feature.
Select the region at the top of the page and click the ID or Manage in the Operation column of the target instance to enter the instance management page.
On the Database Proxy tab on the instance management page, click Enable after Connection Pool at the bottom of the overview.
In the pop-up window, set the relevant configuration items and click OK.
Connection Pool Status: Enable connection pool.
Connection Pool Type: Session-level connection pool is supported.
Connection Persistence Timeout: The time threshold for idle connections to be retained in the connection pool of the proxy, which can be 1–300 seconds.
Note:
A flash disconnection will occur upon adjustment completion. Make sure that your business has a reconnection mechanism.
After the connection pool is successfully enabled, you can view the details and edit the configuration in Overview > Basic Info on the Database Proxy tab.
Select the region at the top of the page and click the ID or Manage in the Operation column of the target instance to enter the instance management page.
On the Database Proxy tab on the instance management page, click View/Edit after Connection Pool under the overview.
In the pop-up window, set the relevant configuration items and click OK.
Was this page helpful?