Making the Required Column Values Available to Extract
To use CDR, the following column values must be logged so that Extract can write them to the trail.
-
The full before image of each record. Some databases do not provide a before image in the log record, and must be configured to do so with supplemental logging. For most supported databases, you can use the
ADD TRANDATAcommand for this purpose. -
Use the
LOGALLSUPCOLSparameter to ensure that the full before and after images of the scheduling columns are written to the trail. Scheduling columns are primary key, unique index, and foreign key columns.LOGALLSUPCOLScauses Extract to include in the trail record the before image forUPDATEoperations and the before image of all supplementally logged columns for bothUPDATEandDELETEoperations.
For detailed information about these parameters and commands, see the Parameters and Functions Reference for Oracle GoldenGate. See the examples starting on CDR Example 1: All Conflict Types with USEMAX, OVERWRITE, DISCARD for more information on how these parameters work with CDR.