1.源头OGG版本低,目的端OGG版本高,此种配置不需要做任何的额外改动.跟两端是相同OGG版本的同步是完全一样的参数设置.
2.源头OGG版本高,目的端OGG版本低,此种配置需要在源头的抽取进程和传输进程的参数文件中设置trailfile的格式(设置为跟目的端OGG版本一样的格式).
EXTTRAIL <trail file>, FORMAT RELEASE 10.0RMTTRAIL <trail file>, FORMAT RELEASE 10.0注意:此处的10.0是目的端OGG的版本号.
3.源头的抽取进程和传输进程的参数文件中务必都要设置trailfile的格式.因为,仅仅依靠传输进程无法达到转换trailfile格式的目的.因为传输进程就是这么设计的:It must write trails in the same version it read them.
参考文章:
different versions of golden gate (社区论坛 ID 3570021)
Can OGG Version 11 Be Used to Pump/Move Trails Generated from Version 9 or 10? (文档 ID 1297283.1)
Can OGG Version 11 Be Used to Pump/Move Trails Generated from Version 9 or 10? (文档 ID 1297283.1)
In this Document
Goal
Solution
Oracle GoldenGate - Version 11.1.1.0.0 and later
Information in this document applies to any platform.
Can Oracle GoldenGate version 11 Extract be used to pump/move trail files which were generated from version 9 or 10 to another server?
SOLUTIONOracle GoldenGate version 11.1 can read versions 9 and version 10 trail files but it can not write them in a different format (version 11.1) than the version of the trail being read. It must write trails in the same version it read them. The extract can be forced to write a trail in a particular version format by using the FORMAT RELEASE option.
Example:
RMTTRAIL <trail file>, FORMAT RELEASE 10.0