[Product/Feature Update] RDS network link upgrade notice

更新时间:
复制 MD 格式

Alibaba Cloud is upgrading the network connection mode for some RDS instances from High-security Mode (database proxy) to High-performance Mode (Standard Mode) for better stability and performance.

Risks of not upgrading

The current High-security Mode can experience resource instability in certain scenarios, which may affect your services. To ensure stable and continuous business operations, complete this upgrade as soon as possible.

Benefits of the upgrade

  • Improved stability: The upgraded network connection has one fewer hop, which greatly improves stability.

  • Enhanced performance: With one fewer network hop, the average response time is reduced by 20%.

Upgrade scope

This upgrade applies to ApsaraDB RDS for MySQL, ApsaraDB RDS for PostgreSQL, and AnalyticDB for PostgreSQL instances that are in High-security Mode (database proxy) and do not have read/write splitting enabled. ApsaraDB RDS for SQL Server instances are not affected. To check whether your instance requires an upgrade, follow these steps:

  1. Log on to the ApsaraDB RDS console and go to the Instances page. In the top navigation bar, select the region in which the RDS instance resides. Then, find the RDS instance and click the instance ID.

  2. In the left-side navigation pane, click Database Connection and check the Database Proxy Endpoint status.

    • If the status is Disabled, your instance does not need to be upgraded.

    • If the status is Enabled, your instance needs to be upgraded.

      Note
      • If your ApsaraDB RDS for MySQL instance has read/write splitting enabled, see Upgrade a shared proxy to a dedicated proxy.

      • If the primary instance has associated read-only instances, you only need to upgrade the primary instance. The associated read-only instances are upgraded automatically.

Impact of the upgrade

  • The upgrade process involves a transient instance switchover. You can specify a time for the upgrade as described in Method 3. Ensure your application has an automatic reconnection mechanism. For more information about the impact of an instance switchover, see Impact of an instance switchover.

  • In database proxy mode, multi-statement support is enabled by default at the protocol layer. After the switchover to Standard Mode, if your application uses multi-statement queries but does not enable this feature at the application layer, SQL errors will occur. Before upgrading, check your application and add the required connection parameter. For example, add the allowMultiQueries parameter to your JDBC connection string:

    dbc:mysql:///test?allowMultiQueries=true

Method 1

  1. On the Database Connection page, click Switch Access Mode.

  2. In the dialog box that appears, click OK to disable the database proxy.

  3. Verify that your services are running as expected.

    Note

    This verification step is mandatory.

Method 2

Note

This method applies only to some instances.

  1. On the Database Proxy page, click the Enabled toggle.

  2. In the dialog box that appears, click OK to disable the database proxy.

  3. Verify that your services are running as expected.

    Note

    This verification step is mandatory.

Method 3

  1. After you receive an SMS message or email notification, log on to the ApsaraDB RDS console.

  2. In the left-side navigation pane, click Pending Events.

  3. Select the target instance and click Specify Disconnection Time to modify the upgrade execution time, which is the Scheduled Switching Time. The Scheduled Switching Time cannot be later than the Deadline.

    Note
    • If the Start Time and Scheduled Switching Time fields are empty, you must click Specify Disconnection Time to set a time.

    • If you do not specify a time, the upgrade will run at the default Scheduled Switching Time, which is typically within the instance's maintenance window.

    • You can set a different Scheduled Switching Time for each instance.

  4. After the upgrade, verify that the Database Proxy Endpoint status is Disabled.

  5. Verify that your services are running as expected.

    Note

    This verification step is mandatory.

FAQ

  1. How can I determine if my instance needs to be upgraded?

    See Scope of the upgrade.

  2. Why can't I upgrade my instance?

    RDS instances with read/write splitting enabled cannot be directly upgraded at this time. An upgrade solution for these instances will be provided in the future.

  3. Do I need to make any changes to my applications after the upgrade?

    The upgrade involves an instance switchover. Ensure your application has an automatic reconnection mechanism. If not, you may need to manually restart your application. The instance endpoint, IP address, and other settings remain unchanged, so no application code changes are required. For more information, see Impact of an instance switchover.

  4. Can I switch back to High-security Mode (database proxy) after the upgrade?

    Switching back is unnecessary. High-security Mode was primarily used to support concurrent connections over public and private networks. High-performance Mode (Standard Mode) now supports this capability.

  5. If my primary instance has read-only instances, do I need to upgrade each one individually?

    No. You only need to upgrade the primary instance; the associated read-only instances are upgraded automatically.