Database Administration (MOSC)

MOSC Banner

How to drop a broken standby log file

edited Oct 18, 2017 4:54PM in Database Administration (MOSC) 1 comment

I had tested upgrading a DataGuard configuration with primary and standby on the same host.  After the tests succeeded, I upgraded the production database.  Now I didn't need the test standby any more.

Now, I have use for an independent duplicate database.  So I activated the former standby, took it out of DataGuard, and gave it a new id.

That works seemingly fine, but this database shares a standby log file with its former primary.  And I kept seeing errors in the alert log:

Errors in file /home/oracle/base/diag/rdbms/dup_uniq/dupsid/trace/dupsid_tt03_12415.trc:ORA-00338: log 1 of thread 1 is more recent than control fileORA-00312: online log 1 thread 1: '/home/oracle/flash_recovery_area/PRIMARY_UNIQ/onlinelog/o1_mf_1_dwnzn52g_.log'

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center