探索Oracle不完全恢复之--基于SCN恢复 第一篇(二)

2014-11-24 18:45:15 · 作者: · 浏览: 1
DBSoft/product/10.2.0/db_1/dbs/arch1_2_788462279.dbf


ORA-00280: change 1483784 for thread 1 isin sequence #2


ORA-00278: log file'/DBSoft/product/10.2.0/db_1/dbs/arch1_1_788462279.dbf' no longer needed forthis recovery




ORA-00279: change 1486119 generated at07/12/2012 20:35:27 needed for thread 1


ORA-00289: suggestion :/DBSoft/product/10.2.0/db_1/dbs/arch1_1_788474127.dbf


ORA-00280: change 1486119 for thread 1 isin sequence #1




Log applied.


Media recovery complete.


SQL> alter database open;


alter database open


*


ERROR at line 1:


ORA-01589: must use RESETLOGS orNORESETLOGS option for database open




SQL> alter database open resetlogs;



Database altered.



SQL>



4、至此,数据已经恢复完成:


SQL> select * from tab;



TNAME TABTYPE CLUSTERID


------------------------------ -----------------


WWL001 TABLE


WWL002 TABLE


WWL003 TABLE


WWL004 TABLE


WWL005 TABLE




SQL> select * from wwl005;



ID NAME


---------- ---------------------------------------------


1 wwl


2 prodence


3 woo


4 xgx


5 cms



SQL>


相关阅读: