GROUP# THREAD# SEQUENCE# BYTES MEMBERS ARC STATUS
---------- ---------- ---------- ---------- ---------- --- ----------------
FIRST_CHANGE# FIRST_TIM
------------- ---------
3 1 329470 104857600 2 NO INACTIVE
5612819040 09-AUG-10
4 1 329471 104857600 2 NO CURRENT
5612820191 09-AUG-10
5 1 329469 104857600 2 NO INACTIVE
5612814825 09-AUG-10
SQL> alter system archive log current;
alter system archive log current
*
ERROR at line 1:
ORA-16038: log 5 sequence# 329469 cannot be archived
ORA-19504: failed to create file ""
ORA-00312: online log 5 thread 1: '/mofprod/oracle/proddata/log05a.dbf'
ORA-00312: online log 5 thread 1: '/mofprod/oracle/proddata/log05b.dbf'
SQL> alter database clear logfile group 5;
alter database clear logfile group 5
*
ERROR at line 1:
ORA-00350: log 5 of thread 1 needs to be archived
ORA-00312: online log 5 thread 1: '/mofprod/oracle/proddata/log05a.dbf'
ORA-00312: online log 5 thread 1: '/mofprod/oracle/proddata/log05b.dbf'
SQL> alter database clear unarchived logfile group 5;
Database altered.
SQL> select * from v$log;
GROUP# THREAD# SEQUENCE# BYTES MEMBERS ARC STATUS
---------- ---------- ---------- ---------- ---------- --- ----------------
FIRST_CHANGE# FIRST_TIM
------------- ---------
3 1 329470 104857600 2 NO INACTIVE
5612819040 09-AUG-10
4 1 329471 104857600 2 NO ACTIVE
5612820191 09-AUG-10
5 1 329472 104857600 2 NO CURRENT
5612873083 09-AUG-10