Selecting and Converting SQL Operations
By default, Oracle GoldenGate captures and applies INSERT
, UPDATE
, and DELETE
operations. You can use the following parameters in the Extract or Replicat parameter file to control which kind of operations are processed, such as only inserts or only inserts and updates.
GETINSERTS | IGNOREINSERTS
GETUPDATES | IGNOREUPDATES
GETDELETES | IGNOREDELETES
You can convert one type of SQL operation to another by using the following parameters in the Replicat parameter file:
-
Use
INSERTUPDATES
to convert source update operations to inserts into the target table. This is useful for maintaining a transaction history on that table. The transaction log record must contain all of the column values of the table, not just changed values. Some databases do not log full row values to their transaction log, but only values that changed. -
Use
INSERTDELETES
to convert all source delete operations to inserts into the target table. This is useful for retaining a history of all records that were ever in the source database. -
Use
UPDATEDELETES
to convert source deletes to updates on the target.