About the Oracle GoldenGate Trail

来源:这里教程网 时间:2026-03-03 17:29:53 作者:

About the Oracle GoldenGate Trail

This appendix contains information about the Oracle GoldenGate trail that you may need to know for troubleshooting, for a support case, or for other purposes. To view the Oracle GoldenGate trail records, use the Logdump utility.

This appendix includes the following sections:

  • Trail Recovery Mode

  • Trail File Header Record

  • Trail Record Format

  • Example of an Oracle GoldenGate Record

  • Record Header Area

  • Record Data Area

  • Tokens Area

  • Oracle GoldenGate Operation Types

  • Oracle GoldenGate Trail Header Record

  • The operation type, such as an insert, update, or delete

  • The before or after indicator for updates

  • Transaction information, such as the transaction group and commit timestamp

  • GGS_TRANS_TIMESTAMP

  • GGS_TRANS_RBA

  • GGS_OP_TYPE

  • GGS_BEFORE_AFTER_IND

  • The time that the change was written to the Oracle GoldenGate file

  • The type of database operation

  • The length of the record

  • The relative byte address within the trail file

  • The table name

  • The data changes in hex format

    The following explains the differences in record image formats used by Oracle GoldenGate on Windows, UNIX, Linux, and NonStop systems.

  • column_index is the ordinal index of the column within the source table (2 bytes).

  • colum_length is the length of the data (2 bytes).

  • column_data is the data, including  NULL or  VARCHAR length indicators.

    Enscribe records written from the NonStop platform may be compressed. The format of a compressed Enscribe record is as follows:

    field_offset field_length field_value[...]

    Where:

  • field_offset is the offset within the original record of the changed value (2 bytes).

  • field_length is the length of the data (2 bytes).

  • field_value is the data, including  NULL or  VARCHAR length indicators.

    The first field in a compressed Enscribe record is the primary or system key.

  • 相关推荐