ACD (Add, Change, Delete) Replications are a special type of replication that track the operations done against a database rather than replicating the data itself. When an ACD Replication is defined, a source table is defined and a special ACD target table is created in the target database. The Event Producer will now monitor the source database for any transactions against the table specified in the ACD Replication and a record will be inserted into the ACD target table specifying each operation (Add, Change or Delete) that occurs for the transaction. The ACD target table is a transaction log for the specified source table.
The ACD target table consists of all the columns from the source table preceded by five pre-defined columns that provide transaction log information. The five columns are:
Column Name |
Data Type |
Description |
CNX_ACD_TXID | VarChar(64) | Transaction ID from source database |
CNX_ACD_SequenceNumber |
Integer |
Sequence number within transaction |
CNX_ACD_TimeCreated | TimeStamp | Timestamp from source database |
CNX_ACD_ChangeUser | WVarChar(256) | User ID that made the change in the source database |
CNX_ACD_ChangeType | Char(1) | Type of change. Possible values are A,B,C or D |
CNX_ACD_TXID
CNX_ACD_SequenceNumber
CNX_ACD_TimeCreated