Certain O&M operations — primary/secondary switchovers, minor engine version updates, and instance specification changes — trigger automatic switchovers on an RDS cluster. Without persistent connections, these switchovers temporarily drop the connections between your applications and the database proxy, forcing applications to reconnect.
Starting June 27, 2024, the database proxy feature supports persistent connections for ApsaraDB RDS for MySQL instances that run RDS Cluster Edition. With persistent connections enabled, the database proxy keeps application connections alive through automatic switchovers, improving the stability and availability of your RDS cluster.
Effective date
June 27, 2024
Billing
Persistent connections are free of charge.
Prerequisites
Before you enable persistent connections, make sure your instance meets the following requirements:
The instance runs MySQL.
The instance runs MySQL 5.6, MySQL 5.7, or MySQL 8.0.
The instance runs RDS High-availability Edition or RDS Cluster Edition.
The instance uses cloud disks or Premium Local SSDs.
The database proxy feature is enabled, and the proxy version is 1.14.5_20231207 or later. For more information, see Enable the database proxy feature.
Both general-purpose and dedicated database proxies support persistent connections.