Oracle Solution for Error ora-16140

Solution for Oracle Error ORA-16140

ORA-16140: standby online logs have not been recovered

What triggered the Error:

The standby database has online logs containing redo that has not been recovered. Activating the standby would lose redo contained in the online logs.

What should we do to fix it:

To recover the standby online logs issue the following command: ALTER DATABASE RECOVER MANAGED STANDBY DATABASE FINISH. Then re-issue the ALTER DATABASE ACTIVATE STANDBY DATABASE command. To activate the standby without recovering the online logs, issue the following command: ALTER DATABASE ACTIVATE STANDBY DATABASE SKIP STANDBY LOGFILE.