Updated on 2023-09-26 GMT+08:00

Changing the Failover Priority

Scenarios

RDS gives you control over the failover priority of your primary/standby DB instance. You can set it to Reliability or 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.
  • 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 Databases > Relational Database Service.
  4. On the Instances page, click the primary instance name.
  5. In the DB Information area on the displayed Basic Information page, click Change next to the Failover Priority field. In the displayed dialog box, select a priority and click OK.

    Figure 1 Changing the failover priority

  6. View the results on the Basic Information page.