alter database recover managed standby database cancel;
SQL> alter database drop logfile group 4;
alter database drop logfile group 4
*
ERROR at line 1:
ORA-00261: log 4 of thread 1 is being archived or modified
ORA-00312: online log 4 thread 1: '/u01/app/oracle/oradata/shanghai/redo04.log'
说明在占用呢呗。
在主库alter system switch logfile;会触发备库的切的。
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29990276/viewspace-1685909/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/29990276/viewspace-1685909/