【实例简介】
CDC工具比较——IBM与Oracle的
目前能看到这样的内容不多,这两款工具的使用还是有前景的。
架构
Capture:实时读取交易日志捕捉数据变化并可实现过滤
队列文件:暂存数据变化
传输:数据经过压缩和加密传送到目的地
Delivery:执行所需的数据变化,然后将
数据变化提交到目的库
中+++++++
Source Trall
Capture
网络
Target Trall
Delivery
源数据库
Delivery
Source trall
Capture
目的数据库
双向复制
架构
Source database
CDC Source: Data flow
Log Parser
Transaction Queue 1
Log Reader
Fixed size buffer
to hold in-scope
journals
Read journals
C En-queue Journals
Transaction Queue 2
by Transaction Id
Journals/Logs
Transaction Queue n
Out of scope
Jouma
l s
Committed
Column image
Scraper
Row filtering. K
Subscription 1
Yes
N
extraction
Scraper
Staging store
Rules Engine
Subscription 2
Derived Columns and User Exits
T
Committed
Transactions
ordered by time of
completion
Network standardization
To←
scraper
Character transformation
T
Target
Numeric normalization
Subscription ' n
产品比较
日志读取
是
读取方式
可并发多
读取
并发多个
并行式读取
数据缓存
记录在内存中,如果分配的内缓存文件的方式记录数据
存不足,则写入磁盘缓存
传输单位
的
组交易(可能含有多个
传输
断点续传
断点续传
支持的数据库类型
支持几乎所有的数据库
不支持主机系统
对应用的支持
支持
等应用工不支持应用
具
数据的转换能力
支持对数据的一般转换处理
仅支持数据的过滤
异构数据库间字符集转换
具有字符集转换功能
不支持,需要工具外额外转换
浏览器操作
不支持
支持
支持
的简单
支持
的简单同步
同步
支持的环境
支持的环境
与
应用
可以与
实现无缝接入应用
具有与
无缝连接的专用接口
中可使用
直接读取捕获的增量数据,进行后续
●●●
的加工处理。
Map labl
I Map tables
Select Mapping Type
TS Map Tables
Depending on your replication requirements, select from one of the following
pecify the output directory and record format for the WebSphere DataStage fat
mapping types to apply data to the target
Select WebSphere Data Stage Connection Method
Depending on your replication requirements, select from one of the following
Location
WebSphere dataStage connection methods
Directory
emp
tasted∈
Map one or more source tables for use as inputs to Websphere Datastage jobs.
O Flat File
Use files to deliver the source changes to WebSphere DataStage
O Direct Connect
⊙ Single Record
Use TCP /IP to deliver the source changes to WebSphere Datastage
ndude a set of columns for the before and after images in a single record
○ One table mapping
Create a single table mapping for use as input to a Websphere datastage job
O Multiple Records
Indude one set of columns in each record. For updates, a separate record will be
Mapping Type: Websphere Datastage v
enerated for the before and after images.
≤对[cae
Next
Finish
Cancel
【实例截图】
【核心代码】