摘要 |
PURPOSE: A method for managing a database global transaction of a full electronic telephone exchange is provided to process transactions of many areas as one global transaction in a data management system, so as to widely expand application fields relating to distribution transaction processing and to remove burden of global transaction processing for an application programmer. CONSTITUTION: If a 'start-gtr' is started, after a GTM(Global Transaction Manager) processor is generated, a local GTM transmits a start message of a global transaction to a GTM to designate a transaction start time, a begin flag, and a time-out of the local GTM. The GTM transmits an error message to the local GTM to store the message in a local log buffer. The GTM receiving a global transaction recall request requests a recall to the local GTM with a set abort-flag of the local GTM. The local GTM recovers a local log buffer. If the recall is transmitted to the local GTM, the local GTM checks whether a global transaction is recalled. The local GTM stores log backup data in a backup database, and transmits an 'end-gtr' message to the GTM. The GTM sets up an end flag and transmits an 'ACK' message to the local GTM. If the 'ACK' message is not transmitted, a step of requesting an 'abort-gtr' execution is reperformed. If the 'ACK' message is transmitted, the local GTM updates the 'ACK' message in the backup database.
|