ORA-16038,ORA-19809,ORA-00312问题的解决方法
时间:2010-12-25 来源:jasoname
今天导数据由于数据量比较大,导了有一半不动了,关也关不掉。没办法,强制关闭数据库
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语句出错造成数据线程停止所因起。
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语句出错造成数据线程停止所因起。
相关阅读 更多 +