Link to home
Start Free TrialLog in
Avatar of SimpleJ
SimpleJ

asked on

Oracle standby mode

How Can I check if an oracle database is in standby mode?

and if it is, how to put it out of standby mode ?

Thank you!!
Avatar of SimpleJ
SimpleJ

ASKER

ok, I found out that:

SQL>Select database_role from v$database;

I get: PHYSICAL STANDBY

How can I change this to PRIMARY...

I have tried alter database commit to switchover to primary;

I get this error:
SQL> alter database commit to switchover to primary;
alter database commit to switchover to primary
*
ERROR at line 1:
ORA-16139: media recovery required
ASKER CERTIFIED SOLUTION
Avatar of schwertner
schwertner
Flag of Antarctica image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
We recommend you actually follow the complete set of instructions stated in the fine Oracle® Data Guard Concepts and Administration manual.