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

Loading data with bulk load to the SQL loader method


The GoldenGate bulk load to the SQL loader method consists of an initial load Extract process which communicates with an initial load Replicat process. This process is started automatically by the destination Manager process. The Replicat process then coordinates with the SQL loader API and uses it to load the data into the target database. In this recipe, we will look into the detailed steps of how to use this method to perform an instantiation of the source database.

Getting ready

For this recipe we will use the following setup:

  1. Create a modified version of the EMP table that is delivered in the SCOTT demo schema with Oracle binaries in the source and target databases. You can use the following DDL statement to create the EMP table:

    CREATE TABLE EMP (
    EMPNO NUMBER(10) PRIMARY KEY, 
    ENAME VARCHAR2(25),
    JOB VARCHAR2(25),
    MGR NUMBER(10),
    HIREDATE DATE,
    SAL NUMBER(20,2),
    COMM NUMBER(20,2),
    DEPTNO NUMBER(10),
    CITY VARCHAR2(25));
    
  2. Use the following...