INSERTMISSINGUPDATES | NOINSERTMISSINGUPDATES
Valid For
Replicat
Description
Use the INSERTMISSINGUPDATES
and NOINSERTMISSINGUPDATES
parameters to control whether or not Oracle GoldenGate inserts a record based on the source record when the target record does not exist.
INSERTMISSINGUPDATES
inserts the missing update but should only be used when the source database logs all column values, whether or not they changed). It can work with a database that uses a compressed form of updates (where only the changed values are logged) if the target database allows NULL
to be used for the missing column values.
If the database includes all columns by default, then you must use
NOCOMPRESSUPDATES
and NOCOMPRESSDELETES
for
INSERTMISSINGUPDATES
to work properly. If the database does not
support NOCOMPRESSDELETES
, then you must use FETCHOPTIONS
MISSINGCOLS
.
When the default of NOINSERTMISSINGUPDATES
is in effect, a missing record causes an error, and the transaction may abend depending on REPERROR
settings.
The INSERTMISSINGUPDATES
and NOINSERTMISSINGUPDATES
parameters are table-specific. One parameter remains in effect for all subsequent MAP
statements, until the other parameter is encountered.
Default
NOINSERTMISSINGUPDATES
Syntax
INSERTMISSINGUPDATES | NOINSERTMISSINGUPDATES