Home > Database > Mysql Tutorial > GoldenGateperformancetuning

GoldenGateperformancetuning

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 16:03:27
Original
1219 people have browsed it

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

Related labels:
OG
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template