Home > Database > Mysql Tutorial > 错误代码ORA-16038的解决办法

错误代码ORA-16038的解决办法

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 17:15:09
Original
3025 people have browsed it

数据库装载完毕。ORA-16038: 日志 3 序列号 84 无法归档ORA-19809: 超出了恢复文件数的限制ORA-00312: 联机日志 3 线程 1:

SQL> startup
ORA-32004: obsolete and/or deprecated parameter(s) spec

Oracle 例程已经启动。
Total System Global Area  314572800 bytes
Fixed Size                  1248768 bytes
Variable Size             171966976 bytes
Database Buffers          134217728 bytes
Redo Buffers                7139328 bytes

数据库装载完毕。
ORA-16038: 日志 3 序列号 84 无法归档
ORA-19809: 超出了恢复文件数的限制
ORA-00312: 联机日志 3 线程 1:
'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO03.LOG'
SQL> select group#,sequence#,archived ,status from v$lo
    GROUP#  SEQUENCE# ARC STATUS
---------- ---------- --- ----------------
         1         86 NO  CURRENT
         3         84 NO  INACTIVE
         2         85 NO  INACTIVE
SQL> alter database clear logfile group 3;
alter database clear logfile group 3
*
第 1 行出现错误:
ORA-00350: 日志 3 (实例 orcl 的日志, 线程 1) 需要归档
ORA-00312: 联机日志 3 线程 1:
'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO03.LOG'
SQL> archive log list     /*查看归档模式*/

数据库日志模式            存档模式
自动存档             启用
存档终点            USE_DB_RECOVERY_FILE_DEST
最早的联机日志序列     84
下一个存档日志序列   84
当前日志序列           86
SQL> alter database open;
alter database open
*
第 1 行出现错误:
ORA-16014: 日志 3 的序列号 84 未归档, 没有可用的目的地
ORA-00312: 联机日志 3 线程 1:
'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO03.LOG'
SQL> alter database clear unarchived logfile group 3; 
/*清除无用的非归档的日志文件组*/
数据库已更改。
SQL> alter database open;
数据库已更改。

linux

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template