人大金仓KFS-Tungsten Replicator 7.0 过滤器解析

86 阅读1分钟

关键字:

KFS, Tungsten Replicator

Tungsten Replicator概述

Tungsten Replicator™ is a replication engine supporting a variety of different extractor and applier modules. Data can be extracted from MySQL, Amazon RDS MySQL, Amazon Aurora and Google Cloud SQL, and applied to a variety of transactional stores, NoSQL stores and datawarehouse stores.

During replication, Tungsten Replicator assigns data a unique global transaction ID, and enables flexible statement and/or row-based replication of data. This enables data to be exchanged between different databases and different database versions. During replication, information can be filtered and modified, and deployment can be between on-premise or cloud-based databases. For performance, Tungsten Replicator™ provides support for parallel replication, and advanced topologies such as fan-in, star and multi-master, and can be used efficiently in cross-site deployments.

过滤器

Tungsten Replicator一共有5个阶段:

阶段ExtractorApplier
Dbms to qYN
Q to thlYN
Remote to thlNY
Thl to qNY
Q to dbmsNY
源端数据抽取YN
目标端HTL数据抽取NY
数据落库NY
发送THLYY

在五个阶段的每一个阶段都可以添加过滤器,对应不同的作用

阶段作用建议过滤器
Dbms to q在抽取时修改数据修改原始数据的过滤器,例如表名、主键名
源端Q to thl在数据被转换为THL之前修改数据过滤数据,必须在确保表或者数据不会在目标端被需要的情况下进行过滤
目标Remote to thl在从网络下载THL到磁盘之前进行过滤删除模式、表,列
目标Thl to q在进入到落库阶段之前进行过滤修改THL的结构,列入重新划分HTL岁票来进行并行入库
目标Q to dbms只影响写入数据库的数据着重修改目标端数据库环境,例如格式、编码

参考资料

Tungsten Replicator 7.0 Manual