Heterogeneous commit protocol
Used in the context of IBM® Informix® database servers, the term heterogeneous environment is a group of database servers in which at least one of the database servers is a different database server. Heterogeneous commit ensures the all-or-nothing basis of distributed transactions in a heterogeneous environment.
Unlike the two-phase commit protocol, the heterogeneous commit protocol supports the participation of a participant that is not Informix. The other participant, called a gateway participant, must communicate with the coordinator through the IBM Informix gateway.
The database server uses heterogeneous commit protocol when the following criteria are met:
- Heterogeneous commit is enabled. (That is, the HETERO_COMMIT configuration
parameter is set to
1
.) - The coordinator of the commit is a version 7.2 or later IBM Informix.
- The gateway participant communicates with the IBM Informix database server through the IBM Informix gateway.
- At most, one gateway participant performs an update within a single transaction.
The following figure illustrates this scenario.