Updated on 2024-10-14 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.
  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. On the displayed Overview page, find Failover Priority and click Configure under it. In the displayed dialog box, select a priority and click OK.

    Figure 1 Changing the failover priority

  6. View the results on the Overview page.