Hello DBA Experts,
Can anyone help me to solve the following query faced me:
SQL> startup mount;
ORACLE instance started.
Total System Global Area 1140850688 bytes
Fixed Size 2923584 bytes
Variable Size 419431360 bytes
Database Buffers 704643072 bytes
Redo Buffers 13852672 bytes
Database mounted.
SQL> alter database open;
alter database open
*
ERROR at line 1:
ORA-10458: standby database requires recovery
ORA-01152: file 1 was not restored from a sufficiently old backup
ORA-01110: data file 1:
'/u01/app/oracle/oradata/DG11G_STBY/datafile/o1_mf_system_bjl6rb9q_.dbf'
Thanks in Advance!
Read Here at Oracle Interview Questions to Get More Questions with Explanation like this one.
As per you mentioned that alter database open; in the standby server is not allowed. You make sure that every standby server is in read only mode becoz none of the user doesnot access. If any user is uses that database then it is not a standby server.
This issue (standby database requires recovery) i.e, requires recovery for standby database is caused due to one of the datafiles in-consistent and to make standby database read only mode. Here all the datafiles should be consistent and bring the standby database read only mode.
The error is occuring becoz MRP is still running in the database which keeps the media recover on.
Resolution- Stop the media recovery and then place the database in readonly mode by using "SQL>recover managed standy databse cancel;"
Then "SQL>alter database open read only;"
After that if you want to start the MRP by execute the statement
"SQL>recover managed standby database disconnect from session using current logfile;"
Check with this procedure... -- Rockz