bbed解决ORA-01578---惜分飞

业务报ORA-01578坏块,无法正常使用,alert日志报错如下

|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Reading datafile ``'/data/u01/ZLDOCXML01.DBF' for corruption at rdba: 0x02efdc97 (``file 11, block 3136663) Reread (``file 11, block 3136663) found same corrupt data Wed Sep 13 19:02:04 2023 Corrupt Block Found ``TSN = 10, TSNAME = ZLDOCXML ``RFN = 11, BLK = 3136663, RDBA = 49274007 ``OBJN = 73646, OBJD = 73646, OBJECT = SYS_LOB0000073645C00029$$, SUBOBJECT = ``SEGMENT OWNER = ZLDOC, SEGMENT TYPE = Lob Segment DDE: Problem Key ``'ORA 1578' was completely flood controlled (0x6) Further messages ``for this problem key will be suppressed ``for up to 10 minutes |

通过dbv检查数据文件,发现只有这一个坏块

|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [oracle@zlemr ~]$ dbv ``file``=``/data/u01/ZLDOCXML01``.DBF DBVERIFY: Release 11.2.0.1.0 - Production on Wed Sep 13 17:51:03 2023 Copyright (c) 1982, 2009, Oracle and``/or its affiliates. All rights reserved. DBVERIFY - Verification starting : FILE = ``/data/u01/ZLDOCXML01``.DBF Page 3136663 is influx - most likely media corrupt Corrupt block relative dba: 0x02efdc97 (``file 11, block 3136663) Fractured block found during dbv: Data ``in bad block: ``type``: 40 ``format``: 2 rdba: 0x02efdc97 ``last change scn: 0x0002.1065d622 ``seq``: 0x2 flg: 0x04 ``spare1: 0x0 spare2: 0x0 spare3: 0x0 ``consistency value ``in tail``: 0x00000001 ``check value ``in block header: 0x48cf ``computed block checksum: 0xfe21 DBVERIFY - Verification complete Total Pages Examined : 3289600 Total Pages Processed (Data) : 0 Total Pages Failing (Data) : 0 Total Pages Processed (Index): 21037 Total Pages Failing (Index): 0 Total Pages Processed (Lob) : 2051270 Total Pages Failing (Lob) : 0 Total Pages Processed (Other): 1068900 Total Pages Processed (Seg) : 0 Total Pages Failing (Seg) : 0 Total Pages Empty : 148392 Total Pages Marked Corrupt : 1 Total Pages Influx : 1 Total Pages Encrypted : 0 Highest block SCN : 278716397 (2.278716397) |

通过bbed进入进行修复

|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [oracle@zlemr ~]$ bbed Password: BBED: Release 2.0.0.0.0 - Limited Production on Wed Sep 13 19:05:53 2023 Copyright (c) 1982, 2009, Oracle and``/or its affiliates. All rights reserved. ************* !!! For Oracle Internal Use only !!! *************** BBED> ``set filename ``'/data/u01/ZLDOCXML01.DBF' ``FILENAME ``/data/u01/ZLDOCXML01``.DBF BBED> ``set block 3136663 ``BLOCK``# 3136663 BBED> verify DBVERIFY - Verification starting FILE = ``/data/u01/ZLDOCXML01``.DBF BLOCK = 3136663 Block 3136663 is corrupt Corrupt block relative dba: 0x02efdc97 (``file 0, block 3136663) Fractured block found during verification Data ``in bad block: ``type``: 40 ``format``: 2 rdba: 0x02efdc97 ``last change scn: 0x0002.1065d622 ``seq``: 0x2 flg: 0x04 ``spare1: 0x0 spare2: 0x0 spare3: 0x0 ``consistency value ``in tail``: 0x00000001 ``check value ``in block header: 0x48cf ``computed block checksum: 0xfe21 DBVERIFY - Verification complete Total Blocks Examined : 1 Total Blocks Processed (Data) : 0 Total Blocks Failing (Data) : 0 Total Blocks Processed (Index): 0 Total Blocks Failing (Index): 0 Total Blocks Empty : 0 Total Blocks Marked Corrupt : 1 Total Blocks Influx : 2 Message 531 not found; product=RDBMS; facility=BBED BBED> map ``File: ``/data/u01/ZLDOCXML01``.DBF (0) ``Block: 3136663 Dba:0x00000000 ------------------------------------------------------------ BBED-00400: invalid blocktype (40) BBED> d ``File: ``/data/u01/ZLDOCXML01``.DBF (0) ``Block: 3136663 Offsets: 0 to 511 Dba:0x00000000 ------------------------------------------------------------------------ ``28a20000 97dcef02 22d66510 02000204 cf480000 ae1f0100 00000001 00000280 ``93840000 00000000 00000000 00000000 80dcef02 00000000 000d000a 005b4e3b ``6cbb533b 5e0867e5 623f8bb0 5f55005d 000d000a 4e3b6cbb 533b5e08 67e5623f ``8bb05f55 00320030 00320033 002d0030 0039002d 00310033 00200030 0039003a ``00310036 000d000a 4eca65e5 968f9ec4 4e1d51e4 4e3b6cbb 533b5e08 67e5623f ``002c60a3 80058bc9 65e08179 75dbff0c 65e053d1 70ed3001 754f5bd2 ff0c65e0 ``59346655 30015934 75db3001 773c82b1 ff0c65e0 9f3b585e 30016d41 6d953001 ``54bd75db 300154b3 55fd3001 54b375f0 ff0c65e0 60765fc3 30015455 5410ff0c ``65e080f8 95f73001 5fc360b8 3001547c 543856f0 96beff0c 65e05c3f 98913001 ``5c3f6025 30015c3f 75dbff0c 65e08179 6cfb7b49 4e0d9002 ff0c7cbe 795e3001 ``98df6b32 30017761 772053ef ff0c5927 5c0f4fbf 6b635e38 300267e5 4f53ff1a ``751f547d 5f816b63 5e38ff0c 54bd65e0 51458840 ff0c6241 68434f53 65e080bf ``5927ff0c 53cc4fa7 4e73623f 4e0d80c0 ff0c4e73 6c415206 6ccc591a ff0c672a ``89e653ca 786c7ed3 ff0c5fc3 80ba672a 89c1660e 663e5f02 5e38ff0c 81798f6f ``ff0c8179 90e8538b 75dbff0c 65e053cd 8df375db ff0c80a0 9e2397f3 6b635e38 ``30028f85 52a968c0 67e5ff1a 767d5e26 5e3889c4 ff1a767d 7ec680de 0020002b ``<32 bytes per line> BBED> ``set offset 8188 ``OFFSET 8188 BBED> d ``File: ``/data/u01/ZLDOCXML01``.DBF (0) ``Block: 3136663 Offsets: 8188 to 8191 Dba:0x00000000 ------------------------------------------------------------------------ ``01000000 ``<32 bytes per line> BBED> ``set count 32 ``COUNT 32 BBED> ``set mode edit ``MODE Edit BBED> d ``File: ``/data/u01/ZLDOCXML01``.DBF (0) ``Block: 3136663 Offsets: 14 to 45 Dba:0x00000000 ------------------------------------------------------------------------ ``0204cf48 0000ae1f 01000000 00010000 02809384 00000000 00000000 00000000 ``<32 bytes per line> BBED> ``set offset 8188 ``OFFSET 8188 BBED> m ``/x 022822d6 ``File: ``/data/u01/ZLDOCXML01``.DBF (0) ``Block: 3136663 Offsets: 8188 to 8191 Dba:0x00000000 ------------------------------------------------------------------------ ``022822d6 ``<32 bytes per line> BBED> ``sum apply Check value ``for File 0, Block 3136663: current = 0x48cf, required = 0x48cf BBED> verify DBVERIFY - Verification starting FILE = ``/data/u01/ZLDOCXML01``.DBF BLOCK = 3136663 DBVERIFY - Verification complete Total Blocks Examined : 1 Total Blocks Processed (Data) : 0 Total Blocks Failing (Data) : 0 Total Blocks Processed (Index): 0 Total Blocks Failing (Index): 0 Total Blocks Empty : 0 Total Blocks Marked Corrupt : 0 Total Blocks Influx : 0 Message 531 not found; product=RDBMS; facility=BBED |

dbv检测文件正常

|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [oracle@zlemr ~]$ dbv ``file``=``/data/u01/ZLDOCXML01``.DBF DBVERIFY: Release 11.2.0.1.0 - Production on Wed Sep 13 19:17:21 2023 Copyright (c) 1982, 2009, Oracle and``/or its affiliates. All rights reserved. DBVERIFY - Verification starting : FILE = ``/data/u01/ZLDOCXML01``.DBF DBVERIFY - Verification complete Total Pages Examined : 3289600 Total Pages Processed (Data) : 0 Total Pages Failing (Data) : 0 Total Pages Processed (Index): 21037 Total Pages Failing (Index): 0 Total Pages Processed (Lob) : 2051586 Total Pages Failing (Lob) : 0 Total Pages Processed (Other): 1069031 Total Pages Processed (Seg) : 0 Total Pages Failing (Seg) : 0 Total Pages Empty : 147946 Total Pages Marked Corrupt : 0 Total Pages Influx : 0 Total Pages Encrypted : 0 Highest block SCN : 278849105 (2.278849105) |

业务测试正常,数据完美恢复

相关推荐
runing_an_min3 小时前
ffmpeg视频滤镜:替换部分帧-freezeframes
ffmpeg·音视频·freezeframes
ruizhenggang3 小时前
ffmpeg本地编译不容易发现的问题 — Error:xxxxx not found!
ffmpeg
runing_an_min5 小时前
ffmpeg视频滤镜:提取缩略图-framestep
ffmpeg·音视频·framestep
韩曙亮17 小时前
【FFmpeg】FFmpeg 内存结构 ③ ( AVPacket 函数简介 | av_packet_ref 函数 | av_packet_clone 函数 )
ffmpeg·音视频·avpacket·av_packet_clone·av_packet_ref·ffmpeg内存结构
oushaojun21 天前
ubuntu中使用ffmpeg和nginx推流rtmp视频
nginx·ubuntu·ffmpeg·rtmp
莫固执,朋友1 天前
网络抓包工具tcpdump 在海思平台上的编译使用
网络·ffmpeg·音视频·tcpdump
lxkj_20241 天前
修改ffmpeg实现https-flv内容加密
网络协议·https·ffmpeg
cuijiecheng20181 天前
音视频入门基础:MPEG2-TS专题(6)——FFmpeg源码中,获取MPEG2-TS传输流每个transport packet长度的实现
ffmpeg·音视频
VisionX Lab1 天前
数据脱敏工具:基于 FFmpeg 的视频批量裁剪
python·ffmpeg·音视频
柳鲲鹏2 天前
全网首发:Ubuntu编译跨平台嵌入式支持ffmpeg的OpenCV
linux·ubuntu·ffmpeg