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

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

服务热线 : 13764045638 QQ号:47079569 邮箱:service@parnassusdata.com

 
适用于: Oracle Database - Enterprise Edition – 版本9.0.1.4 到 10.1.0.2 [Release 9.0.1 to 10.1] 本文信息适用于任何平台。 19 Jul 2012检查相关性 症状 当更改DBID (Reference Note: 190876.1)时,在更改进程或revert时,打开resetlogs失败显示以下错误: ORA-01122: database file system01.dbf failed verification check ORA-01110: datafile system01.dbf ORA-01206: file is not part of this database - wrong database id 原因 在使用NID更改DBID时,我们要立即从mount阶段关闭DB。 NID 用户新的DBID更新数据文件头。在运行NID之前,它不为从控制文件储存到SGA中的DBID这么做。重启能解决这个问题。 解决方案 在我们用NID完成后,且看到"change was successful for all the datafiles" 的NID日志文件,则我们可以进行以下: 1] 关闭DB SQL> shutdown ORA-01109: database not open Database dismounted. ORACLE instance shut down. 2] 启动mount SQL> startup mount ORACLE instance started. Total System Global Area 135339844 bytes Fixed Size 454468 bytes Variable Size 109051904 bytes Database Buffers 25165824 bytes Redo Buffers 667648 bytes Database mounted. 3] 用resetlogs 选项打开DB SQL> alter database open resetlogs; 参考 NOTE:190876.1 - NID-00100: Cannot open datafile when trying to change the DBID of a database.