oracle goldengate学习笔记,【goldengate】官方文档笔记三 Oracle GoldenGate 实时报表

;

当源端数据库与目标数据库不在一个网络中,可以在一个中介系统里创建投递进程,该进程在整个部署中成为一个二传手。

源端数据库的投递进程读取本local trail后投递(写到)到中介系统中的trail,中介系统中的投递进程(二传手)读取中介系统中的trail投递到目标端。

在配置中需要修改的地方如下:

在源端的投递进程参数中需要将RMTHOST的IP设置为中介地址,RMTTRAIL需要设置为中介trial路径

在中介系统中需要配置如下内容:

1,配置管理进程Manager process,方法同源库相同。

2,在Manager参数文件中使用PURGEOLDEXTRACTS来控制trail删除策略

3,配置投递进程组,取名为pump_2

ADD EXTRACT , EXTTRAILSOURCE , BEGIN

EXTTRAILSOURCE:该参数指定中介系统中trail文件路径

4,使用ADD RMTTRAIL指定目标数据库trail位置

ADD RMTTRAIL , EXTRACT

EXTRACT:该参数指明刚刚创建的“中介投递进程”将数据写入目标数据库的trail文件。

下面看看投递进程的配置文件

-- Identify the data pump group:

EXTRACT

-- Note that no database login parameters are required in this case.

-- State whether or not source and target definitions are identical: SOURCEDEFS | ASSUMETARGETDEFS

-- Specify the target definitions file if SOURCEDEFS was used: TARGETDEFS

-- Specify decryption if input trail is encrypted:

DECRYPTTRAIL

-- Specify the name or IP address of the target system

-- and optional encryption of data over TCP/IP:

RMTHOST , MGRPORT , ENCRYPT -- Specify the remote trail and encryption options on the target system: ENCRYPTTRAIL []

RMTTRAIL

-- Allow mapping, filtering, conversion or pass data through as-is; [PASSTHRU | NOPASSTHRU]

-- Specify tables to be captured:

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值