eygle.com   eygle.com
eygle.com eygle
eygle.com  
 

« DataGuard ORA-01111文件创建失败问题解决 | Blog首页 | dbms_system.ksdwrt:向告警日志文件写指定信息 »

恩墨科技为某企业提供紧急数据恢复服务
modb.pro

近日,恩墨科技接到某企业的求助请求,因为硬盘故障,导致数据库崩溃,请求协助恢复数据。

我们检查用户的数据库环境,发现虽然RAID 5的硬盘已经恢复,但是发现数据文件遭到了损坏,出现了坏块,在数据库的日志中,报出以下异常:
Fri Jul  3 15:58:16 2009
Started recovery at
 Thread 1: logseq 10551, block 80880, scn 0.0
Recovery of Online Redo Log: Thread 1 Group 3 Seq 10551 Reading mem 0
  Mem# 0 errs 0: /opt/oracle/oradata/erpdb/redo03.log
***
Corrupt block relative dba: 0x06428528 (file 125, block 165160)
Fractured block found during crash/instance recovery
Data in bad block -
 type: 6 format: 2 rdba: 0x06428528
 last change scn: 0x0000.8f325e2e seq: 0x1 flg: 0x06
 consistency value in tail: 0x47a20601
 check value in block header: 0x24c3, computed block checksum: 0x198f
 spare1: 0x0, spare2: 0x0, spare3: 0x0
***
Reread of rdba: 0x06428528 (file 125, block 165160) found same corrupted data
进一步的恢复过程中,数据库出现如下错误:
Fri Jul  3 15:58:16 2009
Errors in file /opt/oracle/admin/erpdb/udump/erpdb_ora_4759.trc:
ORA-07445: exception encountered: core dump [ksmfrs()+227] [SIGSEGV] [unknown code] [0x000000000] [] []
Fri Jul  3 15:58:17 2009
Errors in file /opt/oracle/admin/erpdb/udump/erpdb_ora_4759.trc:
ORA-07445: exception encountered: core dump [ksmerr()+106] [SIGSEGV] [unknown code] [0x000000000] [] []
ORA-00607: Internal error occurred while making a change to a data block
ORA-00602: internal programming exception
ORA-07445: exception encountered: core dump [ksmfrs()+227] [SIGSEGV] [unknown code] [0x000000000] [] []
一系列的ORA-07445错误表明数据库遇到了大麻烦,当尝试进行Recover的过程中,ORA-00607表明出现了数据块的不一致。
由于没有备份,恢复起来就比较麻烦,所以我仍然想说的是:备份重于一切。

由于数据块出现了损坏,其中的数据不可避免的遭到了损失,我们可以通过BBED等工具修复数据块,虽然可以骗过数据库,强制启动数据库,但是无法骗过自己,其中的数据难免遭到损失。

当然我们可以做的另外一件事是通过LOGMNR来解析日志,通过SQL_REDO来还原部分数据,找出受到影响的事务,恢复数据。

最终我们帮助用户成功的启动数据库,在业务生产到来之前恢复了服务。

-The End-




历史上的今天...
    >> 2017-07-07文章:
    >> 2008-07-07文章:
           孩子改变世界
    >> 2005-07-07文章:
           瑞典游记-序幕I

By eygle on 2009-07-07 08:21 | Comments (2) | Backup&Recovery | Life | 2328 |

2 Comments

盖大师,恭喜发财


CopyRight © 2004~2020 云和恩墨,成就未来!, All rights reserved.
数据恢复·紧急救援·性能优化 云和恩墨 24x7 热线电话:400-600-8755 业务咨询:010-59007017-7040 or 7037 业务合作: marketing@enmotech.com