ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL;
ALTER SYSTEM SET STANDBY_FILE_MANAGEMENT='MANUAL';
ALTER DATABASE CLEAR LOGFILE GROUP 2;
ALTER DATABASE DROP LOGFILE GROUP 2;
我们可以把clearing状态的online redo log 都通过这样的方法给删除掉,如果是current 状态的online redo log,在主库切一下日志,然后再进行删除