All Products
Search
Document Center

ApsaraDB RDS:[New features/New specifications] Persistent connections are supported by the database proxy feature for ApsaraDB RDS for MySQL instances that run RDS Cluster Edition

Last Updated:Jul 19, 2024

Starting June 27, 2024, persistent connections are supported by the database proxy feature for ApsaraDB RDS for MySQL instances that run RDS Cluster Edition. An RDS instance that runs RDS Cluster Edition is referred to as an RDS cluster. This topic describes persistent connections and the billing rules and scenarios of persistent connections.

Feature description

When O&M operations that trigger automatic switchovers are performed on an RDS cluster, the connections between applications and database proxies of the RDS cluster are temporarily interrupted. The O&M operations that trigger automatic switchovers include primary/secondary switchovers, minor engine version updates, and instance specification changes. To resolve this issue, persistent connections of the database proxy feature are used. Persistent connections ensure that the connections between applications and database proxies of your RDS cluster are kept alive regardless of whether automatic switchovers occur in the RDS cluster. This helps improve the stability and availability of the RDS cluster. For more information, see Configure persistent connection settings.

Effective date

June 27, 2024

Billing rules

Persistent connections are provided free of charge.

Prerequisites

  • The RDS instance runs MySQL.

  • The RDS instance runs MySQL 5.6, MySQL 5.7, or MySQL 8.0.

  • The RDS instance runs RDS High-availability Edition or RDS Cluster Edition.

  • The RDS instance uses cloud disks or local disks.

  • The database proxy feature is enabled for the RDS instance that runs a database proxy version of 1.14.5_20231207 or later. For more information, see Enable the database proxy feature.

Note

Persistent connections are supported by general-purpose and dedicated database proxies.

Scenarios

When you perform O&M operations that trigger automatic switchovers on an RDS instance, you do not want to interrupt the connections between applications and database proxies of the RDS instance.

What to do next