Format of CDC records
The Change Data Capture (CDC) records contain a header that is common to all records, followed by a specific header for the type of CDC record.
The header common to all CDC records describes the size and type of the CDC record.
Section | Size | Description |
---|---|---|
Header size | 4 bytes | The number of bytes in the common and CDC record-specific headers. |
Payload size | 4 bytes | The number of bytes of data in the record after the common and CDC record-specific headers. |
Packet scheme | 4 bytes | The packetization scheme number of one of the packetization schemes contained in the syscdcpacketschemes table. The only packetization scheme is 66, CDC_PKTSCHEME_LRECBINARY. |
Record number | 4 bytes | The record number of one of the CDC records contained in the syscdcrectypes table. |