Setting up a GoldenGate replication with mapping between different columns

In some of the GoldenGate topologies, you would probably have different table structures in the source and target environment. Different structures can include different table names, different column order, or different column names. When you want to map the data from a source table to a target table in which the column names are not the same, you need to specify some extra parameters in the Replicat process groups. In this recipe we will look into how this can be done.

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

Get Oracle GoldenGate 11g Complete Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.