ADD TRACETABLE
Use ADD TRACETABLE
to create a trace table in the
Oracle Database. The trace table must reside in the schema of the Oracle GoldenGate
Extract user, as configured with the USERID
or
USERIDALIAS
parameter. The trace table prevents Replicat
transactions from being extracted again in a bidirectional synchronization
configuration.
Use the DBLOGIN
command to establish a database
connection before using this command.
Table 2-1 Description of trace table
Name | Null? | Type | Description |
---|---|---|---|
|
|
|
The name of the Replicat group or special run process. |
|
|
|
The user ID of the Replicat group or special run process. |
|
|
|
The timestamp of the transaction. |
Syntax
ADD TRACETABLE [[container
.]owner.table]
-
container
-
The pluggable database, if the database is a multitenant container database (CDB).
-
owner.table
-
Optional, use only to specify a trace table with a name that is different from the default of
GGS_TRACE
. The owner must be the same owner that is specified with theUSERID
orUSERIDALIAS
parameter in the Extract parameter file.To use the default name, omit this argument. Whenever possible, use the default table name. When using a trace table name other than the default of
GGS_TRACE
, specify it with theTRACETABLE
parameter in the Extract and Replicat parameter files. Record the name, because you will need it for the parameter files and to view statistics or delete the table, see TRACETABLE | NOTRACETABLE.