1. 程式人生 > >ORA-00279O,RA-00289,ORA-00280在recover database的時候問題解決

ORA-00279O,RA-00289,ORA-00280在recover database的時候問題解決

當進行恢復資料庫執行recover database的時候報

SQL> recover database
ORA-00279: change 981220327 generated at 11/09/2018 19:04:07 needed for thread
1
ORA-00289: suggestion :
/u01/apps/oracle/flash_recovery_area/ORCL/archivelog/2018_11_12/o1_mf_1_23242_fy
lp52rf_.arc
ORA-00280: change 981220327 for thread 1 is in sequence #23242


Specify log: {<RET>=suggested | filename | AUTO | CANCEL}

可以通過查詢利用哪個redo.log來進行恢復

select v1.group#,member, sequence#, first_change# from v$log v1, v$logfile v2 where v1.group# =v2.group#;

得到正確的redo日誌,直接輸入檔名即可。