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

Viewing Failover/Switchover Logs

You can view failover or switchover logs of RDS for MySQL DB instances to evaluate the impact on services.

Precautions

You can query only failover and switchover logs generated within recent 30 days. The logs cannot be dumped to OBS buckets.

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 target DB instance.
  5. In the navigation pane on the left, choose Logs. On the displayed page, click Failover/Switchover Logs to view log details.

    These logs record the failovers caused by database exceptions and manual switchovers.

    Figure 1 Failover/Switchover logs