描述:
数据库正常状态下shutdown abort
删除所有控制文件 ,所有online redo log
数据库处于归档模式
以前备份过一份控制文件(no trace)
解决方法
使用旧的控制文件mount instance
alter database backup controlfile to trace as 'aaa.sql';
shutdown abort;
edit file aaa.sql and make it create control file using resetlogs style ,in the same time ,edit the spfile from pfile with implcit parameter _allow_resetlogs_corruption=true
startup nomount
@aaa.sql
the style to recover database can be auto
alter database open resetlogs
now , u can startup the database ,but be carefully , u should backup what u have in database ,and erase the implicit paramter from spfile ,and then reboot the database
注意:重建控制文件之后,注意临时表空间的tempfile。