1,同步对象不仅仅是table
sequence xxxx.xxxx;
2,同步进程session级别自定义系统环境变量
SQLEXEC "alter session set nls_date_format='YYYY-MM-DD HH24:MI:SS'"
3,同步过程中转化指定要修改的值
abc转化为xyz
MAP xxx.xxx TARGET xxx.xxx, COLMAP (c11=c1, c22=c2, c33=c3, c44=@CASE(c4,"abc","xyz"));
4,错误的处理
包括:忽略,丢弃,抛异常;可以自定义异常
MAP src.tab, TARGET tar.tab , colmap (usedefaults),
REPERROR (-01048, IGNORE),
REPERROR (-01163, DISCARD);
FILTER ( @STRLEN(name) < 30, ON INSERT, ON DELETE, ON UPDATE, RAISEERROR 21002) ,
REPERROR (21002, DISCARD),
5,修改主键列或者修改无主键列的表
GGSCI> delete trandata xxx.table1
GGSCI> add trandata xxx.table1