无法正常启动数据库,先用mount 状态启动,清除非归档日志。
alter database clear unarchived logfile group 3;
SQL> conn / as sysdba Connected to an idle instance. SQL> startup ORACLE instance started. Total System Global Area 603979776 bytes Fixed Size 2022664 bytes Variable Size 125829880 bytes Database Buffers 473956352 bytes Redo Buffers 2170880 bytes Database mounted. ORA-16038: log 3 sequence# 43 cannot be archived ORA-19809: limit exceeded for recovery files ORA-00312: online log 3 thread 1: '/opt/oracle/oradata/orcl/redo03.log'
SQL> startup mount ORACLE instance started. Total System Global Area 603979776 bytes Fixed Size 2022664 bytes Variable Size 125829880 bytes Database Buffers 473956352 bytes Redo Buffers 2170880 bytes Database mounted. SQL>
SQL> alter database clear unarchived logfile group 3; Database altered. SQL> alter database open; Database altered. SQL>