JPH08221307A - Distributed transaction control system - Google Patents

Distributed transaction control system

Info

Publication number
JPH08221307A
JPH08221307A JP7025745A JP2574595A JPH08221307A JP H08221307 A JPH08221307 A JP H08221307A JP 7025745 A JP7025745 A JP 7025745A JP 2574595 A JP2574595 A JP 2574595A JP H08221307 A JPH08221307 A JP H08221307A
Authority
JP
Japan
Prior art keywords
user program
data
database
transaction
transaction control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP7025745A
Other languages
Japanese (ja)
Inventor
Hitoshi Inai
均 井内
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP7025745A priority Critical patent/JPH08221307A/en
Publication of JPH08221307A publication Critical patent/JPH08221307A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To perform distributed transaction processing by using a user program described in a commit/rollback instruction format. CONSTITUTION: This system comprises a transaction start means 3 which starts a transaction by the instruction of a transaction control means 9 generated in the user program 1 when the user program to update a data base by using inter-process communication is compiled, a commit means 4 which commits the update result of the data-base by the user program 1 corresponding to the issuance of the commit instruction of the user program 1, a rollback means 5 which rolls back the update result of the database by the user program 1 corresponding to the issuance of the rollback instruction of the user program 1, a data saving means 6 which saves data in the user program 1 to a data saving area 7, and a data recovery means 8 which recovers the data in the user program 1 saved to the data saving area 7.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、トランザクション制御
システムに関し、特に分散システムにおいて2相コミッ
トによりデータベースの一貫性を保証する分散トランザ
クション制御システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a transaction control system, and more particularly to a distributed transaction control system that guarantees database consistency by two-phase commit in a distributed system.

【0002】[0002]

【従来の技術】特開平3−276251号公報には、利
用者プログラムからトランザクション開始手段、コミッ
ト手段、およびロールバック手段を明示的に呼び出して
トランザクション制御を行う分散システム制御方式が開
示されている。
2. Description of the Related Art Japanese Unexamined Patent Publication No. 3-276251 discloses a distributed system control method in which transaction control is performed by explicitly calling a transaction start means, a commit means, and a rollback means from a user program.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、この従
来の分散システム制御方式においては、コミット/ロー
ルバック命令形式で記述された利用者プログラムは利用
することができないという問題点がある。
However, this conventional distributed system control method has a problem that the user program described in the commit / rollback instruction format cannot be used.

【0004】また分散トランザクション処理で、何らか
の障害が発生した場合におけるリカバリ処理、例えば利
用者プログラムのデータ復旧処理などを利用者プログラ
ムに記述しなければならず、利用者プログラムの記述が
制約を受けるという問題点、および記述量が増大するた
め利用者プログラムの生産性が低下するという問題点が
ある。
Further, in distributed transaction processing, recovery processing in the case of occurrence of some failure, for example, data recovery processing of the user program must be described in the user program, and the description of the user program is restricted. There is a problem that the productivity of the user program is reduced because the description amount increases.

【0005】本発明の目的は、コミット/ロールバック
命令形式で記述された利用者プログラムを利用して分散
トランザクション処理を行うことができるようにするこ
とにある。
An object of the present invention is to enable distributed transaction processing by using a user program described in a commit / rollback instruction format.

【0006】本発明の他の目的は、分散トランザクショ
ン処理において、何らかの障害が発生した場合における
リカバリ処理を自動的に行うことにより、利用者プログ
ラムを簡素な構造にして、利用者プログラムの自由度と
生産性を向上させることにある。
Another object of the present invention is to provide a simple structure for a user program by automatically performing a recovery process in the event of any failure in the distributed transaction processing, and to improve the flexibility of the user program. It is to improve productivity.

【0007】[0007]

【課題を解決するための手段】本発明の第1の分散トラ
ンザクション制御システムは、分散システムにおいてプ
ロセス間通信を利用してデータベースを更新する利用者
プログラムと、前記利用者プログラムのコンパイル時に
コンパイラによって前記利用者プログラム内に生成さ
れ、前記利用者プログラムの開始時に前記利用者プログ
ラムのデータをデータ退避領域に退避してトランザクシ
ョンを開始し、前記利用者プログラムがデータベースを
更新してコミット命令を発行した時にデータベースの更
新結果をコミットし、前記利用者プログラムのデータを
前記データ退避領域に退避して次のトランザクションを
開始するとともに、前記利用者プログラムがデータベー
スを更新してロールバック命令を発行した時にデータベ
ースの更新結果をロールバックし、前記データ退避領域
に退避された前記利用者プログラムのデータを復旧して
次のトランザクションを開始し、さらに前記利用者プロ
グラムがデータベースを更新して処理を終了する時にデ
ータベースの更新結果をコミットするトランザクション
制御手段とを備えている。
A first distributed transaction control system of the present invention includes a user program for updating a database by utilizing interprocess communication in a distributed system, and a compiler for compiling the user program by a compiler. When the user program is generated and saved in the data save area at the start of the user program to start a transaction and the user program updates the database and issues a commit command. The database update result is committed, the data of the user program is saved in the data save area and the next transaction is started, and when the user program updates the database and issues a rollback command, the database is updated. Update results Back to recover the data of the user program saved in the data save area and start the next transaction, and when the user program updates the database and ends the process, commits the update result of the database. And transaction control means for performing the transaction.

【0008】本発明の第2の分散トランザクション制御
システムは、第1の分散トランザクション制御システム
において、前記トランザクション制御手段は、前記利用
者プログラムがデータベースを更新した後にプロセス間
通信で何らかの障害が発生した時にデータベースの更新
結果をロールバックし、前記データ退避領域に退避され
た前記利用者プログラムのデータを復旧して次のトラン
ザクションを開始する。
A second distributed transaction control system of the present invention is the first distributed transaction control system according to the first distributed transaction control system, wherein the transaction control means is provided when some trouble occurs in interprocess communication after the user program updates the database. The update result of the database is rolled back, the data of the user program saved in the data save area is restored, and the next transaction is started.

【0009】本発明の第3の分散トランザクション制御
システムは、第1および第2の分散トランザクション制
御システムにおいて、前記トランザクション制御手段
は、前記利用者プログラムがデータベースを更新した後
にプロセス間通信でタイムアウトが発生した時にデータ
ベースの更新結果をロールバックし、前記データ退避領
域に退避された前記利用者プログラムのデータを復旧し
て次のトランザクションを開始する。
According to a third distributed transaction control system of the present invention, in the first and second distributed transaction control systems, the transaction control means causes a timeout in interprocess communication after the user program updates the database. At that time, the update result of the database is rolled back, the data of the user program saved in the data saving area is restored, and the next transaction is started.

【0010】本発明の第4のトランザクション制御シス
テムは、分散システムにおいてプロセス間通信を利用し
てデータベースを更新する利用者プログラムと、前記利
用者プログラムのコンパイル時にコンパイラによって前
記利用者プログラム内に生成されるトランザクション制
御手段と、前記トランザクション制御手段の指示により
トランザクションを開始するトランザクション開始手段
と、前記トランザクション制御手段の指示により前記利
用者プログラムのコミット命令発行に応じて前記利用者
プログラムによるデータベースの更新結果をコミットす
るコミット手段と、前記トランザクション制御手段の指
示により前記利用者プログラムのロールバック命令発行
に応じて前記利用者プログラムによるデータベースの更
新結果をロールバックするロールバック手段と、前記ト
ランザクション開始手段、前記コミット手段、および前
記ロールバック手段を含み前記利用者プログラムの処理
を管理する分散トランザクション処理システムと、前記
トランザクション制御手段の指示により前記利用者プロ
グラムのデータをデータ退避領域に退避するデータ退避
手段と、前記トランザクション制御手段の指示により前
記データ退避領域に退避された前記利用者プログラムの
データを復旧するデータ復旧手段とを備え、前記トラン
ザクション制御手段は、前記利用者プログラムの開始時
に前記データ退避手段を呼び出して前記利用者プログラ
ムのデータを前記データ退避領域に退避し、前記トラン
ザクション開始手段を呼び出してトランザクションを開
始し、前記利用者プログラムがデータベースを更新して
コミット命令を発行した時に前記コミット手段を呼び出
してデータベースの更新結果をコミットし、前記データ
退避手段を呼び出して前記利用者プログラムのデータを
前記データ退避領域に退避し、前記トランザクション開
始手段を呼び出して次のトランザクションを開始すると
ともに、前記利用者プログラムがデータベースを更新し
てロールバック命令を発行した時に前記ロールバック手
段を呼び出してデータベースの更新結果をロールバック
し、前記データ復旧手段を呼び出して前記データ退避領
域に退避された前記利用者プログラムのデータを復旧
し、前記トランザクション開始手段を呼び出して次のト
ランザクションを開始し、さらに前記利用者プログラム
がデータベースを更新して処理を終了する時に前記コミ
ット手段を呼び出してデータベースの更新結果をコミッ
トする。
A fourth transaction control system of the present invention is a user program for updating a database using interprocess communication in a distributed system, and a compiler generated in the user program by a compiler when the user program is compiled. Transaction control means, a transaction start means for starting a transaction according to the instruction of the transaction control means, and a database update result by the user program in response to the issuing of a commit command of the user program according to the instruction of the transaction control means. A commit means for committing and a rollback command for updating the database by the user program in response to issuing a rollback command of the user program according to an instruction from the transaction control means. Rollback means for performing a transaction, a distributed transaction processing system including the transaction start means, the commit means, and the rollback means for managing the processing of the user program, and the user control of the user program according to an instruction from the transaction control means. The transaction control means comprises a data saving means for saving data in a data saving area, and a data restoring means for restoring the data of the user program saved in the data saving area according to an instruction from the transaction control means. When the user program is started, the data saving means is called to save the data of the user program to the data saving area, the transaction starting means is called to start a transaction, and the user program When the base is updated and a commit command is issued, the commit means is called to commit the update result of the database, the data save means is called to save the data of the user program to the data save area, and the transaction is started. Means to start the next transaction, and when the user program updates the database and issues a rollback command, calls the rollback means to rollback the update result of the database, and the data recovery means When the user program data that has been called and saved in the data save area is restored, the transaction start means is called to start the next transaction, and the user program updates the database and ends the processing. The commit To commit the database update result.

【0011】本発明の第5の分散トランザクション制御
システムは、第4の分散トランザクション制御システム
において、前記トランザクション制御手段は、前記利用
者プログラムがデータベースを更新した後にプロセス間
通信で何らかの障害が発生した時に、前記ロールバック
手段を呼び出してデータベースの更新結果をロールバッ
クし、前記データ復旧手段を呼び出して前記データ退避
領域に退避された前記利用者プログラムのデータを復旧
し、前記トランザクション開始手段を呼び出して次のト
ランザクションを開始する。
A fifth distributed transaction control system of the present invention is the fourth distributed transaction control system, wherein the transaction control means is provided when some trouble occurs in interprocess communication after the user program updates a database. , The rollback means is called to roll back the update result of the database, the data recovery means is called to restore the user program data saved in the data save area, and the transaction start means is called to Start a transaction.

【0012】本発明の第6の分散トランザクション制御
システムは、第4および第5の分散トランザクション制
御システムにおいて、前記トランザクション制御手段
は、前記利用者プログラムがデータベースを更新した後
にプロセス間通信でタイムアウトが発生した時に、前記
ロールバック手段を呼び出してデータベースの更新結果
をロールバックし、前記データ復旧手段を呼び出して前
記データ退避領域に退避された前記利用者プログラムの
データを復旧し、前記トランザクション開始手段を呼び
出して次のトランザクションを開始する。
According to a sixth distributed transaction control system of the present invention, in the fourth and fifth distributed transaction control systems, the transaction control means causes a timeout in interprocess communication after the user program updates the database. When this happens, the rollback means is called to roll back the update results of the database, the data recovery means is called to restore the user program data saved in the data save area, and the transaction start means is called. To start the next transaction.

【0013】[0013]

【実施例】以下、本発明の一実施例について、図を参照
しながら詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below in detail with reference to the drawings.

【0014】図1を参照すると、本発明の一実施例であ
る分散トランザクション制御システムは、プロセス間通
信を利用してデータベースを更新する利用者プログラム
1と、この利用者プログラム1のコンパイル時にコンパ
イラによって利用者プログラム1内に生成されるトラン
ザクション制御手段9と、トランザクション制御手段9
の指示によりトランザクションを開始するトランザクシ
ョン開始手段3と、トランザクション制御手段9の指示
により利用者プログラム1のコミット命令発行に応じて
利用者プログラム1によるデータベースの更新結果をコ
ミットするコミット手段4と、トランザクション制御手
段9の指示により利用者プログラム1のロールバック命
令発行に応じて利用者プログラム1によるデータベース
の更新結果をロールバックするロールバック手段5と、
トランザクション開始手段3、コミット手段4、および
ロールバック手段5を含む分散トランザクション処理シ
ステム2と、トランザクション制御手段9の指示により
利用者プログラム1のデータをデータ退避領域7に退避
するデータ退避手段6と、トランザクション制御手段9
の指示によりデータ退避領域7に退避された利用者プロ
グラム1のデータを復旧するデータ復旧手段8とから構
成されている。
Referring to FIG. 1, a distributed transaction control system according to an embodiment of the present invention uses a user program 1 for updating a database by utilizing interprocess communication, and a compiler when the user program 1 is compiled. Transaction control means 9 generated in the user program 1, and transaction control means 9
Transaction start means 3 for starting a transaction according to the instruction, transaction control means 9 for committing the update result of the database by the user program 1 in response to the issuance of the commit instruction by the user program 1, and transaction control. Rollback means 5 for rolling back the update result of the database by the user program 1 in response to the issuing of the rollback command of the user program 1 by the instruction of the means 9;
A distributed transaction processing system 2 including a transaction start means 3, a commit means 4, and a rollback means 5; a data save means 6 for saving the data of the user program 1 in a data save area 7 according to an instruction from the transaction control means 9; Transaction control means 9
The data recovery means 8 recovers the data of the user program 1 saved in the data save area 7 in accordance with the instruction.

【0015】次に本発明の一実施例である分散トランザ
クション制御システムについて、図1〜図2を参照して
説明する。
Next, a distributed transaction control system according to an embodiment of the present invention will be described with reference to FIGS.

【0016】利用者プログラム1の開始時(ステップ2
1)において、トランザクション制御手段9は、データ
退避手段6を呼び出して利用者プログラム1のデータを
データ退避領域7に退避する(ステップ22)。さらに
トランザクション制御手段9は、トランザクション開始
手段3を呼び出してトランザクションを開始する(ステ
ップ23)。
When the user program 1 starts (step 2)
In 1), the transaction control means 9 calls the data saving means 6 and saves the data of the user program 1 in the data saving area 7 (step 22). Further, the transaction control means 9 calls the transaction start means 3 to start the transaction (step 23).

【0017】利用者プログラム1がプロセス間通信を利
用してデータベースを更新して(ステップ24)、コミ
ット命令を発行した時点(ステップ25)において、ト
ランザクション制御手段9は、コミット手段4を呼び出
してデータベースの更新結果をコミットする(ステップ
26)。さらにトランザクション制御手段9は、データ
退避手段6を呼び出して利用者プログラム1のデータを
データ退避領域7に退避する(ステップ27)ととも
に、トランザクション開始手段3を呼び出して次のトラ
ンザクションを開始する(ステップ28)。
At the time when the user program 1 updates the database using interprocess communication (step 24) and issues a commit command (step 25), the transaction control means 9 calls the commit means 4 to call the database. Commit the update result of (step 26). Further, the transaction control means 9 calls the data saving means 6 to save the data of the user program 1 in the data saving area 7 (step 27), and calls the transaction starting means 3 to start the next transaction (step 28). ).

【0018】利用者プログラム1がプロセス間通信を利
用してデータベースを更新して(ステップ29)、ロー
ルバック命令を発行した時点(ステップ2A)におい
て、トランザクション制御手段9は、ロールバック手段
5を呼び出してデータベースの更新結果をロールバック
する(ステップ2B)。さらにトランザクション制御手
段9は、データ復旧手段8を呼び出してデータ退避領域
7に退避された利用者プログラム1のデータを復旧する
(ステップ2C)とともに、トランザクション開始手段
3を呼び出して次のトランザクションを開始する(ステ
ップ2D)。
When the user program 1 updates the database using interprocess communication (step 29) and issues a rollback command (step 2A), the transaction control means 9 calls the rollback means 5. Then, the database update result is rolled back (step 2B). Further, the transaction control means 9 calls the data recovery means 8 to recover the data of the user program 1 saved in the data save area 7 (step 2C), and calls the transaction start means 3 to start the next transaction. (Step 2D).

【0019】利用者プログラム1がプロセス間通信を利
用してデータベースを更新して(ステップ2E)、該プ
ロセス間通信で何らかの障害が発生した時点(ステップ
2F)において、トランザクション制御手段9は、ロー
ルバック手段5を呼び出してデータベースの更新結果を
ロールバックする(ステップ2G)。さらにトランザク
ション制御手段9は、データ復旧手段8を呼び出してデ
ータ退避領域7に退避された利用者プログラム1のデー
タを復旧する(ステップ2H)とともに、トランザクシ
ョン開始手段3を呼び出して次のトランザクションを開
始する(ステップ2I)。
At the time when the user program 1 updates the database using interprocess communication (step 2E) and some trouble occurs in the interprocess communication (step 2F), the transaction control means 9 rolls back. The means 5 is called to roll back the database update result (step 2G). Further, the transaction control means 9 calls the data recovery means 8 to recover the data of the user program 1 saved in the data save area 7 (step 2H), and calls the transaction start means 3 to start the next transaction. (Step 2I).

【0020】利用者プログラム1がプロセス間通信を利
用してデータベースを更新して(ステップ2J)、該プ
ロセス間通信でタイムアウトが発生した時点(ステップ
2K)において、トランザクション制御手段9は、ロー
ルバック手段5を呼び出してデータベースの更新結果を
ロールバックする(ステップ2L)。さらにトランザク
ション制御手段9は、データ復旧手段8を呼び出してデ
ータ退避領域7に退避された利用者プログラム1のデー
タを復旧する(ステップ2M)とともに、トランザクシ
ョン開始手段3を呼び出して次のトランザクションを開
始する(ステップ2N)。
At the time when the user program 1 updates the database using interprocess communication (step 2J) and a time-out occurs in the interprocess communication (step 2K), the transaction control means 9 causes the rollback means. 5 is called to roll back the update result of the database (step 2L). Further, the transaction control means 9 calls the data recovery means 8 to recover the data of the user program 1 saved in the data save area 7 (step 2M), and calls the transaction start means 3 to start the next transaction. (Step 2N).

【0021】利用者プログラム1がプロセス間通信を利
用してデータベースを更新して(ステップ2O)、利用
者プログラム1の終了時点(ステップ2P)において、
トランザクション制御手段9は、コミット手段4を呼び
出してデータベースの更新結果をコミットする(ステッ
プ2Q)。
The user program 1 updates the database using interprocess communication (step 2O), and at the end of the user program 1 (step 2P),
The transaction control means 9 calls the commit means 4 to commit the update result of the database (step 2Q).

【0022】以上により、本発明の一実施例である分散
トランザクション制御システムの処理が完了する。
With the above, the processing of the distributed transaction control system according to the embodiment of the present invention is completed.

【0023】本発明の一実施例である分散トランザクシ
ョン制御システムは、コミット/ロールバック命令形式
で記述された利用者プログラムを利用して分散トランザ
クション処理を行うことができる効果を有しており、さ
らに分散トランザクション処理において、何らかの障害
が発生した場合において、リカバリ処理を自動的に行う
ことができる効果を有している。
The distributed transaction control system according to one embodiment of the present invention has an effect that distributed transaction processing can be performed using a user program described in a commit / rollback instruction format. In the distributed transaction processing, the recovery processing can be automatically performed when some failure occurs.

【0024】[0024]

【発明の効果】以上説明したように、本発明の分散トラ
ンザクション制御システムは、コミット/ロールバック
命令形式で記述された利用者プログラムを利用して分散
トランザクション処理を行うことができる効果を有して
おり、さらに分散トランザクション処理において、何ら
かの障害が発生した場合において、リカバリ処理を自動
的に行うことにより、利用者プログラムがリカバリ処理
を含まなくて良いことにより、利用者プログラムが簡素
な構造になり、利用者プログラムの自由度と生産性が向
上する効果を有している。
As described above, the distributed transaction control system of the present invention has the effect of being able to perform distributed transaction processing by using the user program described in the commit / rollback instruction format. In addition, in the distributed transaction processing, when some failure occurs, the recovery processing is automatically performed, so that the user program does not need to include the recovery processing. Therefore, the user program has a simple structure, This has the effect of improving the flexibility and productivity of user programs.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing one embodiment of the present invention.

【図2】本発明の一実施例におけるトランザクション制
御手段9、トランザクション開始手段3、コミット手段
4、ロールバック手段5、データ退避手段6、およびデ
ータ復旧手段8の処理を示す流れ図である。
FIG. 2 is a flowchart showing the processing of a transaction control means 9, a transaction start means 3, a commit means 4, a rollback means 5, a data save means 6, and a data recovery means 8 in one embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1 利用者プログラム 2 分散トランザクション処理システム 3 トランザクション開始手段 4 コミット手段 5 ロールバック手段 6 データ退避手段 7 データ退避領域 8 データ復旧手段 9 トランザクション制御手段 1 User Program 2 Distributed Transaction Processing System 3 Transaction Starting Means 4 Commit Means 5 Rollback Means 6 Data Saving Means 7 Data Saving Areas 8 Data Restoring Means 9 Transaction Control Means

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 分散システムにおいてプロセス間通信を
利用してデータベースを更新する利用者プログラムと、 前記利用者プログラムのコンパイル時にコンパイラによ
って前記利用者プログラム内に生成され、 前記利用者プログラムの開始時に前記利用者プログラム
のデータをデータ退避領域に退避してトランザクション
を開始し、前記利用者プログラムがデータベースを更新
してコミット命令を発行した時にデータベースの更新結
果をコミットし、前記利用者プログラムのデータを前記
データ退避領域に退避して次のトランザクションを開始
するとともに、前記利用者プログラムがデータベースを
更新してロールバック命令を発行した時にデータベース
の更新結果をロールバックし、前記データ退避領域に退
避された前記利用者プログラムのデータを復旧して次の
トランザクションを開始し、さらに前記利用者プログラ
ムがデータベースを更新して処理を終了する時にデータ
ベースの更新結果をコミットするトランザクション制御
手段とを備えたことを特徴とする分散トランザクション
制御システム。
1. A user program for updating a database using inter-process communication in a distributed system; a user program generated in the user program by a compiler when compiling the user program; The data of the user program is saved in the data save area, a transaction is started, and when the user program updates the database and issues a commit command, the update result of the database is committed, and the data of the user program is saved as When the user program updates the database and issues a rollback command, the result of updating the database is rolled back, and the data is saved in the data saving area. User program Distributed transaction control, comprising: transaction control means for recovering data, starting the next transaction, and committing the update result of the database when the user program updates the database and ends the processing. system.
【請求項2】 前記トランザクション制御手段は、前記
利用者プログラムがデータベースを更新した後にプロセ
ス間通信で何らかの障害が発生した時にデータベースの
更新結果をロールバックし、前記データ退避領域に退避
された前記利用者プログラムのデータを復旧して次のト
ランザクションを開始することを特徴とする請求項1記
載の分散トランザクション制御システム。
2. The transaction control means rolls back the update result of the database when some trouble occurs in inter-process communication after the user program updates the database, and the use saved in the data save area. The distributed transaction control system according to claim 1, wherein the data of the third party program is recovered and the next transaction is started.
【請求項3】 前記トランザクション制御手段は、前記
利用者プログラムがデータベースを更新した後にプロセ
ス間通信でタイムアウトが発生した時にデータベースの
更新結果をロールバックし、前記データ退避領域に退避
された前記利用者プログラムのデータを復旧して次のト
ランザクションを開始することを特徴とする請求項1お
よび請求項2記載の分散トランザクション制御システ
ム。
3. The transaction control means rolls back the update result of the database when a timeout occurs in interprocess communication after the user program updates the database, and the user saved in the data save area. 3. The distributed transaction control system according to claim 1 or 2, wherein the program data is recovered and the next transaction is started.
JP7025745A 1995-02-15 1995-02-15 Distributed transaction control system Pending JPH08221307A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7025745A JPH08221307A (en) 1995-02-15 1995-02-15 Distributed transaction control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7025745A JPH08221307A (en) 1995-02-15 1995-02-15 Distributed transaction control system

Publications (1)

Publication Number Publication Date
JPH08221307A true JPH08221307A (en) 1996-08-30

Family

ID=12174371

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7025745A Pending JPH08221307A (en) 1995-02-15 1995-02-15 Distributed transaction control system

Country Status (1)

Country Link
JP (1) JPH08221307A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100309674B1 (en) * 1998-11-17 2001-12-17 오길록 Transaction preprocessing method of real-time database management system
JP2015170056A (en) * 2014-03-05 2015-09-28 富士通株式会社 Transaction processing device, transaction processing program and distributed processing system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100309674B1 (en) * 1998-11-17 2001-12-17 오길록 Transaction preprocessing method of real-time database management system
JP2015170056A (en) * 2014-03-05 2015-09-28 富士通株式会社 Transaction processing device, transaction processing program and distributed processing system

Similar Documents

Publication Publication Date Title
US5734896A (en) Recovery of a remotely initiated distributed prepared transaction by status report from a second database to an external coordinator
JP3052908B2 (en) Transaction program parallel execution method and transaction program parallel execution method
CN109002462A (en) A kind of method and system for realizing distributed things
JPH08221307A (en) Distributed transaction control system
JPH04284548A (en) Data base exclusive controlling system
JP2846047B2 (en) Shadow process generation method
US7680838B1 (en) Maintaining data synchronization in a file-sharing environment
US20080320020A1 (en) Method and system for optimizing xa open and xa close operations in a distributed database system
CN113535684A (en) Activiti-based autonomous command control method
US5615371A (en) Debug processing system for user programs
JPH0464146A (en) Optimizing system for commitment processing in distributed system
JPH08249209A (en) Method for testing application program in on-line transaction system
JP2743860B2 (en) User program debug processing system
JP3338724B2 (en) Database save method
JP2923111B2 (en) Data processing method and apparatus
JPH0448333A (en) Automatic control shift system after roll-back
JP3516428B2 (en) calculator
JPH02285438A (en) Roll-back system for non-journal order processing file
JPH03286230A (en) Automatic saving/restoring system for memory area
Lim et al. A checkpointing scheme for heterogeneous distributed database systems
JPH02267645A (en) Automatic roll-back system for report file
JP2000293416A (en) Database processor and storage medium
JPH0433127A (en) Check point control system
JPH0954718A (en) Asynchronous update function processing system for distributed data base
JPH02128247A (en) Back-up system for discrete data base system

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19991116