当前位置: 首页 > news >正文

Corrupt block relative dba: 0x02c0b382 (file 11, block 45954)

 接前面断电故障处理2:oracle数据库断电无法启动恢复-CSDN博客

DM00 started with pid=145, OS id=16516, job SYS.SYS_IMPORT_TABLE_01
2024-09-13T20:05:22.331302+08:00
ADVISORY: Please collect redo for investigation of ORA-8103. Use command:
   ALTER SYSTEM DUMP REDO scn min 1 scn max 126825832 dba min 11 45954 dba max 11 45954;
Hex dump of (file 11, block 45954) in trace file /home/db/oracle/diag/rdbms/jycaps/jycaps/trace/jycaps_ora_16575.trc

Corrupt block relative dba: 0x02c0b382 (file 11, block 45954)
Bad header found during buffer read (logical check)
Data in bad block:
 type: 35 format: 2 rdba: 0x02c0b382
 last change scn: 0x0000.0000.078d2119 seq: 0x1 flg: 0x04
 spare3: 0x0
 consistency value in tail: 0x21192301
 check value in block header: 0xb50a
 computed block checksum: 0x0

2024-09-13T20:05:34.124374+08:00
ADVISORY: Please collect redo for investigation of ORA-8103. Use command:
   ALTER SYSTEM DUMP REDO scn min 1 scn max 126825846 dba min 42 234330 dba max 42 234330;
Hex dump of (file 42, block 234330) in trace file /home/db/oracle/diag/rdbms/jycaps/jycaps/trace/jycaps_ora_16575.trc

Corrupt block relative dba: 0x0a83935a (file 42, block 234330)
Bad header found during buffer read (logical check)
Data in bad block:
 type: 35 format: 2 rdba: 0x0a83935a
 last change scn: 0x0000.0000.0777f48b seq: 0x1 flg: 0x04
 spare3: 0x0
 consistency value in tail: 0xf48b2301
 check value in block header: 0x4c6
 computed block checksum: 0x0


参考:
ORA-600 [kcbz_check_objd_typ_3] Error from SMON Process Repeatedly (Doc ID 577579.1)    

SQL> SELECT owner,
  2     segment_name,
  3     partition_name,
  4     segment_type,
  5     bytes
  6   FROM dba_segments
  7   WHERE segment_name in('MAIN_JOB_SMS_LIST','FLE_CHANGETIME_BACK');

OWNER
--------------------------------------------------------------------------------
SEGMENT_NAME
--------------------------------------------------------------------------------
PARTITION_NAME
--------------------------------------------------------------------------------
SEGMENT_TYPE                              BYTES
------------------------------------ ----------
MDM
MAIN_JOB_SMS_LIST

TABLE


OWNER
--------------------------------------------------------------------------------
SEGMENT_NAME
--------------------------------------------------------------------------------
PARTITION_NAME
--------------------------------------------------------------------------------
SEGMENT_TYPE                              BYTES
------------------------------------ ----------
FLEXSCHE
FLE_CHANGETIME_BACK

TABLE                                    917504


OWNER
--------------------------------------------------------------------------------
SEGMENT_NAME
--------------------------------------------------------------------------------
PARTITION_NAME
--------------------------------------------------------------------------------
SEGMENT_TYPE                              BYTES
------------------------------------ ----------
FLEXSCHE_MONTH
FLE_CHANGETIME_BACK

TABLE                                   2097152


SQL>  select * from v$database_block_corruption;

no rows selected

SQL> exit
Disconnected from Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production
[oracle@jyc dmp]$ rman target /

Recovery Manager: Release 12.2.0.1.0 - Production on Fri Sep 13 20:10:03 2024

Copyright (c) 1982, 2017, Oracle and/or its affiliates.  All rights reserved.

connected to target database: jycAPS (DBID=2374181147)

RMAN> backup validate datafile 11;

Starting backup at 2024-09-13 20:10:12
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=123 device type=DISK
channel ORA_DISK_1: starting full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
input datafile file number=00011 name=/home/db/oracle/oradata/jycaps/flexsche_data_01.dbf
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:25
List of Datafiles
=================
File Status Marked Corrupt Empty Blocks Blocks Examined High SCN
---- ------ -------------- ------------ --------------- ----------
11   OK     0              61722        584192          126820454 
  File Name: /home/db/oracle/oradata/jycaps/flexsche_data_01.dbf
  Block Type Blocks Failing Blocks Processed
  ---------- -------------- ----------------
  Data       0              425240          
  Index      0              90604           
  Other      0              6626            

Finished backup at 2024-09-13 20:10:38

RMAN> select * from v$database_block_corruption;


no rows selected

RMAN> backup validate datafile 42;

Starting backup at 2024-09-13 20:11:11
using channel ORA_DISK_1
channel ORA_DISK_1: starting full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
input datafile file number=00042 name=/home/db/oracle/oradata/jycaps/wb_dispatcher_data_02.dbf
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:15
List of Datafiles
=================
File Status Marked Corrupt Empty Blocks Blocks Examined High SCN
---- ------ -------------- ------------ --------------- ----------
42   OK     0              20260        255232          125301901 
  File Name: /home/db/oracle/oradata/jycaps/wb_dispatcher_data_02.dbf
  Block Type Blocks Failing Blocks Processed
  ---------- -------------- ----------------
  Data       0              227616          
  Index      0              5153            
  Other      0              2203            

Finished backup at 2024-09-13 20:11:26

RMAN> exit


Recovery Manager complete.
[oracle@jyc dmp]$ sqlplus / as sysdba

SQL*Plus: Release 12.2.0.1.0 Production on Fri Sep 13 20:12:00 2024

Copyright (c) 1982, 2016, Oracle.  All rights reserved.


Connected to:
Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production

SQL> select owner, segment_name, segment_type, partition_name,tablespace_name from dba_extents where relative_fno = 11 and 45954 between block_id and (block_id+blocks-1);

no rows selected

SQL> select owner, segment_name, segment_type, partition_name,tablespace_name from dba_extents where relative_fno = 42 and 234330 between block_id and (block_id+blocks-1);

no rows selected

SQL> select * from v$database_block_corruption;

no rows selected
 

 

SQL> !
[oracle@jyc dmp]$ grep MISMATCH /home/db/oracle/diag/rdbms/jycaps/jycaps/trace/jycaps_ora_16575.trc|more
OBJD MISMATCH typ=35, seg.obj=0, diskobj=305208, dsflg=0, dsobj=305168, tid=305168, cls=4
OBJD MISMATCH typ=35, seg.obj=0, diskobj=305208, dsflg=0, dsobj=305168, tid=305168, cls=4
OBJD MISMATCH typ=35, seg.obj=0, diskobj=305214, dsflg=0, dsobj=305204, tid=305204, cls=4
OBJD MISMATCH typ=35, seg.obj=0, diskobj=305214, dsflg=0, dsobj=305204, tid=305204, cls=4
[oracle@jyc dmp]$ sqlplus / as sysdba

SQL*Plus: Release 12.2.0.1.0 Production on Fri Sep 13 20:24:27 2024

Copyright (c) 1982, 2016, Oracle.  All rights reserved.


Connected to:
Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production

SQL> select * from seg$ where file#=11 and block# = 45954;

     FILE#     BLOCK#      TYPE#        TS#     BLOCKS    EXTENTS    INIEXTS
---------- ---------- ---------- ---------- ---------- ---------- ----------
   MINEXTS    MAXEXTS    EXTSIZE     EXTPCT      USER#      LISTS     GROUPS
---------- ---------- ---------- ---------- ---------- ---------- ----------
BITMAPRANGES  CACHEHINT   SCANHINT    HWMINCR     SPARE1     SPARE2
------------ ---------- ---------- ---------- ---------- ----------
        11      45954          5          8        112         14          8
         1 2147483645        128          0        120          0          0
  2147483645          0          0     305168    4325633


SQL> select * from seg$ where file#=42 and block# = 234330;

     FILE#     BLOCK#      TYPE#        TS#     BLOCKS    EXTENTS    INIEXTS
---------- ---------- ---------- ---------- ---------- ---------- ----------
   MINEXTS    MAXEXTS    EXTSIZE     EXTPCT      USER#      LISTS     GROUPS
---------- ---------- ---------- ---------- ---------- ---------- ----------
BITMAPRANGES  CACHEHINT   SCANHINT    HWMINCR     SPARE1     SPARE2
------------ ---------- ---------- ---------- ---------- ----------
        42     234330          5         28          8          1          2
         1 2147483645          1          0        118          0          0
  2147483645          0          0     305204    4194561


SQL> select object_id, data_object_id, owner, object_name, object_type from dba_objects where data_object_id in(305168, 305208) or object_id in (305168, 305208);

 OBJECT_ID DATA_OBJECT_ID
---------- --------------
OWNER
--------------------------------------------------------------------------------
OBJECT_NAME
--------------------------------------------------------------------------------
OBJECT_TYPE
----------------------------------------------
     79395         305168
FLEXSCHE
FLE_CHANGETIME_BACK
TABLE


SQL> select object_id, data_object_id, owner, object_name, object_type from dba_objects where data_object_id in(305204, 305214) or object_id in (305204, 305214);

 OBJECT_ID DATA_OBJECT_ID
---------- --------------
OWNER
--------------------------------------------------------------------------------
OBJECT_NAME
--------------------------------------------------------------------------------
OBJECT_TYPE
----------------------------------------------
     78431         305204
MDM
MAIN_JOB_SMS_LIST
TABLE


SQL> select segment_name, owner, segment_type from sys.dba_extents
  2  where file_id = 11 and 45954 between block_id and block_id + blocks -1;

no rows selected

SQL> select segment_name, owner, segment_type from sys.dba_extents
  2  where file_id = 42 and 234330 between block_id and block_id + blocks -1;

no rows selected

SQL> 

相关文章:

  • 北京网站建设多少钱?
  • 辽宁网页制作哪家好_网站建设
  • 高端品牌网站建设_汉中网站制作
  • 动态内存
  • 【Obsidian】当笔记接入AI,Copilot插件推荐
  • 函数模板(初阶)
  • C:字符串函数(续)-学习笔记
  • C语言中实现在动态库中访问另一个动态库变量
  • 白月光git
  • 为什么H.266未能普及?EasyCVR视频编码技术如何填补市场空白
  • 如何建立一个Webservice WSDL的简单例子(完整例子)
  • java数据结构----图
  • 清华大佬自曝:接到了省烟草局的offer,我就拒掉了华为!结果华为立马给我申请了特殊涨薪,总包70w是烟草的2倍,这可如何是好?
  • SpringBoot+vue集成sm国密加密解密
  • AI学习指南深度学习篇-RMSprop的数学原理
  • 【mechine learning-十-梯度下降-学习率】
  • 微软九月补丁星期二发现了 79 个漏洞
  • k8s 资源管理
  • emacs初体验
  • IIS 10 PHP CGI 设置 PHP_INI_SCAN_DIR
  • Java多态
  • MaxCompute访问TableStore(OTS) 数据
  • Median of Two Sorted Arrays
  • MyEclipse 8.0 GA 搭建 Struts2 + Spring2 + Hibernate3 (测试)
  • Netty+SpringBoot+FastDFS+Html5实现聊天App(六)
  • October CMS - 快速入门 9 Images And Galleries
  • Promise面试题2实现异步串行执行
  • react-core-image-upload 一款轻量级图片上传裁剪插件
  • 解析带emoji和链接的聊天系统消息
  • 聚类分析——Kmeans
  • 开放才能进步!Angular和Wijmo一起走过的日子
  • 快速构建spring-cloud+sleuth+rabbit+ zipkin+es+kibana+grafana日志跟踪平台
  • 力扣(LeetCode)56
  • 实战|智能家居行业移动应用性能分析
  • 王永庆:技术创新改变教育未来
  • 微服务核心架构梳理
  • 微信小程序上拉加载:onReachBottom详解+设置触发距离
  • 云大使推广中的常见热门问题
  • 【云吞铺子】性能抖动剖析(二)
  • Nginx惊现漏洞 百万网站面临“拖库”风险
  • 带你开发类似Pokemon Go的AR游戏
  • ​批处理文件中的errorlevel用法
  • #include
  • (8)STL算法之替换
  • (DenseNet)Densely Connected Convolutional Networks--Gao Huang
  • (JS基础)String 类型
  • (PyTorch)TCN和RNN/LSTM/GRU结合实现时间序列预测
  • (南京观海微电子)——COF介绍
  • (七)Flink Watermark
  • (亲测成功)在centos7.5上安装kvm,通过VNC远程连接并创建多台ubuntu虚拟机(ubuntu server版本)...
  • (转)linux自定义开机启动服务和chkconfig使用方法
  • (转)创业的注意事项
  • .bat批处理(二):%0 %1——给批处理脚本传递参数
  • .NET 4.0网络开发入门之旅-- 我在“网” 中央(下)
  • .Net OpenCVSharp生成灰度图和二值图
  • .net 程序 换成 java,NET程序员如何转行为J2EE之java基础上(9)
  • .Net实现SCrypt Hash加密
  • .skip() 和 .only() 的使用