首页 > 数据库 >Oracle 19c 报ORA-704 ORA-01555故障处理---惜分飞

Oracle 19c 报ORA-704 ORA-01555故障处理---惜分飞

时间:2023-07-30 16:23:23浏览次数:60  
标签:00 30T06 07 704 分飞 01555 2023 ORA

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

标题:Oracle 19c 报ORA-704 ORA-01555故障处理

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

异常断电导致数据库无法启动,尝试对数据文件进行recover操作,报ORA-00283 ORA-00742 ORA-00312错误,由于redo写丢失无法正常应用

D:\check_db>sqlplus / as sysdba   SQL*Plus: Release 19.0.0.0.0 - Production on 星期日 7月 30 07:49:19 2023 Version 19.3.0.0.0   Copyright (c) 1982, 2019, Oracle.  All rights reserved.     连接到: Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production Version 19.3.0.0.0   SQL> recover datafile 1; ORA-00283: 恢复会话因错误而取消 ORA-00742: 日志读取在线程 1 序列 9274 块 18057 中检测到写入丢失情况 ORA-00312: 联机日志 1 线程 1: 'D:\APP\ADMINISTRATOR\ORADATA\HIS\REDO01.LOG'

屏蔽数据一致性,尝试强制打开库,报ORA-00604,ORA-00704,ORA-01555错误

SQL> alter database open resetlogs; alter database open resetlogs * 第 1 行出现错误: ORA-00603: ORACLE server session terminated by fatal error ORA-01092: ORACLE instance terminated. Disconnection forced ORA-00704: bootstrap process failure ORA-00704: bootstrap process failure ORA-00604: error occurred at recursive SQL level 1 ORA-01555: snapshot too old: rollback segment number 9 with name "_SYSSMU9_4165470211$" too small 进程 ID: 4036 会话 ID: 2277 序列号: 40707

alert日志对应错误

2023-07-30T06:54:43.457383+08:00 .... (PID:5836): Clearing online redo logfile 1 complete .... (PID:5836): Clearing online redo logfile 2 complete .... (PID:5836): Clearing online redo logfile 3 complete Resetting resetlogs activation ID 3572089731 (0xd4e9c383) Online log D:\APP\ADMINISTRATOR\ORADATA\XFF\REDO01.LOG: Thread 1 Group 1 was previously cleared Online log D:\APP\ADMINISTRATOR\ORADATA\XFF\REDO02.LOG: Thread 1 Group 2 was previously cleared Online log D:\APP\ADMINISTRATOR\ORADATA\XFF\REDO03.LOG: Thread 1 Group 3 was previously cleared 2023-07-30T06:54:43.863676+08:00 Setting recovery target incarnation to 2 2023-07-30T06:54:44.816771+08:00 Ping without log force is disabled:   instance mounted in exclusive mode. Endian type of dictionary set to little 2023-07-30T06:54:44.957395+08:00 Assigning activation ID 3664275149 (0xda6866cd) 2023-07-30T06:54:44.957395+08:00 TT00 (PID:4640): Gap Manager starting 2023-07-30T06:54:45.004305+08:00 Redo log for group 1, sequence 1 is not located on DAX storage 2023-07-30T06:54:46.176153+08:00 Thread 1 opened at log sequence 1   Current log# 1 seq# 1 mem# 0: D:\APP\ADMINISTRATOR\ORADATA\XFF\REDO01.LOG Successful open of redo thread 1 2023-07-30T06:54:46.191771+08:00 MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set stopping change tracking 2023-07-30T06:54:46.223036+08:00 TT03 (PID:1816): Sleep 5 seconds and then try to clear SRLs in 2 time(s) 2023-07-30T06:54:46.332398+08:00 ORA-01555 caused by SQL statement below (SQL ID: 4krwuz0ctqxdt, SCN: 0x0000000017b852a7 ): 2023-07-30T06:54:46.332398+08:00 select ctime, mtime, stime from obj$ where obj# = :1 2023-07-30T06:54:46.332398+08:00 Errors in file D:\APP\ADMINISTRATOR\diag\rdbms\xff\xff\trace\xff_ora_5836.trc: ORA-00704: 引导程序进程失败 ORA-00604: 递归 SQL 级别 1 出现错误 ORA-01555: 快照过旧: 回退段号 9 (名称为 "_SYSSMU9_4165470211$") 过小 2023-07-30T06:54:46.332398+08:00 Errors in file D:\APP\ADMINISTRATOR\diag\rdbms\xff\xff\trace\xff_ora_5836.trc: ORA-00704: 引导程序进程失败 ORA-00704: 引导程序进程失败 ORA-00604: 递归 SQL 级别 1 出现错误 ORA-01555: 快照过旧: 回退段号 9 (名称为 "_SYSSMU9_4165470211$") 过小 2023-07-30T06:54:46.348028+08:00 Errors in file D:\APP\ADMINISTRATOR\diag\rdbms\xff\xff\trace\xff_ora_5836.trc: ORA-00704: 引导程序进程失败 ORA-00704: 引导程序进程失败 ORA-00604: 递归 SQL 级别 1 出现错误 ORA-01555: 快照过旧: 回退段号 9 (名称为 "_SYSSMU9_4165470211$") 过小 Error 704 happened during db open, shutting down database Errors in file D:\APP\ADMINISTRATOR\diag\rdbms\xff\xff\trace\xff_ora_5836.trc  (incident=474502): ORA-00603: ORACLE 服务器会话因致命错误而终止 ORA-01092: ORACLE 实例终止。强制断开连接 ORA-00704: 引导程序进程失败 ORA-00704: 引导程序进程失败 ORA-00604: 递归 SQL 级别 1 出现错误 ORA-01555: 快照过旧: 回退段号 9 (名称为 "_SYSSMU9_4165470211$") 过小 Incident details in: D:\APP\ADMINISTRATOR\diag\rdbms\xff\xff\incident\incdir_474502\xff_ora_5836_i474502.trc 2023-07-30T06:54:47.785549+08:00 opiodr aborting process unknown ospid (5836) as a result of ORA-603 2023-07-30T06:54:47.816792+08:00 ORA-603 : opitsk aborting process License high water mark = 6 USER (ospid: (prelim)): terminating the instance due to ORA error

这类错误比较常见,参考以前类似恢复:
在数据库open过程中常遇到ORA-01555汇总
数据库open过程遭遇ORA-1555对应sql语句补充
Oracle Recovery Tools恢复—ORA-00704 ORA-01555故障
使用_allow_resetlogs_corruption导致ORA-00704/ORA-01555故障
对于本次故障,通过Oracle Recovery Tools工具快速处理
patch


open数据库成功

 

SQL> alter database open;   数据库已更改。   SQL> SQL> SQL> select status,count(1) from v$datafile group by status;   STATUS           COUNT(1) -------------- ---------- SYSTEM                  1 ONLINE                 61

标签:00,30T06,07,704,分飞,01555,2023,ORA
From: https://www.cnblogs.com/xifenfei/p/17591609.html

相关文章

  • ORA-00205:识别控制文件时出错,有关详细信息,请查看警报日志
    错误信息【汉】ORA-00205:识别控制文件时出错,有关详细信息,请查看警报日志【英】ORA-00205:errorinidentifyingcontrolfile,checkalertlogformoreinfo例在正常启动实例时报错,并且实例仅启动到NOMOUNT状态。版本Oracle【11.2.0.3.0】、【11.2.0.4.0】原因数据库启动在从nomo......
  • oracle 参数建议和详解
    隐藏参数_optimizer_adaptive_cursor_sharing建议关闭隐藏参数_optimizer_adaptive_cursor_sharing只有在开启了_optim_peek_user_binds后才有意义,它可以防止不合理的执行计划,但是在实际生产环境中,_optimizer_adaptive_cursor_sharing会带来各种问题,产生bug,因此建议关闭该参......
  • ORA-32004:为字符串实例指定的已过时或不推荐使用的参数
    错误信息【汉】ORA-32004:为字符串实例指定的已过时或不推荐使用的参数【英】ORA-32004:obsoleteordeprecatedparameter(s)specifiedforstringinstance例在启动实例时,提示此错误,但数据库正常启动。版本Oracle【11.2.0.3.0】、【11.2.0.1.0】、【11.2.0.4.0】原因服务器中spfi......
  • Oracle数据库DB_NAME、SERVICE_NAME、SID、INSTANCE_NAME、DB_UNIQUE_NAME的区别 转
    Oracle数据库DB_NAME、DBID、DB_UNIQUE_NAME、SERVICE_NAME、SID、INSTANCE_NAME、GLOBAL_DATABASE_NAME的区别DB_NAME:①是数据库名,长度不能超过8个字符,记录在datafile、redolog和controlfile中②在DataGuard环境中DB_NAME相同而DB_UNIQUE_NAME不同③在RAC环境中,各个节点的DB_......
  • odoo设置字段字体颜色的样式的方法decoration
    源码设置如下图:decoration-it="product_uom_qty1andprice_unit40"decoration-danger="product_uom_qty==1"效果如下图:基本样式列表:'decoration-bf',#字体加粗'decoration-it',#字体倾斜'decoration-danger',......
  • 动态构建IN查询数据格式的Oracle SQL实现方法
    背景在实际的数据库查询中,经常会遇到根据不同条件动态构建IN查询的需求。例如,当选择一个部门时,需要查询指定部门的数据;当选择多个部门时,需要查询多个部门的数据。在OracleSQL中,我们不能直接在一条SQL查询中动态构建IN查询的数据格式。然而,使用CASEWHEN语句,我们可以巧妙地解决这个......
  • 从 MySQL 到 Oracle 再到全面 TiDB ,云盛海宏的数据库架构实践
    作者:TiDB社区小助手导读云盛海宏的零售系统是支持全渠道、全品类运动鞋服的零售服务平台,为全球8000+多家线下门店提供零售服务支持。发展至今,云海零售系统的数据库经历了从MySQL到Oracle再到全面TiDB的架构演进。本文由InfoQ主编赵钰莹撰写,与云盛海宏首席架构师洪亮共同......
  • Oracle使用spool导出数据
    第一章、导出参数设置settermoff--关闭,不在屏幕上展示结果settrimspoolon--打开,去除重定向(spool)输出美航的拖尾控股,缺省为offsetechooff--关闭,避免打印sql,西安市start启动的脚本中每个sql指令,缺省为onsetfeedbackoff--关闭,避免展示,回现本次sql处理的记录条......
  • 监听storage中数据的变化
    方法封装:updateStorage(name,value){sessionStorage.setItem('name,newVal);conststorageEvent=newEvent('storage');Object.defineProperty(storageEvent,'key',{value:name,enumerable:true})......
  • spool命令使用详解 oracle导出txt文件
    spool命令使用详解原文链接:https://www.xjx100.cn/news/454608.html?action=onClickSPOOL命令使用详解SPOOL是SQLPLUS的命令,必须在SQLPLUS中使用,主要完成以标准输出方式输出SQLPLUS的命令及执行结果,一般常用户格式化导出ORACLE表数据。 对于SPOOL数据的SQL,最好要自己定......