OPEN_MODE DATABASE_ROLE DB_UNIQUE_NAME
-------------------- -------------------- ---------------
READ ONLY WITH APPLY PHYSICAL STANDBY ORCL151
SQL> show parameter control;
NAME TYPE VALUE
------------------------------------ ---------------------- ------------------------------
control_file_record_keep_time integer 7
control_files string /u01/app/oracle/oradata/orcl15
1/control01.ctl, /u01/app/orac
le/fast_recovery_area/orcl150/
control02.ctl, /u01/app/oracle
/fast_recovery_area/orcl150/co
ntrol03.ctl
control_management_pack_access string DIAGNOSTIC+TUNING
SQL> alter database recover managed standby database cancel;
Database altered.
SQL> alter system set control_files='/u01/app/oracle/oradata/orcl151/control01.ctl','/u01/app/oracle/fast_recovery_area/orcl150/control02.ctl','/u01/app/oracle/fast_recovery_area/orcl150/control03.ctl','/u01/app/oracle/fast_recovery_area/orcl150/control04.ctl' scope=spfile;
Total System Global Area 3206836224 bytes
Fixed Size 2257520 bytes
Variable Size 1811942800 bytes
Database Buffers 1375731712 bytes
Redo Buffers 16904192 bytes
Database mounted.
Database opened.
SQL> show parameter control
NAME TYPE VALUE
------------------------------------ ---------------------- ------------------------------
control_file_record_keep_time integer 7
control_files string /u01/app/oracle/oradata/orcl15
1/control01.ctl, /u01/app/orac
le/fast_recovery_area/orcl150/
control02.ctl, /u01/app/oracle
/fast_recovery_area/orcl150/co
ntrol03.ctl, /u01/app/oracle/f
ast_recovery_area/orcl150/cont
rol04.ctl
control_management_pack_access string DIAGNOSTIC+TUNING
SQL> alter database recover managed standby database using current logfile disconnect from session;