Updated on 2025-12-26 GMT+08:00

Changing the Failover Priority

Scenarios

RDS allows you to change the failover priority to meet your workload requirements. There are two options Reliability and Availability.

  • Reliability (default setting): Data consistency is preferentially ensured during a primary/standby failover. This is recommended for applications whose highest priority is data consistency. In extreme scenarios, there may be a small amount of data lost if your instance uses asynchronous replication.
  • Availability: Database availability is preferentially ensured during a primary/standby failover. This is recommended for applications that require databases to provide uninterrupted online services.

Constraints

The failover priority cannot be changed when the DB instance is stopped or its instance class is being changed.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click in the upper left corner of the page and choose Database > Relational Database Service.
  4. On the Instances page, click the primary instance name.
  5. On the displayed Basic Information page, find Failover Priority and click Change. In the displayed dialog box, select a priority and click OK.

  6. View the results on the Basic Information page.