- 论坛徽章:
- 0
|
当前redo file损坏,如何恢复数据库
startup mount;
select * from v$log;
select * from v$logfile;
from there you will know which trdo group is damaged and the current status of it.
if the damaged redo group has more than one members, you drop the damaged members
if the group has only one member (or all the members are damaged), the problem become more complicated.
case 1) the status = INACTIVE, you cam simply drop the group and create anoth group
case ) status = ACTIVE or CURRENT. you can not drop the group in this case. the solution is to do an imcomplete recovery of the database to the earliest log sequence number of the damaged redo group. if you do not have a proper backup, your database is not recoverable. |
|