最近一个朋友说强制关掉系统后,oracle 数据库打开后报错
在SQL下执行recover database后再alter database open resetlogs 报错
ORA-01152:file 1 was not restored from a sufficiently old backup
ORA-01110:datafile 1:'**\*\SYSTEM01.DBF'
解决办法是:
1 先mount 数据库
2 alter system set "_allow_resetlogs_corruption"=true scope=spfile;
3 recoverdatabaseusing backup controlfile until cancel;
选择cancel
4 alter database open resetlogs;
5 alter system set "_allow_resetlogs_corruption"=false scope=spfile;
6 shutdown immediate
7 startup
以上!