探索Oracle不完全恢复之--基于时间恢复(二)

2014-11-24 18:45:15 · 作者: · 浏览: 1




ORA-00279: change 1440855 generated at07/12/2012 15:08:58 needed for thread 1


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


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




ORA-00279: change 1441316 generated at07/12/2012 15:19:50 needed for thread 1


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


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




ORA-00279: change 1442275 generated at07/12/2012 15:52:01 needed for thread 1


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


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




ORA-00279: change 1442953 generated at07/12/2012 16:25:06 needed for thread 1


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


ORA-00280: change 1442953 for thread 1 is insequence #1




ORA-00279: change 1462958 generated at07/12/2012 16:28:16 needed for thread 1


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


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


ORA-00278: log file '/DBSoft/product/10.2.0/db_1/dbs/arch1_1_788459106.dbf'no longer needed for this recovery




ORA-00279: change 1462963 generated at07/12/2012 17:17:59 needed for thread 1


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


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




ORA-00279: change 1483784 generated at07/12/2012 17:54:25 needed for thread 1


ORA-00289: suggestion :/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




Log applied.


Media recovery complete.


21:30:29 SQL>


至此已经恢复完成。



6、因为做了不完全恢复,必须要做restlogs打开数据库


21:30:29 SQL> alter database open restlogs;


alter database open restlogs



7、数据已经恢复完成,数据都回来了。


21:34:04 SQL> select * from wwl002;



ID NAME


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


1 wwl


2 prodence


3 woo


4 xgx


5 cms



Elapsed: 00:00:00.01


21:34:16 SQL> select * from wwl003;



ID NAME


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


1 wwl


2 prodence


3 woo


4 xgx


5 cms



Elapsed: 00:00:00.00


21:34:18 SQL> select * from wwl004;



ID NAME


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


1 wwl


2 prodence


3 woo


4 xgx


5 cms



Elapsed: 00:00:00.01


21:34:20 SQL> select * from wwl005;



ID NAME


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


1 wwl


2 prodence


3 woo


4 xgx


5 cms



Elapsed: 00:00:00.01


21:34:22 SQL>


相关阅读: