首页 > 其他分享 >ORA-01092 ORA-00604 ORA-08103故障处理---惜分飞

ORA-01092 ORA-00604 ORA-08103故障处理---惜分飞

时间:2024-07-15 16:32:50浏览次数:17  
标签:00 15 22 00604 分飞 tim 08103 ORA

联系:手机/微信(+86 17813235971) QQ(107644445)QQ咨询惜分飞

标题:ORA-01092 ORA-00604 ORA-08103故障处理

作者:惜分飞©版权所有[未经本人同意,不得以任何形式转载,否则有进一步追究法律责任的权利.]

数据库启动报

SQL> alter database open; alter database open * 第 1 行出现错误: ORA-01092: ORACLE instance terminated. Disconnection forced ORA-00604: error occurred at recursive SQL level 1 ORA-08103: object no longer exists 进程 ID: 39348 会话 ID: 67 序列号: 29322

对应的alert日志

Mon Jul 15 10:59:46 2024 SMON: enabling cache recovery Mon Jul 15 10:59:46 2024 Undo initialization finished serial:0 start:302658203 end:302658218 diff:15 ms (0.0 seconds) Verifying minimum file header compatibility (11g) for tablespace encryption.. Verifying 11g file header compatibility for tablespace encryption completed Mon Jul 15 10:59:46 2024 SMON: enabling tx recovery Mon Jul 15 10:59:46 2024 Database Characterset is UTF8 Mon Jul 15 10:59:46 2024 Errors in file C:\APP\XFF\diag\rdbms\xff\xff\trace\xff_ora_46664.trc: ORA-00604: 递归 SQL 级别 1 出现错误 ORA-08103: 对象不再存在 Mon Jul 15 10:59:46 2024 Errors in file C:\APP\XFF\diag\rdbms\xff\xff\trace\xff_ora_46664.trc: ORA-00604: 递归 SQL 级别 1 出现错误 ORA-08103: 对象不再存在 Error 604 happened during db open, shutting down database USER (ospid: 46664): terminating the instance due to error 604 Starting background process ARC2 Process ARC2 submission failed with error = 1092 Mon Jul 15 10:59:47 2024 Errors in file C:\APP\XFF\diag\rdbms\xff\xff\trace\xff_arc0_33164.trc: ORA-00444: 后台进程 "ARC2" 启动失败 ORA-01092: ORACLE 实例终止。强制断开连接 Mon Jul 15 10:59:51 2024 Instance terminated by USER, pid = 46664 ORA-1092 signalled during: alter database open... opiodr aborting process unknown ospid (46664) as a result of ORA-1092

跟踪启动过程发现delete from histgrm$ where obj# = :1遭遇到ORA-08103错误

===================== PARSING IN CURSOR #18135904 lid=0 tim=302295369306 hv=3667723989 ad='7ffda7f5b500' sqlid='2mp99nzd9u1qp' delete from histgrm$ where obj# = :1 END OF STMT PARSE #18135904:c=0,e=1191,p=0,cr=44,cu=0,mis=1,r=0,dep=1,og=4,plh=0,tim=302295369306 BINDS #16769312:  Bind#0   oacdty=02 mxl=22(22) mxlc=00 mal=00 scl=00 pre=00   oacflg=00 fl2=1000001 frm=00 csi=00 siz=48 off=0   kxsbbbfp=01144048  bln=22  avl=02  flg=05   value=66  Bind#1   oacdty=02 mxl=22(22) mxlc=00 mal=00 scl=00 pre=00   oacflg=00 fl2=1000001 frm=00 csi=00 siz=0 off=24   kxsbbbfp=01144060  bln=22  avl=02  flg=01   value=1 EXEC #16769312:c=0,e=85,p=0,cr=0,cu=0,mis=0,r=0,dep=2,og=3,plh=2239883476,tim=302295369571 FETCH #16769312:c=0,e=7,p=0,cr=4,cu=0,mis=0,r=1,dep=2,og=3,plh=2239883476,tim=302295369592 CLOSE #16769312:c=0,e=4,dep=2,type=3,tim=302295369610 BINDS #16769312:  Bind#0   oacdty=02 mxl=22(22) mxlc=00 mal=00 scl=00 pre=00   oacflg=00 fl2=1000001 frm=00 csi=00 siz=48 off=0   kxsbbbfp=01144048  bln=22  avl=02  flg=05   value=66  Bind#1   oacdty=02 mxl=22(22) mxlc=00 mal=00 scl=00 pre=00   oacflg=00 fl2=1000001 frm=00 csi=00 siz=0 off=24   kxsbbbfp=01144060  bln=22  avl=02  flg=01   value=2 EXEC #16769312:c=0,e=79,p=0,cr=0,cu=0,mis=0,r=0,dep=2,og=3,plh=2239883476,tim=302295369724 FETCH #16769312:c=0,e=6,p=0,cr=4,cu=0,mis=0,r=1,dep=2,og=3,plh=2239883476,tim=302295369740 CLOSE #16769312:c=0,e=4,dep=2,type=3,tim=302295369756 BINDS #18135904:  Bind#0   oacdty=02 mxl=22(22) mxlc=00 mal=00 scl=00 pre=00   oacflg=08 fl2=1000001 frm=00 csi=00 siz=24 off=0   kxsbbbfp=01145078  bln=22  avl=06  flg=05   value=4294951147 WAIT #18135904: nam='db file sequential read' ela= 127 file#=1 block#=609 blocks=1 obj#=67 tim=302295370065 WAIT #18135904: nam='db file sequential read' ela= 188 file#=1 block#=243448 blocks=1 obj#=67 tim=302295370285 Dumping Short Stack ksedsts()+314<-kcbzib()+17818<-kcbgtcr()+12688<-ktrgtc2()+802<-qeilbk1()+7661<-qeilsr()+185<-qerixtFetch() ………… <-opidrv()+848<-sou2o()+94<-opimai_real()+281<-opimai()+170<-00007FFC2EAC7374<-00007FFC2FADCC91 kcbzib: dump suspect buffer, err2=8103 Encrypted block <0, 4437752> content will not be dumped. Dumping header only. buffer tsn: 0 rdba: 0x0043b6f8 (1/243448) scn: 0x0.0 seq: 0x01 flg: 0x05 tail: 0x00000001 frmt: 0x02 chkval: 0x11bb type: 0x00=unknown Dump of buffer cache at level 8 for pdb=0 tsn=0 rdba=4437752 BH (0x7ffd55f95998) file#: 1 rdba: 0x0043b6f8 (1/243448) class: 1 ba: 0x7ffd5555e000   set: 50 pool: 3 bsz: 8192 bsi: 0 sflg: 2 pwc: 0,0   dbwrid: 1 obj: 67 objn: 67 tsn: [0/0] afn: 1 hint: f   hash: [0x7ffdaca1f3a0,0x7ffdaca1f3a0] lru: [0x7ffd55f95bc0,0x7ffda9328448]   ckptq: [NULL] fileq: [NULL]   objq: [0x7ffd9d61a3c0,0x7ffd9d61a3c0] objaq: [0x7ffd9d61a3b0,0x7ffd9d61a3b0]   use: [0x7ffdaaf604f8,0x7ffdaaf604f8] wait: [NULL]   st: READING md: EXCL tch: 0   flags: only_sequential_access   Using State Objects     ----------------------------------------     SO: 0x00007FFDAAF60470, type: 46, owner: 0x00007FFD9B3C5ED8, flag: INIT/-/-/0x00 if: 0x1 c: 0x1      proc=0x00007FFDAB2984C0, name=buffer handle, file=kcb2.h LINE:3317, pg=0 conuid=0     (buffer) (CR) PR: 0x00007FFDAB2984C0 FLG: 0x0 SEQ: 0x439     class bit: 0x0     scan scn: 0.0      cr[0]:      sh[0]:     kcbbfbp: [BH: 0x00007FFD55F95998, LINK: 0x00007FFDAAF604F8]     type: normal pin     where: qeilwhnp: qeilbk, why: 0 EXEC #18135904:c=234375,e=235311,p=2,cr=9,cu=0,mis=1,r=0,dep=1,og=4,plh=2015116224,tim=302295604662 ERROR #18135904:err=8103 tim=302295604678 STAT #18135904 id=1 cnt=0 pid=0 pos=1 obj=0 op='DELETE  HISTGRM$ (cr=0 pr=0 pw=0 time=2 us)' STAT #18135904 id=2 obj=67 op='INDEX RANGE SCAN I_H_OBJ#_COL# (cr=0 pr=0 pw=0 time=0 us cost=3 size=376 card=47)' ORA-00604: 递归 SQL 级别 1 出现错误 ORA-08103: 对象不再存在 ORA-00604: 递归 SQL 级别 1 出现错误 ORA-08103: 对象不再存在   *** 2024-07-15 10:53:30.201 USER (ospid: 39348): terminating the instance due to error 604

因为数据库启动执行的delete from histgrm$操作不是必须的,因此在数据库启动过程中让该sql不执行,实现数据库open成功

C:\Users\XFF>sqlplus / as sysdba   SQL*Plus: Release 12.1.0.2.0 Production on 星期一 7月 15 11:15:33 2024   Copyright (c) 1982, 2014, Oracle.  All rights reserved.   已连接到空闲例程。   SQL> startup mount pfile='d:/pfile.txt' ORACLE 例程已经启动。   Total System Global Area 6442450944 bytes Fixed Size                  6205768 bytes Variable Size            1493175992 bytes Database Buffers         4932501504 bytes Redo Buffers               10567680 bytes 数据库装载完毕。 SQL> recover database; 完成介质恢复。 SQL> alter database open;   数据库已更改。

然后再对histgrm$表对象进行处理,数据库恢复正常

标签:00,15,22,00604,分飞,tim,08103,ORA
From: https://www.cnblogs.com/xifenfei/p/18303412

相关文章

  • typora激活-极语言版
    窗体代码:整数窗体,标签1,编辑框2,编辑框3;程序资源24,"清单.xml";程序段加载窗体整数左=(桌面.宽-462)>>1,上=(桌面.高-156)>>1;窗体=创建窗口($0,程序.名称,"窗口标题",$10C80840,左,上,462,156,0,0,0,0);标签1=创建窗口($20,"Static","标签1",$50000000,10,15,420,25......
  • java操作Oracle 方式三 ( 全局一个连接,当操作时发现连接断开了,则再次连接,单线程 )
    全局一个连接,当操作时发现连接断开了,则再次连接,单线程这种方式好处是,全局一个连接,不会每次都发启连接,适用于某一时刻,频繁操作数据库,如:每晚同步数据OracleUtil.java基础类代码详见:https://www.cnblogs.com/hailexuexi/p/18302732完整代码dbCdrOneConnect.javapackagecom.Ja......
  • java操作Oracle 方式一 ( 连接-》操作-》断开连接 )
    连接-》操作-》断开连接这种方式的特点是每次都是新的连接,单线程,缺点是网络环境不好时连接oracle比较费时。OracleUtil.java基础类代码详见:https://www.cnblogs.com/hailexuexi/p/18302732完整代码dbCDR.javapackagecom.JavaRabbitMQToDataBase.dbOracle;importjava......
  • java操作Oracle 方式二 ( 多线程 )
    多线程方式 也是 连接-》操作-》断开连接  这样的操作过程,只是采用了多线程这种方式的特点是每次都是新的连接,多线程,解决了网络环境不好时连接oracle比较费时,影响主程序其它功能的响应。OracleUtil.java基础类代码详见:https://www.cnblogs.com/hailexuexi/p/1830273......
  • java连接oracle执行sql语句
    一个简单的示例importjava.sql.Connection;importjava.sql.DriverManager;importjava.sql.SQLException;importjava.sql.Statement;publicclassOracleJdbcExample{publicstaticvoidmain(String[]args){//Oracle数据库的JDBCURL,用户名和密码......
  • Typora使用Gitee和PicGo搭建免费图床
    Typora使用Gitee和PicGo搭建免费图床一、环境准备1、安装最新版Typora地址:Typora官方中文站2、安装Node.js地址:Node.js1、下载长期服务版LTS下载后,一直默认下一步安装即可2、验证是否安装成功命令行输入以下命令,出现版本号,说明安装成功!node-v二、配置Gi......
  • java连接Oracle数据库
    第一步引用ojdbc.jar 详见https://www.cnblogs.com/hailexuexi/p/15062168.html注:项目代码换路径后要重新引用 注:编译项目时也要把ojdbc6.jar打到包里 完整的java代码OracleUtil.javapackagecom.JavaRabbitMQToDataBase.dbOracle;importjava.sql.Connectio......
  • java 连接 oracle数据库时报错 Oracle JDBC驱动未找到! No suitable driver found for
    在用IDEA编写java连接Oracle时,报错:OracleJDBC驱动未找到!可这部分之前测试是好用。想来想去。哦,我把这个项目代码换过路径,问题就出在这。需要重新引用下  ojdbc6.jar架包 下面是java连接oracle的部分代码ClassNotFoundException可以捕获OracleJDBC驱动未找到的异......
  • MySQL - [17] Oracle、SQLServer、MySQL数据类型对比
    题记部分 一、数据类型对比对应关系(1)整数类型Oracle的NUMBER(*,0)对应SQLServer的INT和MySQL的INTOracle的BIGINT可能需要映射到SQLServer的BIGINT和MySQL的BIGINT(2)浮点数类型Oracle的BINARY_FLOAT/BINARY_DOUBLE对应SQLServer的FLOAT和MySQL......
  • 13、Oracle中的控制用户权限
    最近项目要用到Oracle,奈何之前没有使用过,所以在B站上面找了一个学习视频,用于记录学习过程以及自己的思考。视频链接:【尚硅谷】Oracle数据库全套教程,oracle从安装到实战应用如果有侵权,请联系删除,谢谢。学习目标:创建用户创建角色使用GRANT和REVOKE语句赋予和回收权限......