Maison >base de données >tutoriel mysql >GoldenGateperformancetuning

GoldenGateperformancetuning

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBoriginal
2016-06-07 16:03:271220parcourir

ogg同步的时候,有时候我们会遇见非常大的表。这时候我们可以使用多个replicat进程通过range参数进行分割分别应用到目标端数据库中 例如: replicat rep2: MAP scott.emp, TARGET scott.emp, FILTER (@RANGE (1,3)); replicat rep3: MAP scott.emp, TARGET

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}] [, ...])

Déclaration:
Le contenu de cet article est volontairement contribué par les internautes et les droits d'auteur appartiennent à l'auteur original. Ce site n'assume aucune responsabilité légale correspondante. Si vous trouvez un contenu suspecté de plagiat ou de contrefaçon, veuillez contacter admin@php.cn