WEB开发网
开发学院数据库Oracle 使用Oracle10g新特性,跨越Resetlogs时间点进行恢复... 阅读

使用Oracle10g新特性,跨越Resetlogs时间点进行恢复

 2007-07-24 12:34:40 来源:WEB开发网   
核心提示: 此时的日志序列:SYS AS SYSDBA on 2005-04-05 17:46:19 >select * from v$log_history where recid >1811; RECIDSTAMPTHREAD#SEQUENCE# FIRST_CHANGE# FIRST

此时的日志序列:

SYS AS SYSDBA on 2005-04-05 17:46:19 >select * from v$log_history where recid >1811;
   RECID   STAMP  THREAD# SEQUENCE# FIRST_CHANGE# FIRST_TIME     NEXT_CHANGE# RESETLOGS_CHANGE# RESETLOGS_TIME
---------- ---------- ---------- ---------- ------------- ------------------- ------------ ----------------- -------------------
   1812 554813757     1     1   10923677 2005-04-05 09:54:53   10925720     10923677 2005-04-05 09:54:53
   1813 554813974     1     2   10925720 2005-04-05 10:55:57   10925827     10923677 2005-04-05 09:54:53
   1814 554823464     1     3   10925827 2005-04-05 10:59:34   10947409     10923677 2005-04-05 09:54:53
   1815 554828646     1     4   10947409 2005-04-05 13:37:44   10950318     10923677 2005-04-05 09:54:53
   1816 554833748     1     5   10950318 2005-04-05 15:04:06   10953123     10923677 2005-04-05 09:54:53
   1817 554833901     1     6   10953123 2005-04-05 16:29:08   10953187     10923677 2005-04-05 09:54:53
   1818 554833950     1     7   10953187 2005-04-05 16:31:41   10953213     10923677 2005-04-05 09:54:53
   1819 554834005     1     8   10953213 2005-04-05 16:32:30   10953633     10923677 2005-04-05 09:54:53
   1820 554834118     1     9   10953633 2005-04-05 16:33:25   10953726     10923677 2005-04-05 09:54:53
   1821 554834756     1     1   10953214 2005-04-05 16:42:34   10953433     10953214 2005-04-05 16:42:34
   1822 554834781     1     2   10953433 2005-04-05 16:45:56   10953445     10953214 2005-04-05 16:42:34
11 rows selected.
SYS AS SYSDBA on 2005-04-05 16:46:21 >shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SYS AS SYSDBA on 2005-04-05 16:47:38 >exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
6.再次执行恢复

上一页  1 2 3 4 5 6  下一页

Tags:使用 Oracleg 特性

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接