Connectiong with the OLE DB USEREPLICATIONUSER Option
If Replicat connects as the SQL Server replication user through OLE DB with the
USEREPLICATIONUSER
option, and NOT FOR
REPLICATION
is enabled for IDENTITY
columns, triggers
with foreign key constraints, the following benefits and limitations apply.
-
IDENTITY
seeds are not incremented when Replicat performs an insert. For SQL Server bidirectional configurations, stagger the seed and increment values like the example in Step 3 of the previous section. -
Triggers are disabled for the Replicat user automatically on the target to prevent redundant operations. However triggers fire on the target for other users.
-
Foreign key constraints are not enforced on the target for Replicat transactions.
CASCADE
updates and deletes are not performed. These, too, prevent redundant operations. -
CHECK
constraints are not enforced on the target for Replicat transactions. Even though these constraints are enforced on the source before data is captured, consider whether their absence on the target could cause data integrity issues.Note:
Normal
IDENTITY
, trigger, and constraint functionality remains in effect for any users other than the Replicat replication user.
USEREPLICATIONUSER
, follow these steps:
Note:
This feature is only supported for Oracle GoldenGate on Windows.Note:
Install the Microsoft OLE DB Driver for SQL Server software on the Oracle GoldenGate server.