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

清空redo导致oracle故障恢复---惜分飞

客户由于空间不足,使用> redo命令清空了oracle的redo文件
 

redo


数据库挂掉之后,启动报错

Fri Oct 04 10:32:57 2024

alter database open

Beginning crash recovery of 1 threads

 parallel recovery started with 31 processes

Started redo scan

Errors in file /home/oracle/oracle/diag/rdbms/xifenfei/xifenfei/trace/xifenfei_ora_24876.trc:

ORA-00313: open failed for members of log group 3 of thread 1

ORA-00312: online log 3 thread 1: '/u01/app/oracle/oradata/xifenfei/redo03.log'

ORA-27048: skgfifi: file header information is invalid

Additional information: 13

Aborting crash recovery due to error 313

Errors in file /home/oracle/oracle/diag/rdbms/xifenfei/xifenfei/trace/xifenfei_ora_24876.trc:

ORA-00313: open failed for members of log group 3 of thread 1

ORA-00312: online log 3 thread 1: '/u01/app/oracle/oradata/xifenfei/redo03.log'

ORA-27048: skgfifi: file header information is invalid

Additional information: 13

Errors in file /home/oracle/oracle/diag/rdbms/xifenfei/xifenfei/trace/xifenfei_ora_24876.trc:

ORA-00313: open failed for members of log group 3 of thread 1

ORA-00312: online log 3 thread 1: '/u01/app/oracle/oradata/xifenfei/redo03.log'

ORA-27048: skgfifi: file header information is invalid

Additional information: 13

ORA-313 signalled during: alter database open...

Fri Oct 04 10:32:58 2024

Errors in file /home/oracle/oracle/diag/rdbms/xifenfei/xifenfei/trace/xifenfei_m000_29646.trc:

ORA-00313: open failed for members of log group 1 of thread 1

ORA-00312: online log 1 thread 1: '/u01/app/oracle/oradata/xifenfei/redo01.log'

ORA-27047: unable to read the header block of file

Linux-x86_64 Error: 25: Inappropriate ioctl for device

Additional information: 1

Errors in file /home/oracle/oracle/diag/rdbms/xifenfei/xifenfei/trace/xifenfei_m000_29646.trc:

ORA-00313: open failed for members of log group 2 of thread 1

ORA-00312: online log 2 thread 1: '/u01/app/oracle/oradata/xifenfei/redo02.log'

ORA-27047: unable to read the header block of file

Linux-x86_64 Error: 25: Inappropriate ioctl for device

Additional information: 1

Errors in file /home/oracle/oracle/diag/rdbms/xifenfei/xifenfei/trace/xifenfei_m000_29646.trc:

ORA-00313: open failed for members of log group 3 of thread 1

ORA-00312: online log 3 thread 1: '/u01/app/oracle/oradata/xifenfei/redo03.log'

ORA-27048: skgfifi: file header information is invalid

Additional information: 11

Checker run found 6 new persistent data failures

Fri Oct 04 10:47:32 2024

db_recovery_file_dest_size of 4182 MB is 0.00% used. This is a

user-specified limit on the amount of space that will be used by this

database for recovery-related files, and does not reflect the amount of

space available in the underlying filesystem or ASM diskgroup.

这种情况下,所有redo全部被清空(包含current,active的redo),只能强制拉库,运气不错,拉库成功.

Sun Oct 06 10:09:01 2024

alter database open resetlogs

RESETLOGS is being done without consistancy checks. This may result

in a corrupted database. The database should be recreated.

RESETLOGS after incomplete recovery UNTIL CHANGE 25668466513

Resetting resetlogs activation ID 4222555315 (0xfbaf14b3)

Sun Oct 06 10:09:10 2024

Setting recovery target incarnation to 3

Sun Oct 06 10:09:10 2024

Assigning activation ID 79943739 (0x4c3d83b)

Thread 1 opened at log sequence 1

  Current log# 1 seq# 1 mem# 0: /u01/app/oracle/oradata/xifenfei/redo01.log

Successful open of redo thread 1

MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set

Sun Oct 06 10:09:11 2024

SMON: enabling cache recovery

Undo initialization finished serial:0 start:70198684 end:70198794 diff:110 (1 seconds)

Dictionary check beginning

Dictionary check complete

Verifying file header compatibility for 11g tablespace encryption..

Verifying 11g file header compatibility for tablespace encryption completed

SMON: enabling tx recovery

Database Characterset is AL32UTF8

No Resource Manager plan active

Sun Oct 06 10:09:12 2024

replication_dependency_tracking turned off (no async multimaster replication found)

Starting background process QMNC

Sun Oct 06 10:09:13 2024

QMNC started with pid=23, OS id=4328

LOGSTDBY: Validating controlfile with logical metadata

LOGSTDBY: Validation complete

Sun Oct 06 10:09:16 2024

db_recovery_file_dest_size of 4182 MB is 0.00% used. This is a

user-specified limit on the amount of space that will be used by this

database for recovery-related files, and does not reflect the amount of

space available in the underlying filesystem or ASM diskgroup.

Sun Oct 06 10:09:16 2024

Starting background process CJQ0

Sun Oct 06 10:09:16 2024

CJQ0 started with pid=25, OS id=4413

Completed: alter database open resetlogs

http://www.lryc.cn/news/461480.html

相关文章:

  • VAE(与GAN)
  • 【高等数学】多元微分学(二)
  • .NET 中的 Web服务(Web Services)和WCF(Windows Communication Foundation)
  • Linux小知识2 系统的启动
  • Oracle-19g数据库的安装
  • Dubbo快速入门(二):第一个Dubbo程序(附源码)
  • 不同数据类型转换与转义的对比差异
  • Kylin系统安装VMwareTools工具
  • uni-app 拍照图片添加水印
  • Docker-registry私有镜像仓库的安装
  • 在vue3中实现祖组件给后代组件传参,可以跨域几层。
  • 【优选算法】——双指针(上篇)!
  • 【C语言】数据输出格式控制
  • Qt-界面优化选择器的用法(70)
  • 全国职业技能大赛——信息安全管理与评估第一阶段BC、FW、WAF题目详细解析过程
  • 基于Vite创建项目
  • 面试题:在 React 中如何绑定事件
  • 前端将JSON或者table直接导出为excel
  • 算法之排序
  • 深度学习:LSTM循环神经网络实现评论情感分析
  • 基于Arduino的环境监测装置
  • 深度学习:模型攻击(Model Attack)详解
  • CesiumLab介绍
  • PyQt 入门教程(3)基础知识 | 3.2、加载资源文件
  • 老照片修复工作流教程:用 ComfyUI 轻松还原历史记忆
  • ESP-IDF Blink实例学习
  • QT QML 练习8-Simple Transformations
  • 低空产业园搭建技术详解
  • Python网络爬虫从入门到实战
  • 探索Theine:Python中的AI缓存新贵