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

清空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.kler.cn/news/358921.html

相关文章:

  • 【存储设备专栏 2.8 -- linux 下挂载命令 mount 与 gio mount】
  • 构建高效在线考试平台:Spring Boot与JavaWeb的融合
  • 浅谈数据库选型
  • 简单易用的分类任务开源项目 :classification
  • Adobe的反击,传统大厂全面AI化,正面激战OpenAI!
  • React 进阶阶段学习计划
  • 数据结构(七大排序)
  • XML\XXE漏洞基本原理
  • list转map常用方法
  • curl支持ssl错误:curl: (60) SSL certificate problem: certificate is not yet valid
  • 科研绘图系列:R语言象限热图(quadrant heatmap)
  • Pandas分组与分箱
  • 【jQuery】jQuery 处理 Ajax 以及解决跨域问题的方式
  • 【重学 MySQL】七十、揭秘数据库对象,打造高效数据管理之旅
  • 3.1.1ReactOS系统中搜索给定长度的空间地址区间函数的实现
  • js.矩阵置零
  • datawhale大模型bot应用开发--task2:Prompt工程
  • 幼儿和青少年编程学习路径
  • Python--WinError 2 的常见解决方案
  • 大模型落地实践:同花顺大模型技术应用及优化