eygle.com   eygle.com
eygle.com  
 
eygle.com - 留言簿 - 回复留言 - Powered by eYgLe.Com
返回留言簿
回 复 留 言
留言ID:
留言原文:
To:
  以下为我完全按照您的文章《Oracle基于时间点的恢复中》测试二过程所做,但是在恢复后,test表不存在,即操作失败,麻烦你帮忙找一下错误好吗?多谢!


E:\Documents and Settings\Administrator>sqlplus/nolog

SQL*Plus: Release 9.0.1.0.1 - Production on 星期二 8月 16 16:11:08 2005

(c) Copyright 2001 Oracle Corporation.All rights reserved.

SQL> conn sys/dba@fmw as sysdba
已连接。
SQL> create table test (name varchar2(20));

表已创建。

SQL>

SQL> insert into test values('aaaaaaaaaaaaaaaaaaaa');

已创建 1 行。

SQL> insert into test values('bbbbbbbbbbbbbbbbbbbb');

已创建 1 行。

SQL>insert into test values('cccccccccccccccccccc');

已创建 1 行。

SQL> commit;

提交完成。

SQL> select to_char(sysdate,'yyyy-mm-dd hh24:mi:ss') "DATE" from dual;

DATE
---------------------
16-8月 -2005 16:14:35

SQL> drop table test;

表已丢弃。

SQL> commit;

提交完成。

SQL> shutdown immediate;
数据库已经关闭。
已经卸载数据库。
ORACLE 例程已经关闭。
SQL> exit
从Oracle9i Enterprise Edition Release 9.0.1.1.1 - Production
With the Partitioning option
JServer Release 9.0.1.1.1 - Production中断开

E:\Documents and Settings\Administrator>sqlplus/nolog

SQL*Plus: Release 9.0.1.0.1 - Production on 星期二 8月 16 16:16:28 2005

(c) Copyright 2001 Oracle Corporation.All rights reserved.

SQL> conn sys/dba@fmw as sysdba
已连接到空闲例程。
SQL> startup mount;
ORACLE 例程已经启动。

Total System Global Area118255568 bytes
Fixed Size 282576 bytes
Variable Size83886080 bytes
Database Buffers 33554432 bytes
Redo Buffers 532480 bytes
数据库装载完毕。
SQL> alter session set nls_date_format='yyyy-mm-dd hh24:mi:ss';

会话已更改。

SQL> recover database until time '2005-08-16 16:14:36';
完成介质恢复。
SQL> alter database open resetlogs;

数据库已更改。

SQL> select * from test;
select * from test
  *
ERROR 位于第 1 行:
ORA-00942: 表或视图不存在
From: 沐浴春风2004
2005.08.16 17:44
管理密码: 请输入管理密码, 否则无法回复.
斑竹昵称:
信息图标: ( 随机 )


BB 代码:
内容:

如果想删除回复, 请点击最下面的删除回复按钮.
删 除 回 复
管理密码: 请输入管理员密码, 只有版主才能删除回复.
Copyright © 2003~2012 eygle.com All Rights Reserved.
Powered by: www.eygle.com