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 TRANDATA
command for this purpose. -
Use the
LOGALLSUPCOLS
parameter 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.LOGALLSUPCOLS
causes Extract to include in the trail record the before image forUPDATE
operations and the before image of all supplementally logged columns for bothUPDATE
andDELETE
operations.
For detailed information about these parameters and commands, see the 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.