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 process has to re-construct the SQL statements by reading them from the trail files. Once this is done, these statements are applied to the target database. Overall, this process is slower than the rate at which the GoldenGate extract is able...