How to Rename a Datafile in Primary Database Within in Physical Dataguard Configuration
Last updated on NOVEMBER 21, 2017
Applies to:Oracle Database - Enterprise Edition - Version 22.214.171.124 to 126.96.36.199 [Release 9.2 to 11.2]
Information in this document applies to any platform.
How to rename a datafile in the primary database and manually propagate the changes to the standby database.
When you rename one or more datafiles in the primary database, the change is not propagated to the standby database, even if the STANDBY_FILE_MANAGEMENT initialization parameter is set to AUTO.
If you do not rename the corresponding datafile at the standby system, and then try to refresh the standby database control file, the standby database will attempt to use the renamed datafile, but it will not find it. Consequently, you will see error messages similar to the following in the alert log:
ORA-01157: cannot identify/lock datafile 14 - see DBWR trace file
ORA-01110: datafile 14: '/Disk1/oracle/oradata/mum/payroll_01.dbf'
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms