Excluding Replicat Transactions in Bidirectional Replication
In a bidirectional configuration, Replicat must be configured to mark its transactions, and Extract must be configured to exclude Replicat transactions so that they do not propagate back to their source.
This can be implemented in two ways:
Method 1
Valid only for Oracle to Oracle implementations.
Replicat can be in either integrated or nonintegrated mode. Use the following parameters:
- Use
DBOPTIONSwith theSETTAGoption in the Replicat parameter file. The inbound server tags the transactions of that Replicat with the specified value, which identifies those transactions in the redo stream. The default value forSETTAGis 00. - Use the
TRANLOGOPTIONSparameter with theEXCLUDETAGoption in an Extract parameter file. The logmining server associated with that Extract excludes redo that is tagged with theSETTAGvalue. MultipleEXCLUDETAGstatements can be used to exclude different tag values, if desired.
Method 2
Valid for any implementation; Oracle or heterogeneous database configurations. Use the ExtractTRANLOGOPTIONS parameter
with the EXCLUDEUSER or EXCLUDEUSERID option to ignore
the Replicat DDL and DML transactions based on its user name or ID. Multiple
EXCLUDEUSER statements can be used. The specified user is subject
to the rules of the GETREPLICATES or IGNOREREPLICATES
parameter.