联系:手机/微信(+86 18632327675) QQ(107644445)
标题:ORA-01205: not a data file – type number in header is 0
作者:惜分飞©版权所有[未经本人同意,不得以任何形式转载,否则有进一步追究法律责任的权利.]
数据库open成功,但是有undo文件异常报ORA-00376
Mon Feb 04 07:43:18 中国标准时间 2019 Completed: alter database open Mon Feb 04 07:43:18 中国标准时间 2019 ALTER SYSTEM disable restricted session; Mon Feb 04 07:43:19 中国标准时间 2019 ORA-376 encountered when generating server alert SMG-4120 Mon Feb 04 07:43:19 中国标准时间 2019 Errors in file d:\oracle\xff\xff\background\xff_cjq0_5428.trc: ORA-00604: error occurred at recursive SQL level 1 ORA-00376: file 2 cannot be read at this time ORA-01110: data file 2: 'K:\ORACLE\SAP\SAPDATA1\UNDO_1\UNDO.DATA1'
恢复之后报错
数据库无法正常open,提示ORA-07445 _intel_fast_memset.A和ORA-01205错误
Wed Feb 06 12:51:01 中国标准时间 2019 ALTER DATABASE RECOVER datafile 2 Wed Feb 06 12:51:01 中国标准时间 2019 Media Recovery Start Read of rdba: 0x00800001 (file 2, block 1) failed with ORA-01205. Trying reread from disk. Reread of rdba: 0x00800001 (file 2, block 1) failed with ORA-01205 Wed Feb 06 12:51:01 中国标准时间 2019 Errors in file d:\oracle\xff\xff\usertrace\xff_ora_6988.trc: ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [_intel_fast_memset.A+44] [PC:0x356EA7C] [ADDR:0x7F20000] [UNABLE_TO_WRITE] [] ORA-01205: not a data file - type number in header is 0 Wed Feb 06 12:52:14 中国标准时间 2019 alter database open Wed Feb 06 12:52:15 中国标准时间 2019 LGWR: STARTING ARCH PROCESSES ARC0 started with pid=17, OS id=6124 Wed Feb 06 12:52:15 中国标准时间 2019 ARC0: Archival started ARC1: Archival started LGWR: STARTING ARCH PROCESSES COMPLETE ARC1 started with pid=18, OS id=7044 Wed Feb 06 12:52:15 中国标准时间 2019 Thread 1 opened at log sequence 1370107 Current log# 2 seq# 1370107 mem# 0: D:\ORACLE\xff\ORIGLOGB\LOG_G12M1.DBF Current log# 2 seq# 1370107 mem# 1: E:\ORACLE\xff\MIRRLOGB\LOG_G12M2.DBF Successful open of redo thread 1 Wed Feb 06 12:52:15 中国标准时间 2019 MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set Wed Feb 06 12:52:15 中国标准时间 2019 ARC0: STARTING ARCH PROCESSES Wed Feb 06 12:52:15 中国标准时间 2019 ARC1: Becoming the 'no FAL' ARCH ARC1: Becoming the 'no SRL' ARCH Wed Feb 06 12:52:15 中国标准时间 2019 ARC2: Archival started ARC0: STARTING ARCH PROCESSES COMPLETE ARC0: Becoming the heartbeat ARCH ARC2 started with pid=19, OS id=3772 Wed Feb 06 12:52:15 中国标准时间 2019 SMON: enabling cache recovery Wed Feb 06 12:52:15 中国标准时间 2019 Read of rdba: 0x00800001 (file 2, block 1) failed with ORA-01205. Trying reread from disk. Reread of rdba: 0x00800001 (file 2, block 1) failed with ORA-01205 Wed Feb 06 12:52:15 中国标准时间 2019 Errors in file d:\oracle\xff\xff\usertrace\xff_ora_5036.trc: ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [_intel_fast_memset.A+44] [PC:0x356EA7C] [ADDR:0xD5F0000] [UNABLE_TO_WRITE] [] ORA-01205: not a data file - type number in header is 0
恢复成功
有备份,但是因为备份集有损坏无法正常还原,运气不错,通过人工操作正常恢复datafile 2并且正常recover成功,数据库正常open成功
Sat Feb 09 10:09:40 中国标准时间 2019 Successfully onlined Undo Tablespace 1. Sat Feb 09 10:09:40 中国标准时间 2019 SMON: enabling tx recovery Sat Feb 09 10:09:40 中国标准时间 2019 Database Characterset is UTF8 Opening with internal Resource Manager plan Starting background process QMNC QMNC started with pid=36, OS id=3888 Sat Feb 09 10:09:42 中国标准时间 2019 Completed: alter database open