xtts
迁移
11.2.0.4
到
12.2.0.1
以下实验使用
xs
版本:
rman_xttconvert_VER4.3
This article describes V4 XTTS procedures for Cross Platform Incremental Backup which is available for 11.2.0.4 and higher.
生产库打开块跟踪特性
如果源库是
11g
,需要先禁用延时段特性 不然
xtts
不会将空表导入目标库。
alter system set deferred_segment_creation=false sid='*'
scope=spfile;
首先在生产库上打开块跟踪功能。
alter database enable block change tracking using file
'/home/oracle/xtts/block_change_tracking.log';
--
源端建相关对象
create tablespace ts1 datafile '/u01/ts101.dbf' size 20m;
create tablespace ts2 datafile '/u01/ts201.dbf' size 20m;
create user xtts identified by xtts default tablespace ts1;
grant dba to xtts;
conn xtts/xtts
create table t_xtts (id number,name varchar2(10));
insert into t_xtts values (1,'xb');
commit;
--
在目标主机上安装数据库软件和实例,创建要导入表空间对象所在的用户。
create user xtts identified by xtts;
grant dba to xtts;
select PLATFORM_ID from v$DATABASE.PLATFORM_ID
--
源库
[oracle@begin100 ~]$ mkdir -p s_xtts
[oracle@begin100 ~]$ pwd
/home/oracle
拷贝程序到
s_xtts
xtt.properties
文件里
src_scratch_location
参数定义的备份目录
评论