Oracle表空间/数据文件问题 - ORA-00376

时间:2016-11-12 08:38:29

标签: oracle oracle11g tablespace data-files

很多个月前,当缩小表空间时,我错误地删除了一个没有备份的表空间。有许多索引属于表,它们是该表空间的一部分。

从插入或删除属于该特定表空间的表中的记录时,我从未遇到任何问题。但是从昨天开始,我发现数据没有插入到很多表中,因为它上面的索引会给我一个属于特定表空间的唯一索引违反的错误。

从今天早上起,我收到此错误,该错误是由我删除的文件引起的:

ORA-00376: file 663 cannot be read at this time
ORA-01110: data file 663: '/oradata/db3/pm/pm4h_db_dat_w_150316_02.dbf'"

如何克服此错误?

我现在也试图恢复给我这个错误的文件:

SQL> recover datafile '/oradata/db3/pm/pm4h_db_dat_w_150316_00.dbf';
ORA-00283: recovery session canceled due to errors
ORA-01122: database file 661 failed verification check
ORA-01110: data file 661: '/oradata/db3/pm/pm4h_db_dat_w_150316_00.dbf'
ORA-01207: file is more recent than control file - old control file"

0 个答案:

没有答案