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

Creating an exception handler to record the erroneous transactions in a GoldenGate configuration


The success of one-way replication between two environments is dependent on the state of the data in the target environment. If the record that the Replicat process is trying to update does not exist in the target database, the replication will certainly fail. If the data set is small, it is easy to verify that the data in the target environment is in the expected state. However, when the volume of the data increases, it gets tougher and the chances of getting issues in the replication increase manifold. When such errors happen, the Replicat process stops and there can be a pile up of pending changes that still need to be applied to the target environment. In order to avoid the pile up of pending transactions, it might be better to track the error, keep a record of erroneous records, and carry on with the replication.

GoldenGate offers a powerful way of managing such errors. In this recipe we...