Perform Database Switchover
You initiate a switchover operation on a standby database that is a member of the Data Guard configuration.
A switchover reverses the primary and standby database roles. Each database continues to participate in Oracle Data Guard in its new role. A switchover ensures no data loss. You can use a switchover before you perform planned maintenance on the primary database. Performing planned maintenance on a DB system with Data Guard is typically done by switching the primary database to the standby role, performing maintenance on the standby database, and then switching it back to the primary role.
Procedure
Perform the following steps to perform a switchover using the OCI Console:
- On the DB Systems list page, select the DB system that contains the database that you want to work with. If you need help finding the list page or the DB system, see List the DB Systems.
- On the Databases tab, select the database that you want to work with.
- On the database details page, select the Data Guard Group tab.
- For the standby database on which you want to perform a switchover, from the Actions menu, select Switchover.
- In the Switchover database panel, enter the database admin password, and then select Switchover.
This database should now assume the role of the primary, and the old primary should assume the role of the standby.