导航

ORA-16038,ORA-19809,ORA-00312问题的解决方法

Posted on 2011-03-15 19:50  datalife  阅读(383)  评论(0编辑  收藏  举报
今天导数据由于数据量比较大,导了有一半不动了,关也关不掉。没办法,强制关闭数据库
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'
错误在Flash Recovery Area空间不足导致数据库不能打开或hang住也出现过但是这里出现的问题和本节还是不一样的。