源:
dblogin userid ggs@SGERP5_146,password ggs
add trandata 000.tcyang
info trandata 000.tcyang
add extract initmydb, sourceistable -- sourceistabl表示直接从表中读取数据
info extract initmydb, task
extract initmydb
userid ggs@SGERP5_146,password ggs
rmthost 129.100.253.107,mgrport 7809,compress
rmttask replicat, group delmydb
table 000.tcyang,000.tcyang1,000.tcyang2,000.test;
目:
add replicat delmydb,specialrun --specialrun表示只运行一次
info replicat delmydb,tasks
replicat delmydb
assumetargetdefs
userid ggs@SGERP5_107,password ggs
discardfile C:\ggs\dirrpt\delmydb.dsc,purge
map 000.*, target 000.*;
测试:
GGSCI>start initmydb
不用启动targe system中的delmydb,系统会自动调用
view report initmydb