Downloading Switchover/Failover Logs of a GaussDB Instance
You can download switchover/failover logs of a GaussDB instance. If switchover/failover log collection is enabled for an instance whose Failover Priority is Availability, GaussDB can collect Xlogs that cannot be replayed on the standby node in time when a switchover or failover occurs and convert the Xlogs into a SQL file. You can download the SQL file and run SQL statements to replay the data in the SQL file as required.
Precautions
- CNs and DNs of the instance are normal.
- The IaaS network is normal.
- Switchover/Failover logs are available only for distributed instances whose Failover Priority is Availability.
Switchover/Failover Logs
- Log in to the management console.
- Click
in the upper left corner and select a region and project.
- Click
in the upper left corner of the page and choose .
- On the Instances page, click the name of the target instance to go to the Basic Information page.
- In the navigation pane on the left, choose Log Analysis.
- On the displayed page, click the Switchover/Failover Logs page, enable Switchover/Failover Log Collection, and click Download in the Operation column of the record whose status is Preparation completed to download the switchover/failover log file.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.