Data File Suffered Media Failure: Database In Noarchivelog Mode Ora-01242

如果自己搞不定可以找诗檀软件专业ORACLE数据库修复团队成员帮您恢复!

诗檀软件专业数据库修复团队

服务热线 : 13764045638 QQ号:47079569 邮箱:[email protected]

 

症状

 

ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode
ORA-01122: database file 3 failed verification check
ORA-01110: data file 3: ‘D:\BODBF\USER02BO.DBF’
ORA-01208: data file is an old version – not accessing current version
error 1242 detected in background process

 

Errors in file d:\bodbf\trace\bdump\bodbLGWR.TRC:
ORA-01110: data file 3: ‘D:\BODBF\USER02BO.DBF’
ORA-01114: IO error writing block to file 3 (block # 1)
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.

 

原因

文件和以前一样遭遇介质故障,在写入数据文件时有一些I/O错误,如在警报日志中所见。根本原因是该数据文件被一种OS工具锁住,做了一个文件系统备份,如Netbackup或 ArcServ。RDBMS打不开数据文件,因此故障。

在NOARCHIVELOG模式下,该实例将崩溃,而在ARCHIVELOG模式下,该实例将保持运行,但数据文件将被离线,需要恢复。

解决方案

如果需要介质恢复,那么
— 还原数据文件旧的备份
— 恢复数据文件/表空间
如果故障发生后没有进行logswitch,那么文件可从当前重做日志中恢复,不需要还原旧的备份,因此只恢复数据库/表空间就可以了。

同时要确保备份窗口不超时,不与数据库开放时间冲突。

建议进行在线备份,以避免这些问题。


Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *