RDS supports two access modes: standard mode and safe connection mode. This article describes their differences and how to switch between them.
Standard mode: RDS uses Sever Load Balancer to eliminate the impact of database engine HA switching on the application layer. This shortens the response time, but may slightly increase the probability of transient disconnections.
This mode supports only one connection address. If the instance has both an intranet address and an Internet address, release one of them before switching to the standard mode.
Safe connection mode: This mode prevents 90% of transient disconnections, but increases the response time by 20% or more. This mode supports coexistence of an intranet address and an Internet address.
MySQL 5.7, SQL Server 2012, and SQL Server 2016 instances suppport only the standard mode.
In a VPC network, the access mode of MySQL 5.5/5.6 and SQL Server 2008 R2 must be the safe connection mode and cannot be switched.
Note: MySQL 5.5/5.6 and SQL Server 2008 R2 instances in the China North 1 (Qingdao), China North 2 (Beijing), China East 1 (Hangzhou), and Hong Kong regions do not have this limit.
Switching the access mode may result in a disconnection of 30 seconds. To avoid the impact, perform the switching during off-peak hours, or make sure that your application has the automatic reconnection mechanism.
Log on to the
Select the region where the target instance is located.
Click the ID of the instance to visit the Basic Information page.
Select Database Connection in the left-side navigation pane to visit the Database Connection page.
Click Switch Access Mode.
Click Confirm on the dialog box to switch the access mode.