Oracle数据库数据恢复、性能优化

找回密码
注册
搜索
热搜: 活动 交友 discuz
发新帖

999

积分

1

好友

942

主题
1#
发表于 2017-4-14 17:55:52 | 查看: 1248| 回复: 0

如题,打开数据库的时候,出现了下面的错误:数据文件6或控制文件是上个resetlogs的版本
SQL> alter database open;
alter database open
*
ERROR at line 1:
ORA-01190: control file or data file 6 is from before the last RESETLOGS
ORA-01110: data file 6: 'D:\APP\ASUS\ORADATA\TEST\TEST01.DBF'
复制代码
利用RMAN诊断后,advise failure的建议是“recover datafile 6;”不过执行了之后,还是报错:
SQL>  recover datafile 6;
ORA-00283: recovery session canceled due to errors
ORA-19909: datafile 6 belongs to an orphan incarnation
ORA-01110: data file 6: 'D:\APP\ASUS\ORADATA\TEST\TEST01.DBF'
复制代码
后来我尝试修改参数"_allow_resetlogs_corruption"=true
然后,在恢复整个数据库,结果还是报错:
SQL> alter system set "_allow_resetlogs_corruption"=true scope=spfile;

System altered.

SQL> shutdown immediate;
ORA-01109: database not open


Database dismounted.
ORACLE instance shut down.

SQL> startup mount;
ORACLE instance started.

Total System Global Area  644468736 bytes
Fixed Size                  1376520 bytes
Variable Size             268439288 bytes
Database Buffers          369098752 bytes
Redo Buffers                5554176 bytes
Database mounted.

SQL> recover datafile 6;
ORA-00283: recovery session canceled due to errors
ORA-19909: datafile 6 belongs to an orphan incarnation
ORA-01110: data file 6: 'D:\APP\ASUS\ORADATA\TEST\TEST01.DBF'


SQL> recover database until cancel;
ORA-00283: recovery session canceled due to errors
ORA-19909: datafile 6 belongs to an orphan incarnation
ORA-01110: data file 6: 'D:\APP\ASUS\ORADATA\TEST\TEST01.DBF'
复制代码
我想问这种情况下,该怎么修复这个呢?谢谢!!
下载专业ORACLE数据库恢复工具PRM-DUL  For Oracle http://www.parnassusdata.com/

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

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

服务热线 : 13764045638  QQ: 47079569     邮箱:service@parnassusdata.com
您需要登录后才可以回帖 登录 | 注册

QQ|手机版|Archiver|Oracle数据库数据恢复、性能优化

GMT+8, 2024-6-18 20:13 , Processed in 0.047223 second(s), 21 queries .

Powered by Discuz! X2.5

© 2001-2012 Comsenz Inc.

回顶部
TEL/電話+86 13764045638
Email service@parnassusdata.com
QQ 47079569