Recovering the primary database's datafile using the physical standby, and vice versa
Last updated on JANUARY 02, 2018
Applies to:Oracle Database - Enterprise Edition - Version 18.104.22.168 and later
Information in this document applies to any platform.
***Checked for relevance on 16-July-2015***
How to recover the primary database's datafile using a copy of a standby database's datafile.
How to recover the standby database's datafile using a copy of a primary database's datafile.
Before replacing a datafile with a copy from either production or standby, please confirm that all archivelogs are available for full recovery of this datafile. It is also important to ensure that the source is corruption-free. Run DBV or RMAN validate to check for corruption.
a) dbv must return with zero corrupted pages
If using ASM, you need to also supply the userid for dbv:
b) rman validate:
Once RMAN is completed, this view must return zero rows:
<Note 1265884.1> 'Resolving ORA-752 or ORA-600  During Standby Recovery'
Datafiles should not be copied to a physical standby until the primary has been cleared of any corruption.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms