Structure of the conflict resolution audit table
You can use the TS_CONFAUD table to track how conflict resolution affects your target table.
For example, you can query the AFTERIMG column to see when a change was made to the target table. Then you can review the contents of the BEFOREIMG and AFTERIMG columns to see the change on the source table that resulted in the data on the target table. This can help in identifying issues in your conflict resolution strategy.
Conflict detection and resolution is configured in Management Console.
Column | Description |
---|---|
CNFTIME | The date and time on the target when the conflict was detected. |
SRCTIME | The time the conflicting data was applied to the source table. |
SRCSYSID | The source ID of the subscription. |
SRCSCHEMA | The schema or library name for the source table. |
SRCNAME | The name of the source table. |
SRCMEMBER | The name of the source table. |
TGTSCHEMA | The schema or library for the target table. |
TGTNAME | The name of the target table. |
TGTMEMBER | This column is only used for the IBM® i platform. |
OPTYPE | The row-level operation on the source that caused
the conflict. The following list indicates the possible values:
|
CNFTYPE | The type of conflict that was detected. The
following list indicates the possible values:
|
RESMTD | The conflict resolution method that was used.
The following list indicates the possible values:
If the resolution method was None, then a row will not be entered into this table. |
CNFRES | Indicates if the conflict was resolved. The
following list indicates the possible values:
|
BEFORETRNC | Indicates if the before image stored in BEFOREIMG was truncated. The following list indicates the possible values:
|
BEFOREIMG | A representation of the row in the source table before it was changed. |
AFTERTRNC | Indicates if the after image stored in AFTERIMG was truncated. The following list indicates the possible values:
|
AFTERIMG | A representation of the row in the source table after it was changed. |
TGTIMG | A representation of the row in the target table before replication occurred. |
TGTTRNC | Indicates if the after image stored in TGTIMG was
truncated. The following list indicates the possible values:
|
WINIMG | A representation of the final row in the target table after conflict resolution has occurred. |
WINTRNC | Indicates if the image stored in WINIMG was
truncated. The following list indicates the possible values:
|