今天导数据由于数据量比较大,导了有一半不动了,关也关不掉。没办法,强制关闭数据库
SQL>shutdown abort
SQL>startup
ORACLE instance started.
Total System Global Area 436207616 bytes
Fixed Size 1219832 bytes
Variable Size 96469768 bytes
Database Buffers 331350016 bytes
Redo Buffers 7168000 bytes
Database mounted.
ORA-16038: log 3 sequence# 52 cannot be archived
ORA-19809: limit exceeded for recovery files
ORA-00312: online log 3 thread 1: '/oracle/oradata/orcl/redo03.log'
出现这样的错误
google了一下执行
SQL> alter database clear unarchived logfile '/oracle/oradata/orcl/redo03.log';
Database altered.
SQL> shutdown immediate
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area 436207616 bytes
Fixed Size 1219832 bytes
Variable Size 96469768 bytes
Database Buffers 331350016 bytes
Redo Buffers 7168000 bytes
Database mounted.
Database opened.
数据库正常打开,无法归档错误主要是因为数据库不正常关闭,SQL语句出错造成数据线程停止所因起。
同样:ORA-16038: log 3 sequence# 52 cannot be archived
ORA-19809: limit exceeded for recovery files
ORA-00312: online log 3 thread 1: '/oracle/oradata/orcl/redo03.log'
阅读(4504) | 评论(0) | 转发(0) |