- 5
- 0
- 约1.56万字
- 约 9页
- 2015-08-07 发布于湖北
- 举报
oracleRMAN进行表空间基于时间点的恢复.doc
RMAN TSPITR 使用rman进行表空间基于时间点的恢复 收藏
实例说明:
(1)先创建2个表空间。
create tablespace user01 datafile +DG1 size 1M;
create tablespace user02 datafile +DG1 size 1M;
(2)在每个表空间上各创建一张表。
create table scott.customers
(cust_id int,cust_name varchar2(10)) tablespace user01;
create table scott.sales
(id int,cust_name varchar2(10),sales_amount number(8,2)) tablespace user02;
(3)在每个表中插入2条记录,提交。检查当前的时间点,待会表空间user01要恢复到当前时间点。
insert into scott.customers values(1,SOCTT);
insert into scott.customers values(2,SMITH);
insert into scott.sales values(1,SCOTT,8000);
insert into scott.sales values(1,SMI
原创力文档

文档评论(0)