Book Image

Oracle Goldengate 11g Complete Cookbook

By : Ankur Gupta
Book Image

Oracle Goldengate 11g Complete Cookbook

By: Ankur Gupta

Overview of this book

Oracle Goldengate 11g Complete Cookbook is your complete guide to all aspects of Goldengate administration. The recipes in this book will teach you how to setup Goldengate configurations for simple and complex environments requiring various filtering and transformations. It also covers various aspects of tuning and troubleshooting the replication setups using exception handling, custom fields, and logdump utility.The book begins by explaining some basic tasks like Installation and Process groups setup. You will then be introduced to some further topics including DDL replication and various options to perform Initial Loads. You will then learn some advanced administration tasks such as Multi Master replication setup and conflict resolution. Further recipes, contain the cross platform replication and high availability options for Goldengate.
Table of Contents (16 chapters)
Oracle GoldenGate 11g Complete Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

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...