Updated on 2025-11-14 GMT+08:00

Changing the Failover Priority

Scenarios

TaurusDB for PostgreSQL allows you to change the failover priority for primary and standby instances. You can select 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. 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.

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 > TaurusDB.
  4. On the Instances page, locate a primary/standby instance and click the instance name.
  5. On the displayed Basic Information page, find Failover Priority and click Change 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 Basic Information page.