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
About the Author
About the Reviewers

Setting up a GoldenGate replication between tables with different structures using defgen

By default, GoldenGate expects the table definitions in your source and target environments to be similar. However, this may not always be the case. If you have defined the mapping between different tables in the source and target environments or the mapped tables have dissimilar structures, you would need to do some extra configuration to make GoldenGate replication work. In this recipe we will look into the additional steps that are required for this.

Getting ready

For this recipe we will use the continuous replication setup for the SCOTT schema done in the Setting up a simple GoldenGate replication configuration between two single node databases recipe earlier in this chapter. We will create two additional tables in the target database with the following structures:

  • EMP_DIFFCOL_ORDER: EMP table with different column order

  • EMP_EXTRACOL: EMP table with an additional column LAST_UPDATE_TIME

We will replicate...