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

Performing an initial load using GoldenGate


So far we have seen how to replicate the changes that occur in a source environment continuously to the target environment. GoldenGate applies these changes using the standard SQL calls to the target database. The success of these statements depends on the state of the data within the database. For this it is imperative that your source and target databases are in a synchronous state before you start the continuous replication between them. If your target database tables are not in the same state as the source database tables, it is quite possible that certain statements will fail. A simple example of this case is when you try to apply an UPDATE statement to the target database that was run in the source database. If the row that you are trying to update does not exist in the target environment, the statement will fail.

There are many methods available to instantiate target database/schemas. You can use the non-GoldenGate methods to do this. However...