当前位置: 首页 > GoldenGate > 正文

OGG-01193 Remote tasks cannot be used when other targets files or trails are specified.

最近做OGG测试,MYSQL-ORACLE单向同步,遇到OGG-01193  Remote tasks cannot be used when other targets files or trails are specified.错误。

MYSQL版本5.6,ORACLE版本11.2.0.4,OGG版本11.2.1.0.1。

2015-05-26 15:35:15  ERROR   OGG-01193  Remote tasks cannot be used when other targets files or trails are specified.

2015-05-26 15:35:15  ERROR   OGG-01668  PROCESS ABENDING.

抽取进程参数配置如下:

EXTRACT EMYSQL
FETCHOPTIONS FETCHPKUPDATECOLS
dboptions host localhost, connectionport 3306
SOURCEDB xxx, USERID ogg, PASSWORD 123456
RMTHOST xx.xx.xx.xx, MGRPORT  7809
rmtfile /home/app/ggs/dirdat/lo,maxfiles 999999,megabytes 100
rmttask replicat, group rora
TABLE xxx.xxxxxx;

这个错误的原因是rmttask和rmtfile不能同时出现导致的,如果使用rmtfile,就不能使用rmttask。

EXTRACT EMYSQL
FETCHOPTIONS FETCHPKUPDATECOLS
dboptions host localhost, connectionport 3306
SOURCEDB xxx, USERID ogg, PASSWORD 123456
RMTHOST xx.xx.xx.xx, MGRPORT  7809
rmtfile /home/app/ggs/dirdat/lo,maxfiles 999999,megabytes 100
--rmttask replicat, group rora
TABLE xxx.xxxxxx;

注释掉rmttask后,即可解决这个问题。

本文固定链接: http://www.dbdream.com.cn/2015/05/ogg-01193-remote-tasks-cannot-be-used-when-other-targets-files-or-trails-are-specified/ | 信春哥,系统稳,闭眼上线不回滚!

该日志由 dbdream 于2015年05月26日发表在 GoldenGate 分类下, 你可以发表评论,并在保留原文地址及作者的情况下引用到你的网站或博客。
原创文章转载请注明: OGG-01193 Remote tasks cannot be used when other targets files or trails are specified. | 信春哥,系统稳,闭眼上线不回滚!
关键字: ,

OGG-01193 Remote tasks cannot be used when other targets files or trails are specified.:等您坐沙发呢!

发表评论

快捷键:Ctrl+Enter