Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

When a new table is added to the replication, it is usually necessary to ensure that the historical data is in the target table before the replication starts.
For 2-way replication this process is slightly more complicated. One cannot simply take a source data as of given SCN and move it to the target server, as these data would be replicated back to the source as soon as the apply process is resumed (which would cause replication conflicts on the source server). It is necessary to label the data for the apply process to recognize it and ignore it.
To ensure data is synchronized correctly and there is no gap between loading the historical data and starting the replication, follow these steps: 

Note

In the following example we are using a 2-way configuration described by this table:

UNITSRC UNITTRG
MINE>>>APPLY
APPLY1<<<MINE1

...

 

 

 

...

1. Pause the apply processes

It is necessary to pause the apply process for both replication directions. To do so choose one replication, pause the first apply process and then choose the second replication a pause the second apply process:

...