How To Create a Control File for the Standby Database

On the primary database, create the control file for the standby database, as shown in the following example:


SQL> ALTER DATABASE CREATE STANDBY CONTROLFILE AS '/tmp/stby.ctl';


Note:
You cannot use a single control file for both the primary and standby databases.
The filename for the newly created standby control file must be different from the filename of the current control file of the primary database. 
The control file must also be created after the last time stamp for the backup datafiles.


Comments

Popular posts from this blog

[FATAL] [DBT-10503] Template file is not specified

Resolving ORA-10635 and ORA-39171 Errors During BLOB Tablespace Maintenance

How to resolve RMAN-06035: wrong version of recover.bsq, expecting 11.2.0.4, found 11.2.0.2