Professional Documents
Culture Documents
Pre-Requisites:
Flashback should be on
LOG_MODE FORCE_LOGGING
———— ————-
ARCHIVELOG YES
FLASHBACK_ON CURRENT_SCN
—————— ———–
YES 2.6969E+10
no rows selected.
———- —————- ————- ———- ———- ——- ———- ———- ———- ———— ———-
NAME
——————————————————————————————————————————————–
/u02/oradata/REPLICA/temp01.dbf
OPERATIONS
Login to primary001
Login to standby server – standby001 and stop the Listener if any running
SQL> startup
/
Copy / sftp this file to /u02/oradata/REPLICA
sftp oracle@standby001
pwd: *****
cd /u02/oradata/REPLICA
lcd /u01/oracle
Ensure the controlfile is pointing to the just copied standby controlfile under “/u02/oradata/REPLICA” directory.
Sqlplus / as sysdba
TABLESPACE GROUP ”
SQL> alter database recover managed standby database disconnect from session
IF needed , do check in Primary Server / database
Check the open_mode, protection_mode, database_role, Flashback Status in the STANDBY Server
Check the open_mode, protection_mode, database_role, Flashback Status in the PRIMARY Server
Also run the ControlM Job and verify if the standby database is in sync with Primary
Connected to:
With the Partitioning, Data Mining and Real Application Testing options
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 – 64bit Production
With the Partitioning, Data Mining and Real Application Testing options
….
Create spfile from pfile;
Shutdown immediate
Startup nomount
In Primary – primary001
Login as db user
Bb15908
Note:- if you have enable DB Auditing , then the following is required to open the database in read only mode.
ERROR at line 1:
ERROR at line 1:
audit_trail string DB
System altered.
Shutdown immediate
Database dismounted.
SQL>
SQL>
SQL> startup nomount
Database altered.
audit_trail string OS
Shutdown immediate
Startup nomount
System altered.
Shutdown immediate
Startup nomount