码迷,mamicode.com
首页 > 其他好文 > 详细

GoldenGate performance tuning

时间:2014-09-22 12:29:32      阅读:172      评论:0      收藏:0      [点我收藏+]

标签:style   color   os   使用   ar   for   数据   div   sp   

ogg同步的时候,有时候我们会遇见非常大的表。这时候我们可以使用多个replicat进程通过range参数进行分割分别应用到目标端数据库中

例如:
replicat rep2:

MAP scott.emp, TARGET scott.emp, FILTER (@RANGE (1,3));

replicat rep3:

MAP scott.emp, TARGET scott.emp, FILTER (@RANGE (2,3));

replicat rep4:

MAP scott.emp, TARGET scott.emp, FILTER (@RANGE (3,3));

 

默认通过主键range的,这里也可以指定其他列,语法:
@RANGE ({range}, {total ranges} [, {column}] [, {column}] [, ...])


GoldenGate performance tuning

标签:style   color   os   使用   ar   for   数据   div   sp   

原文地址:http://blog.csdn.net/zbdba/article/details/39473717

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!