Distributed Transactions

When distributed transactions (transactions that span multiple database servers) generate log records, they are slightly different than nondistributed transactions. You might need to read and interpret them to determine the state of the transaction on both database servers if a failure occurs as a transaction was committing.

The following log records are involved in distributed transactions:
  • BEGPREP
  • ENDTRANS
  • HEURTX
  • PREPARE
  • TABLOCKS

For more information about this type of logical-log record, see the material on two-phase commit and logical-log records in the Informix® Administrator's Guide.

If you are performing distributed transactions with TP/XA, the database server uses an XAPREPARE record instead of a PREPARE record.