阅读背景:

oracle flashback——oracle数据闪回实战,及恢复数据到指定的时间戳——timestamp

来源:互联网 

Microsoft Windows [版本 6.1.7601]
版权所有 (c) 2009 Microsoft Corporation。保存所有权力。

C:\Users\ckz>sqlplus zzjd/[email protected]/orcl as sysdba;

SQL*Plus: Release 11.2.0.1.0 Production on 星期三 5月 13 17:00:46 2015

Copyright (c) 1982, 2010, Oracle.  All rights reserved.


衔接到:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> SHUTDOWN IMMEDIATE;
数据库已关闭。
已卸载数据库。
ORACLE 例程已关闭。
SQL> startup MOUNT;
ORACLE 例程已启动。

Total System Global Area 1071333376 bytes
Fixed Size                  1375792 bytes
Variable Size             713032144 bytes
Database Buffers          352321536 bytes
Redo Buffers                4603904 bytes
数据库装载终了。
SQL> flashback database to scn 119272598;

闪回完成。

SQL> alter database open;
alter database open
*
第 1 行涌现毛病:
ORA-01589: 要打开数据库则必需应用 RESETLOGS 或 NORESETLOGS 选项


SQL> alter database open noresetlogs;
alter database open noresetlogs
*
第 1 行涌现毛病:
ORA-01610: 应用 BACKUP CONTROLFILE 选项的恢复必需已完成


SQL> alter database open resetlogs;

数据库已更改。

SQL>Microsoft Windows [版本 6.1.7601]
版权所有 (c) 2009 Micr




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: