遭遇数据库自动关闭()

  • Post author:
  • Post category:其他


日志显示:

Tue Dec 14 15:37:40 2010

ITPUB个人空间QxL X W1s;_:~qV


Flush retried for xcb 0x2f5fc160, pmd 0x2f7a98e8

ITPUB个人空间h,q-bvNb


Doing block recovery for file 2 block 145


3FZ+q5hG9@]Y21916216

Block recovery from logseq 8, block 65 to scn 642130


iZA&Fx3XWvc21916216

Tue Dec 14 15:37:40 2010

ITPUB个人空间.m pO-e4?S;s#Z


Recovery of Online Redo Log: Thread 1 Group 1 Seq 8 Reading mem 0

ITPUB个人空间-jyV.binC/P{Z2]R)m


Mem# 0 errs 0: /u01/app/oracle/oradata/stream2/redo01.log


o3iI m(oHM hY21916216

Block recovery completed at rba 8.69.16, scn 0.642132


.F Cx6ZSh@21916216

Tue Dec 14 15:37:48 2010


.|r[eN8TUsz21916216

DEBUG: Replaying xcb 0x2f601ec0, pmd 0x2f798cd4 for failed op 8


)qOF/’?tEi4H21916216

Doing block recovery for file 2 block 1893


n’Twcz0WO21916216

Block recovery from logseq 8, block 63 to scn 642126

ITPUB个人空间;w6yD/GQNe N


Tue Dec 14 15:37:48 2010

ITPUB个人空间.ua xKY F}


Recovery of Online Redo Log: Thread 1 Group 1 Seq 8 Reading mem 0


0{7P V R-Md21916216

Mem# 0 errs 0: /u01/app/oracle/oradata/stream2/redo01.log

ITPUB个人空间`./ [wj@O#m(|)UI Y


Block recovery completed at rba 8.67.16, scn 0.642129

ITPUB个人空间fU#Z4qo&/[N


Tue Dec 14 15:37:49 2010

ITPUB个人空间YbcdW9aM


Errors in file /u01/app/oracle/admin/stream2/bdump/stream2_pmon_3971.trc:

ITPUB个人空间a’]-k*_6X3@”wH ]@


ORA-00600: internal error code, arguments: [4194], [38], [46], [], [], [], [], []


X2e wt1up21916216

Tue Dec 14 15:37:50 2010

ITPUB个人空间2DE(t Dw5L:Q


Errors in file /u01/app/oracle/admin/stream2/bdump/stream2_pmon_3971.trc:

ITPUB个人空间GO5pq9g&M6@[3w


ORA-00600: internal error code, arguments: [4194], [38], [46], [], [], [], [], []

ITPUB个人空间Ao PS)U2i*j3i


PMON: terminating instance due to error 472

ITPUB个人空间6C}oK O’q


Instance terminated by PMON, pid = 3971

后来在yangtingkun博客看到解决方法如下:


检查

alert

文件,发现导致问题的原因是由于掉电导致日志文件损坏,在进行

CRASH

恢复时无法将数据库恢复到一致性的状态。


对大致情况有了一定的了解后,准备开始着手恢复工作:首先是



备份



现场,这样如果恢复失败,至少保留了出错是的环境。


然后尝试利用隐含参数

_allow_resetlogs_corruption

来打开数据库,这个步骤在很多篇文章中都描述过了,这里就不重复了,可以参考:


http://yangtingkun.itpub.net/post/468/464701



数据库顺利打开,

ALTER DATABASE OPEN RESETLOGS

操作并没有报错,但是由于使用了隐含参数,因此数据库肯定会丢失数据,而且会处于不一致的状态,为了避免数据库的不一致对数据造成进一步的损害,准备将业务用户执行逻辑导出:



D:>exp hc/hc file=hc_20100303.dmp buffer=2048000 compress=n log=hc_20100303.log



Export: Release 10.2.0.1.0 – Production on


星期三

3



3 17:38:01 2010




Copyright (c) 1982,



2005



,



Oracle



. All rights reserved.



版权声明:本文为ONLYONE_HTLIU原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。