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

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

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.