"很久"以前做过这个场景测试
Source:
create table test(a int, b int, c int,d int);
Target
create table test(a int, b int, c int,d int);
其中a,b字段是priamry key
模拟场景:
表test中的a,b,c字段需要从Source实时同步到Target,到了Target因为业务的需要,需要借助其他应用去调整每行记录对应的d字段,所以不希望复制该字段
GG配置
ext+data pump+rep
在ext参数中指定
TABLE TOMS.TEST, COLSEXCEPT (d);
data pump使用
TABLE TOMS.*;
rep参数
MAP TOMS.*, TARGET TOMS.*;
测试DML工作正常
|