Steps to configure a BATCHSQL mode

In this recipe we will discuss a batch processing mode for the Replicat process using which the performance of the target replication environment can be improved. We will also discuss the additional options that can be specified in this mode.

How to do it...

The BATCHSQL mode can be configured by adding the following parameters in the replicat configuration file:

REPLICAT RGGTEST1
USERID GGATE_ADMIN@TGORTEST, PASSWORD GGATE_ADMIN
DISCARDFILE /u01/app/ggate/dirrpt/RGGTEST1.dsc,append,MEGABYTES 500
ASSUMETARGETDEFS
MAP SCOTT.*, TARGET SCOTT.*;
BATCHSQL BATCHPERQUEUE 100, OPSPERBATCH 200

How it works...

By default, the Replicat process processes one SQL statement at a time. Compared to the Extract process, the Replicat ...

Get Oracle GoldenGate 11g Complete Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.