您的位置:首页 > 其它

特殊恢复ORA-00312 ORA-19809 ORA-16038

2013-07-26 13:01 435 查看
有个测试机,我尝试导入一些数据进去的时候到

Processing object type DATABASE_EXPORT/SCHEMA/TABLE/TABLE_DATA

就不动了,然后我跟踪进程如下

[root@Uf-ad-oracle LEXUN]# strace -p 3533

Process 3533 attached - interrupt to quit

read(7,

和明显,它是在读取什么东西,然后我就想测试一下磁盘用dd试了一下没什么问题

然后就将impdp操作CTRL+C掉了,然后直接reboot服务器

然后起来的时候结果如下

[oracle@ad-oracle ~]$ sqlplus / as sysdba

SQL*Plus: Release 10.2.0.4.0 - Production on 星期五 7月 26 12:36:37 2013

Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.

Connected to an idle instance.

SQL> startup //启动数据库

ORACLE instance started.

Total System Global Area 4194304000 bytes

Fixed Size            2089240 bytes

Variable Size          855641832 bytes

Database Buffers     3321888768 bytes

Redo Buffers           14684160 bytes

Database mounted.

ORA-16038: log 3 sequence# 132 cannot be archived //可以看出这儿数据库无法归档

ORA-19809: limit exceeded for recovery files

ORA-00312: online log 3 thread 1: '/oracle/oradata/dev/redo03.log' //是这个文件

SQL> alter database clear unarchived logfile '/oracle/oradata/dev/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 4194304000 bytes

Fixed Size            2089240 bytes

Variable Size          855641832 bytes

Database Buffers     3321888768 bytes

Redo Buffers           14684160 bytes

Database mounted.

Database opened.

SQL>

####################################

迷途小运维随笔

作者:john
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: