JPH10232809A - Transaction processing system - Google Patents
Transaction processing systemInfo
- Publication number
- JPH10232809A JPH10232809A JP9332683A JP33268397A JPH10232809A JP H10232809 A JPH10232809 A JP H10232809A JP 9332683 A JP9332683 A JP 9332683A JP 33268397 A JP33268397 A JP 33268397A JP H10232809 A JPH10232809 A JP H10232809A
- Authority
- JP
- Japan
- Prior art keywords
- transaction
- counter
- data
- log
- database
- 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
Links
- 238000011084 recovery Methods 0.000 claims description 20
- 238000000034 method Methods 0.000 abstract description 29
- 238000013523 data management Methods 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 11
- 230000006870 function Effects 0.000 description 6
- 238000007726 management method Methods 0.000 description 5
- 230000006854 communication Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 230000005856 abnormality Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 238000000605 extraction Methods 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、オンラインによる
銀行業務の処理や航空券の予約・発券業務の処理のよう
なトランザクション処理のためのシステムに関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a system for transaction processing such as online banking processing and airline ticket reservation / ticketing processing.
【0002】[0002]
【従来の技術】例えばオンラインで銀行口座の預金や振
込を行う処理は、銀行口座の情報、入出金額、及び取引
履歴など、その取引に関連する種々のデータにアクセス
し、その内容を更新する処理から構成される。これら複
数のデータに対する処理は、全体として纏まってオンラ
イン・データベース処理の論理的単位を構成しており、
この論理的単位を「トランザクション」と呼ぶ。2. Description of the Related Art For example, a process of depositing and transferring a bank account online is a process of accessing various data related to the transaction, such as bank account information, deposit / withdrawal amount, transaction history, and updating the content thereof. Consists of Processing of these multiple data collectively constitutes a logical unit of online database processing,
This logical unit is called a “transaction”.
【0003】トランザクションは、それに関連する複数
のデータの内容を変化させるが、全てのデータの変化後
の内容は、互いに整合した一貫性のあるものとなってい
なくてはならない。そのため、業務に必要なデータを全
て単一のデータベースに格納することにより、一つのデ
ータベース管理システムが全てのデータを管理し、それ
らの一貫性を自動的に補償するようなトランザクション
処理システムが従来から広く利用されている。[0003] A transaction changes the content of a plurality of data associated therewith, but the changed content of all data must be consistent and consistent with each other. For this reason, a transaction processing system that manages all data by automatically storing all data necessary for business in a single database and automatically compensates for their consistency has been conventionally used. Widely used.
【0004】一方、業務に必要な複数のデータを複数の
データベースに分散させて管理するようにしたトランザ
クション処理システムも、従来から利用されている。こ
の種のシステムでは、複数のデータベース上に分散して
いるデータの一貫性を維持するために、N.J.Gra
yの考案した2フェーズ・コミット方式や、3フェーズ
・コミット方式が用いられている。[0004] On the other hand, a transaction processing system in which a plurality of data required for business are distributed and managed in a plurality of databases has been conventionally used. In this type of system, to maintain the consistency of data distributed on multiple databases, N.I. J. Gra
The two-phase commit method and the three-phase commit method devised by Y are used.
【0005】[0005]
【発明が解決しようとする課題】従来のトランザクショ
ン処理方式には次のような幾つかの問題がある。The conventional transaction processing system has several problems as follows.
【0006】(1)コミット方式の問題点 データを複数のデータベース上に分散させて管理してい
るシステムでは、分散されたデータの一貫性を維持する
方式として、2フェーズ・コミット方式が広く用いられ
ている。しかし、このコミット方式では、トランザクシ
ョンのコミットフェーズにおいて、データベースマネー
ジャとトランザクションマネージャとの間で2往復の通
信処理(つまり、コミット準備の指示と応答、及びコミ
ット実行の指示と応答)を伴う同期処理を行わなくては
ならない。そのため、無視できない長さの通信オーバヘ
ッドが生じてしまい、スループットが低くなる。(1) Problems of Commit Method In a system in which data is distributed and managed on a plurality of databases, a two-phase commit method is widely used as a method for maintaining the consistency of the distributed data. ing. However, in this commit method, in a commit phase of a transaction, a synchronous process involving two round-trip communication processes between a database manager and a transaction manager (that is, a commit preparation instruction and response, and a commit execution instruction and response) is performed. You have to do it. Therefore, a communication overhead having a length that cannot be ignored is generated, and the throughput is reduced.
【0007】(2)データ配置の問題点 業務に使用するデータには、銀行口座情報のように複雑
な構造をもつデータ、支店コードを支店名に変換するた
めのテーブルのように参照されるだけのデータ、取引履
歴のように書き込みしか行われない追記型のデータ、入
出金金額のように加減算しかなされないデータなど、種
々のタイプのデータが存在する。従来のシステムでは、
それらのデータは(分散されているか否かに関わらず)
いずれもデータベースによって管理されている。しか
し、データベースは、複雑な構造のデータを管理するこ
とができる反面、そのための複雑な構成を備えるが故に
データアクセスオーバヘッドも大きいというマイナス面
も併せ持っている。そのため、単なるコード変換用テー
ブルや取引履歴などを格納するにはオーバヘッドが大き
過ぎ、このことも、スループット低下の一因となってい
る。(2) Problems in data arrangement Data used for business operations has only a complicated structure such as bank account information, and is referred to only as a table for converting a branch code into a branch name. There are various types of data, such as data of write-once type, such as transaction history, write-once data that is only written, and data that is only added or subtracted, such as the amount of money paid and withdrawn. In conventional systems,
Their data (whether distributed or not)
All are managed by a database. However, while a database can manage data having a complicated structure, the database also has a disadvantage that the data access overhead is large because of having a complicated configuration for that purpose. Therefore, the overhead is too large to store a simple code conversion table, transaction history, and the like, which also causes a decrease in throughput.
【0008】(3)ロック期間の問題点 入出金額のようなデータはアクセス頻度が高い。このよ
うなアクセス頻度の高いデータを従来のようにデータベ
ースで管理している場合、一般にデータベースはデータ
へのアクセス開始からコミットまでデータロックを維持
するため、トランザクション期間中カウンタのロックを
保持し続けることになる。この点はシステムのボトルネ
ックとなりやす。(3) Problems with the Lock Period Data such as deposits and withdrawals has a high access frequency. When such frequently accessed data is managed in the database as in the past, the database generally holds the data lock from the start of data access to the commit, so it must keep the counter lock during the transaction period. become. This can easily become a bottleneck in the system.
【0009】従って、本発明の目的は、トランザクショ
ン処理システムにおいて、データ管理の形態及び手法を
改良することにより、データアクセスのオーバーヘッド
を減らしスループットを高めることにある。Accordingly, an object of the present invention is to improve the form and method of data management in a transaction processing system to reduce data access overhead and increase throughput.
【0010】[0010]
【課題を解決するための手段】本発明は、トランザクシ
ョンの実行履歴を格納するためのログと、加減算しか行
わないデータを格納するためのカウンタと、業務に使用
するデータの内の前記ログ及びカウンタに格納されるデ
ータ以外のデータを格納するためのデータベースと、ト
ランザクションを要求する入力電文を受け、前記トラン
ザクションを処理するトランザクション処理手段とを備
えたトランザクション処理システムを提供する。本シス
テムでは、業務に使用するデータが、そのタイプに応じ
てログ、カウンタ及びデータベースという異なるリソー
ス上で管理される。SUMMARY OF THE INVENTION The present invention provides a log for storing a transaction execution history, a counter for storing data that is only added / subtracted, and the log and counter of data used for business. The present invention provides a transaction processing system comprising: a database for storing data other than the data stored in the database; and a transaction processing means for receiving an input message requesting a transaction and processing the transaction. In this system, data used for business is managed on different resources, such as logs, counters, and databases, depending on the type.
【0011】本発明のトランザクション処理システムに
おいて、トランザクション処理手段は、好ましくは、
(1)入力電文を前記ログに記録する、(2)データベースを
更新するためのデータベースサブトランザクション、及
びカウンタを更新するためのカウンタサブトランザクシ
ョンを開始する、(3)カウンタサブトランザクションを
コミットする、(4)データベースサブトランザクション
をコミットする、(5)トランザクションの実行結果を前
記ログに書き込む、ことを(1)、(2)、(3)、(4)、(5)の
順序で実行することができる。In the transaction processing system according to the present invention, the transaction processing means preferably comprises:
(1) record an input message in the log, (2) start a database subtransaction for updating the database, and a counter subtransaction for updating the counter, (3) commit the counter subtransaction, 4) committing the database sub-transaction, (5) writing the transaction execution result to the log, (1), (2), (3), (4), (5) can be executed in this order. it can.
【0012】また、カウンタは、好ましくは、カウンタ
サブトランザクションがコミットされた後でもカウンタ
の更新を取り消すための取消し手段を有することができ
る。[0012] Also, the counter may preferably have cancellation means for canceling the updating of the counter even after the counter subtransaction has been committed.
【0013】さらに、本発明のシステムは、未完了のト
ランザクションのリカバリを行うためのリカバリ処理手
段を備えることができ、このリカバリ処理手段は、好ま
しくは、ログに対応する実行履歴が記録されているか否
かにより未完了トランザクションを検出し、 検出した未完了トランザクションのデータベースサ
ブトランザクションが既にコミットされているときは、
その未完了トランザクションを取引成立の状態で完了さ
せるようにログに実行結果を記録し、 他方、検出した未完了トランザクションのデータベ
ースサブトランザクションが未だコミットされていない
ときは、その未完了トランザクションを取引不成立の状
態で完了させるように、カウンタの更新を取り消すと共
にログに実行結果を記録するようにすることができる。Further, the system of the present invention can include a recovery processing means for recovering an incomplete transaction, and the recovery processing means preferably has a record of an execution history corresponding to a log. The incomplete transaction is detected based on whether the transaction has been completed. If the database subtransaction of the detected incomplete transaction has already been committed,
The execution result is recorded in a log so that the incomplete transaction is completed in a state where the transaction has been completed.On the other hand, if the database subtransaction of the detected incomplete transaction is not yet committed, the incomplete transaction is regarded as a transaction The update of the counter can be canceled and the execution result can be recorded in a log so that the execution is completed in the state.
【0014】本発明のシステムでは、また、トランザク
ション処理手段が、好ましくは、カウンタの各レコード
のロック期間を、各レコードにアクセスしている時のみ
に限定することできる。本発明は典型的にはコンピュー
タによって実現されるが、そのためのコンピュータプロ
グラムはディスク型ストレージ、半導体メモリ、通信ネ
ットワークなどの各種の媒体を通じてコンピュータにイ
ンストール又はロードすることができる。[0014] In the system of the present invention, the transaction processing means can preferably limit the lock period of each record of the counter to only when accessing each record. The present invention is typically realized by a computer, and a computer program therefor can be installed or loaded on the computer through various media such as a disk storage, a semiconductor memory, and a communication network.
【0015】[0015]
【発明の実施の形態】以下、図面を参照して本発明の好
適な実施形態を説明する。Preferred embodiments of the present invention will be described below with reference to the accompanying drawings.
【0016】1. システム構成 図1は、オンライン銀行業務処理に適した本発明の一実
施形態にかかるトランザクション処理システムのシステ
ム構成を示す。1. 1. System Configuration FIG. 1 shows a system configuration of a transaction processing system according to an embodiment of the present invention suitable for online banking processing.
【0017】コンピュータ1は、業務に使用するデータ
を管理し、業務にかかるトランザクションを処理するも
ので、適用業務プログラム2と、データベース管理シス
テム3と、OLTP(オンライン・トランザクション処
理)パッケージ4と、オペレーティングシステム5を備
える。このコンピュータ1には、ネットワーク9を介し
て、複数の端末10−1,10−2,・・・,10−n
が接続されている。各端末10−1,10−2,・・
・,10−nは、ユーザから入出金や振込のようなトラ
ンザクション処理要求を受け付けてその電文をコンピュ
ータ1へ送り、かつコンピュータ1からトランザクショ
ンの処理結果の電文を受け取ってユーザに返す。The computer 1 manages data used for business and processes transactions related to the business. The computer 1 has an application program 2, a database management system 3, an OLTP (online transaction processing) package 4, an operating system A system 5 is provided. The computer 1 has a plurality of terminals 10-1, 10-2, ..., 10-n via a network 9.
Is connected. Each terminal 10-1, 10-2, ...
., 10-n receive a transaction processing request such as deposit / withdrawal or transfer from the user, send the message to the computer 1, and receive a transaction processing result message from the computer 1 and return it to the user.
【0018】コンピュータ1では、業務に使用する種々
のデータが3種類のリソースに分散されて管理されてい
る。すなわち、それらデータは、取引履歴を格納するた
めのログ6、入出金額のようなアクセス頻度が高いが加
減算だけ行えばよいデータを保持したカウンタ7、その
他の口座情報のようなデータが格納されているデータベ
ース8の3種類に分類されて格納されている。ログ6は
シーケンシャルファイル、カウンタ7は加減算のみを行
うテーブル、データベース8はリレーショナル型、階層
型、又はネットワーク型などのデータベースである。In the computer 1, various data used for business are distributed and managed in three types of resources. That is, the data includes a log 6 for storing a transaction history, a counter 7 for storing data such as deposits and withdrawals, which are frequently accessed but need only be added or subtracted, and other data such as account information. The database 8 is classified and stored. The log 6 is a sequential file, the counter 7 is a table for performing only addition and subtraction, and the database 8 is a database of a relational type, a hierarchical type, a network type, or the like.
【0019】カウンタ7は、後述する図10及び図11
に示すようなもので、トランザクション機能、つまり複
数のオペレーションを原子的に扱うことができる機能を
有している。さらに、カウンタ7は、トランザクション
識別子を指定して取消命令を実行することにより、一度
確定したトランザクションであっても、いつでも取り消
すことができる機能も有している。また、このカウンタ
7は、復旧処理を高速化するためのチェックポイント機
能なども備えている。The counter 7 is provided in FIG. 10 and FIG.
It has a transaction function, that is, a function that can handle a plurality of operations atomically. Further, the counter 7 has a function of executing a cancel instruction by designating a transaction identifier, so that even a once determined transaction can be canceled at any time. The counter 7 also has a checkpoint function for speeding up the recovery process.
【0020】2. リソース間でデータの同期をとるた
めに必要なデータ 図2は、本システムにおけるトランザクションの処理手
順の概要を示す。2. Data Required for Synchronizing Data Between Resources FIG. 2 shows an outline of a transaction processing procedure in the present system.
【0021】適用業務プログラム2が実行するトランザ
クション11は、リソース単位のサブトランザクション
に論理的に分割される。即ち、トランザクション11
は、データベース8のサブトランザクション12と、カ
ウンタ7のサブトランザクション13と、ログ6のトラ
ンザクション管理(開始/完了)14とに論理的に分割
される。The transaction 11 executed by the application program 2 is logically divided into sub-transactions in resource units. That is, transaction 11
Is logically divided into a subtransaction 12 of the database 8, a subtransaction 13 of the counter 7, and a transaction management (start / completion) 14 of the log 6.
【0022】図3は、データベース8、カウンタ7、ロ
グ6という3種類のリソース間でデータの同期を取るた
めの管理データを示す。FIG. 3 shows management data for synchronizing data among the three types of resources: the database 8, the counter 7, and the log 6.
【0023】リソース間でサブトランザクションの関連
付けを行うための情報として「トランザクション識別子
(Tid;Transaction id)」を使用し
て、同じトランザクション11に含まれるサブトランザ
クション12、13、14間の同期処理を行う。そのた
めに、各リソース8、7、6上には、トランザクション
識別子をキーとして以下の情報を格納する。Using "transaction identifier (Tid; Transaction id)" as information for associating subtransactions between resources, synchronous processing among subtransactions 12, 13 and 14 included in the same transaction 11 is performed. . For this purpose, the following information is stored on each of the resources 8, 7, and 6 using the transaction identifier as a key.
【0024】データベース8上には、口座情報のような
一般データの集合たるデータベース(つまり、図4のデ
ータベース24)の他に、データベースサブトランザク
ション実行履歴表21を設ける。データベースサブトラ
ンザクション実行履歴表21では、何番の識別子をもつ
トランザクション11がデータベース8に対する処理
(データベースサブトランザクション12)を完了した
かが管理される。つまり、この表21には、データベー
スサブトランザクション12の完了したトランザクショ
ン11の「トランザクション識別子」が格納される。こ
の表21に対する更新は、データベースサブトランザク
ション12のコミットと同期して永続化される。On the database 8, a database sub-transaction execution history table 21 is provided in addition to a database which is a set of general data such as account information (that is, the database 24 in FIG. 4). The database sub-transaction execution history table 21 manages the number of the transaction 11 having the identifier which has completed the processing (database sub-transaction 12) for the database 8. That is, the “transaction identifier” of the completed transaction 11 of the database subtransaction 12 is stored in this table 21. Updates to this table 21 are made permanent in synchronization with the commit of the database subtransaction 12.
【0025】カウンタ7上には、入出金額のようなデー
タを保持した表(つまり、図4のカウンタ表25)の他
に、カウンタサブトランザクション更新履歴表22が設
けられる。カウンタサブトランザクション更新履歴表2
2では、何番の識別子をもつトランザクション11がカ
ウンタ7に対する処理を完了したかが管理される。つま
り、この表22には、カウンタ7に対する処理(カウン
タサブトランザクション13)が完了したトランザクシ
ョン11の「トランザクション識別子」とその処理でカ
ウンタ表25に行った更新の「更新履歴」とが含まれ
る。この表22に対する更新は、カウンタサブトランザ
クション13のコミットと同期して永続化される。A counter subtransaction update history table 22 is provided on the counter 7 in addition to a table holding data such as deposit and withdrawal amounts (that is, the counter table 25 in FIG. 4). Counter subtransaction update history table 2
In 2, the number of the transaction 11 having the identifier which has completed the processing for the counter 7 is managed. That is, the table 22 includes the “transaction identifier” of the transaction 11 for which the processing (the counter sub-transaction 13) for the counter 7 has been completed and the “update history” of the update performed on the counter table 25 in the processing. Updates to this table 22 are made permanent in synchronization with the commit of the counter subtransaction 13.
【0026】ログ6上には、トランザクション実行履歴
表23が設けられ、ここでは、何番の識別子をもつトラ
ンザクション11が処理を開始し、かつ完了したかを管
理がされる。つまり、この表23には、トランザクショ
ン11が処理を開始したときにそのトランザクション1
1の「トランザクション識別子」「入力電文」が書き込
まれ、トランザクション11が処理を完了したときにそ
のトランザクションの「実行結果」がさらに書き込まれ
る。この表23に対する更新は、ログ入出力要求の完了
と同期して永続化される。A transaction execution history table 23 is provided on the log 6 and manages the number of the transaction 11 having an identifier which has started and completed processing. In other words, this table 23 shows that when transaction 11 starts processing, that transaction 1
The “transaction identifier” and the “input message” of No. 1 are written, and when the transaction 11 completes the processing, the “execution result” of the transaction is further written. The update to the table 23 is made permanent in synchronization with the completion of the log input / output request.
【0027】3. トランザクション処理シーケンス 図4は、コンピュータ1が行なうトランザクション処理
シーケンスを示す。3. Transaction Processing Sequence FIG. 4 shows a transaction processing sequence performed by the computer 1.
【0028】以下、処理シーケンスを時間的順序に従っ
て説明する。Hereinafter, the processing sequence will be described in chronological order.
【0029】(1)入力電文受信 端末10から入力電文を受信する。(1) Receiving an input message An input message is received from the terminal 10.
【0030】(2)トランザクション識別子割り当て 次に、端末10からの入力電文に対して、トランザクシ
ョン識別子を割り当てる。(2) Transaction Identifier Assignment Next, a transaction identifier is assigned to an input message from the terminal 10.
【0031】(3)入力電文書き込み 次に、ログ6のトランザクション実行履歴表23に、
「トランザクション識別子」及び「入力電文」を書き込
む。こうして表23に書き込まれた「トランザクション
識別子」及び「入力電文」は、この入力電文書き込み処
理の完了までに、ディスク記憶装置のような不揮発媒体
に格納される。(3) Input message writing Next, the transaction execution history table 23 of the log 6
Write "transaction identifier" and "input message". The “transaction identifier” and the “input message” written in the table 23 are stored in a non-volatile medium such as a disk storage device by the time the input message writing process is completed.
【0032】(4)データベースの参照/更新 次に、必要に応じてデータベース8内のデータベース2
5を参照し更新する。(4) Referencing / updating of the database Next, the database 2 in the database 8 is changed if necessary.
5 and update.
【0033】(5)データベース実行履歴挿入 次に、データベース8内のトランザクション実行履歴表
21に、トランザクション識別子を書き込む。(5) Inserting a database execution history Next, a transaction identifier is written in the transaction execution history table 21 in the database 8.
【0034】(6)カウンタの参照/更新 次に、必要に応じてカウンタ7内のカウンタ表25を参
照し更新する。カウンタ表25の更新と同時に、カウン
タサブトランザクション更新履歴表22に「トランザク
ション識別子」及び「更新履歴」を挿入する。こうして
更新されたカウンタサブトランザクション更新履歴表2
2は、カウンタサブトランザクション13のコミット完
了までに不揮発媒体に格納されればよく、このカウンタ
参照/更新処理の時点では未だ不揮発媒体に格納されて
いる必要はない。また、カウンタ表25のデータに対し
て行うことができるオペレーションは加減算のみに限定
されているため、カウンタ表25のロックはカウンタサ
ブトランザクション13のコミット時まで保持しておく
必要はない。従って、カウンタ表25の各レコードのロ
ック期間はそのレコードの参照/更新中のみに限定され
る。(6) Referencing / Updating of Counter Next, the counter is updated with reference to the counter table 25 in the counter 7 as necessary. At the same time that the counter table 25 is updated, the “transaction identifier” and the “update history” are inserted into the counter sub-transaction update history table 22. Counter subtransaction update history table 2 updated in this way
2 may be stored in the non-volatile medium by the time the commit of the counter subtransaction 13 is completed, and need not be stored in the non-volatile medium at the time of the counter reference / update processing. Further, since the operations that can be performed on the data in the counter table 25 are limited to only addition and subtraction, it is not necessary to hold the lock of the counter table 25 until the counter subtransaction 13 commits. Therefore, the lock period of each record in the counter table 25 is limited only to the period during which the record is being referenced / updated.
【0035】(7)カウンタサブトランザクションコミッ
ト 次に、カウンタ7に対してカウンタサブトランザクショ
ン13のコミットを宣言する。このカウンタサブトラン
ザクション13のコミット完了までに、当該カウンタサ
ブトランザクション13の「更新履歴」(つまり、(6)
の処理で更新履歴表22に書き込んだ「更新履歴」)が
不揮発媒体に格納される。(7) Counter Subtransaction Commit Next, the counter 7 is declared to commit the counter subtransaction 13. By the time the commit of the counter subtransaction 13 is completed, the “update history” of the counter subtransaction 13 (that is, (6)
The "update history" written in the update history table 22 in the process (1) is stored in the non-volatile medium.
【0036】(8)データベースサブトランザクションコ
ミット 次に、データベース8に対してデータベースサブトラン
ザクション12のコミットを宣言する。このデータベー
スサブトランザクション12のコミット完了までに、当
該データベースサブトランザクション12の「実行履
歴」(つまり、(5)の処理で実行履歴表21に書き込ん
だ「トランザクション識別子」)が不揮発媒体に格納さ
れる。(8) Database Subtransaction Commit Next, a commit of the database subtransaction 12 is declared to the database 8. By the time the commit of the database subtransaction 12 is completed, the “execution history” of the database subtransaction 12 (that is, the “transaction identifier” written in the execution history table 21 in the process (5)) is stored in the non-volatile medium.
【0037】(9)トランザクション実行結果書き込み 次に、ログ6のトランザクション実行履歴表23に、ト
ランザクション実行結果(取引の「成立」又は「不成
立」)を書き込む。こうして書き込まれた当該トランザ
クション11のトランザクション実行結果は、このトラ
ンザクション実行結果書き込み処理の完了までに、不揮
発媒体に格納される。(9) Writing Transaction Execution Result Next, the transaction execution result (“satisfied” or “unsuccessful” of the transaction) is written in the transaction execution history table 23 of the log 6. The transaction execution result of the transaction 11 written in this manner is stored in the non-volatile medium by the time the transaction execution result writing process is completed.
【0038】(10)出力電文送信 最後に、端末10に対して、出力電文を送信する。(10) Transmission of Output Message Finally, an output message is transmitted to the terminal 10.
【0039】図5は、上述したシーケンスにおける(6)
及び(7)のカウンタ処理を詳細に示している。FIG. 5 shows (6) in the sequence described above.
7 shows the counter processing of (7) in detail.
【0040】初期状態では、例えばカウンタ表25の
「1」番の支店の金額は「0」であり、また、カウンタ
サブトランザクション更新履歴表22にはデータが無か
ったとする。この状態において、Tidが「1」番で、
「1」番の支店に金額「100」を入金するようなトラ
ンザクションが発生したとする。すると、このトランザ
クションのカウンタ更新処理及びカウンタコミット処理
は、以下の手順で行われる。In the initial state, for example, it is assumed that the amount of the branch “1” in the counter table 25 is “0”, and that the counter sub-transaction update history table 22 has no data. In this state, Tid is number “1”,
It is assumed that a transaction occurs in which the amount “100” is paid to the branch “1”. Then, the counter update processing and the counter commit processing of this transaction are performed in the following procedure.
【0041】(1)カウンタ更新処理では、まず、カウン
タ表25の支店「1」のレコードの更新ロックを獲得す
る。(1) In the counter update process, first, an update lock of the record of the branch “1” in the counter table 25 is acquired.
【0042】(2)次に、更新履歴表22に、Tid
「1」と、更新履歴「支店=1、金額+=100」を書
き込む。(2) Next, in the update history table 22, the Tid
"1" and the update history "branch = 1, amount + = 100" are written.
【0043】(3)次に、カウンタ表25の支店「1」の
レコードの金額に「100」を加算する。(3) Next, “100” is added to the amount of money of the record of the branch “1” in the counter table 25.
【0044】(4)次に、カウンタ表25の支店「1」の
レコードの更新ロックを解除する。これでカウンタ更新
処理が終了する。(4) Next, the update lock of the record of the branch “1” in the counter table 25 is released. This ends the counter update processing.
【0045】(5)続くカウンタコミット処理では、更新
履歴表22のTid「1」のレコードをディスク記憶装
置31のような不揮発性媒体に書き込む。(5) In the subsequent counter commit processing, the record of Tid “1” in the update history table 22 is written to a non-volatile medium such as the disk storage device 31.
【0046】4. リカバリ処理シーケンス 図6は、完全にコミットされたトランザクション(以
下、完了トランザクションという)、及び処理途中での
異常発生により完全にはコミットできなかったトランザ
クション(以下、未完了トランザクションという)の例
を示す。4. Recovery Processing Sequence FIG. 6 shows an example of a transaction that has been completely committed (hereinafter, referred to as a completed transaction) and a transaction that has not been completely committed due to the occurrence of an abnormality during processing (hereinafter, referred to as an incomplete transaction).
【0047】トランザクションT1及びT2は完了トラ
ンザクションを示し、そのうちT1は取引が「成立」し
たもの、T2は処理途中でロールバックされて取引が
「不成立」となったものを示す。トランザクションT3
〜T6は、異常が発生した処理段階の異なる幾つかの未
完了トランザクションの例を示す。Transactions T1 and T2 indicate completed transactions, of which T1 indicates that the transaction has been "established", and T2 indicates that the transaction has been rolled back during processing and the transaction has been "not established". Transaction T3
T6 show examples of some incomplete transactions at different processing stages in which an abnormality has occurred.
【0048】図7は取引「成立」の未完了トランザクシ
ョンのリカバリ処理シーケンスを示し、図8は取引「不
成立」の未完了トランザクションのリカバリ処理シーケ
ンスを示す。FIG. 7 shows a recovery processing sequence of an incomplete transaction of a transaction “established”, and FIG. 8 shows a recovery processing sequence of an incomplete transaction of a transaction “unestablished”.
【0049】以下、図7及び図8に示すリカバリ処理シ
ーケンスを時間的順序に沿って説明する。Hereinafter, the recovery processing sequence shown in FIGS. 7 and 8 will be described in chronological order.
【0050】(1)未完了トランザクション抽出 不揮発性媒体(ディスク)31内のログ6のトランザク
ション実行履歴表23を調べることにより、未完了トラ
ンザクション(つまり、実行履歴表23に未だトランザ
クション実行結果が書き込まれていないトランザクショ
ン)のTidを抽出する。(1) Extraction of Incomplete Transactions By examining the transaction execution history table 23 of the log 6 in the non-volatile medium (disk) 31, the incomplete transactions (that is, the transaction execution results are written in the execution history table 23). (Tid not transaction).
【0051】例えば、図9に示すようにトランザクショ
ン実行履歴表23が記録されていた場合、Tid=1及
び2のトランザクションは完了トランザクションである
が、Tid=3〜6のトランザクションは未完了トラン
ザクションである。従って、Tid=3〜6のトランザ
クションがリカバリ処理の対象となる。For example, when the transaction execution history table 23 is recorded as shown in FIG. 9, the transactions of Tid = 1 and 2 are completed transactions, but the transactions of Tid = 3 to 6 are incomplete transactions. . Therefore, transactions of Tid = 3 to 6 are targets of the recovery processing.
【0052】(2)未完了データベースサブトランザクシ
ョン抽出 次に、不揮発性媒体(ディスク)31内のデータベース
8のトランザクション実行履歴表21を調べ、各未完了
トランザクションについてのデータベースサブトランザ
クション12の完了/未完了を調べる。そして、データ
ベースサブトランザクション12が完了しているトラン
ザクションのみを「取引成立」とし、データベースサブ
トランザクション12が未完了なものを「取引不成立」
とすることにより、各未完了トランザクションについて
「取引成立」か「取引不成立」かを判断する。(2) Extraction of incomplete database subtransaction Next, the transaction execution history table 21 of the database 8 in the non-volatile medium (disk) 31 is examined, and the completion / incomplete of the database subtransaction 12 for each incomplete transaction is checked. Find out. Only transactions for which the database sub-transaction 12 has been completed are defined as “transactions completed”, and those for which the database sub-transaction 12 is not completed are determined as “transactions not completed”.
By doing so, it is determined whether “transaction completed” or “transaction not completed” for each uncompleted transaction.
【0053】例えば、図10に示すようにデータベース
サブトランザクション実行履歴表21が記録されていた
場合、Tid=1〜3のトランザクションはデータベー
スサブトランザクション12が完了しているから「取引
成立」であり、Tid=4〜6のトランザクションはデ
ータベースサブトランザクション12が未完了であるか
ら「取引不成立」である。For example, if the database sub-transaction execution history table 21 is recorded as shown in FIG. 10, transactions with Tid = 1 to 3 are "transaction completed" because the database sub-transaction 12 has been completed. Transactions with Tid = 4 to 6 are "transaction not established" because the database subtransaction 12 is not completed.
【0054】従って、図9の例で抽出されたTid=3
〜6の未完了トランザクションのうち、Tid=3は
「取引成立」、Tid=4〜6は「取引不成立」と判断
される。Therefore, Tid = 3 extracted in the example of FIG.
Of the incomplete transactions No. to No. 6, Tid = 3 is determined to be “transaction completed”, and Tid = 4 to 6 is determined to be “transaction not completed”.
【0055】これ以降の処理は、「取引成立」か「取引
不成立」かに応じて2種類に分かれる。The subsequent processing is divided into two types depending on whether “transaction is completed” or “transaction is not established”.
【0056】(3)取引成立時(図7) 「取引成立」と判断した未完了トランザクションについ
ては、データベース8の処理が完了しているから、当該
トランザクションは実質的に完了したものとみなして、
ログ6のトランザクション実行履歴表23のトランザク
ション実行結果欄に「取引成立」と書き込む。この場
合、データベースサブトランザクション及びカウンタサ
ブトランザクションはコミットされているから、データ
ベース8及びカウンタ7に対するリカバリ処理は不要で
ある。これで、リカバリ処理が終わる。(3) When a Transaction is Completed (FIG. 7) Since the processing of the database 8 has been completed for an uncompleted transaction determined to be “transaction completed”, it is considered that the transaction has been substantially completed.
"Transaction completed" is written in the transaction execution result column of the transaction execution history table 23 of the log 6. In this case, since the database sub-transaction and the counter sub-transaction have been committed, the recovery process for the database 8 and the counter 7 is unnecessary. This ends the recovery process.
【0057】(4)取引不成立時(図8) 「取引不成立」と判断した未完了トランザクションにつ
いては、データベース8の処理が完了していないから、
当該トランザクションは実質的にロールバックされたも
のとみなして、 まず、カウンタ7において、該当Tidのカウンタ
サブトランザクション13の取り消しを行い、 次に、ログ6のトランザクション実行履歴表23中
のトランザクション実行結果の欄に「取引不成立」と書
き込む。この場合、データベース8は当該トランザクシ
ョン発生前の状態のままであるから、データベース8に
対するリカバリ不要である。これで、リカバリ処理が終
わる。(4) Unsuccessful Transaction (FIG. 8) For an uncompleted transaction determined to be “unsuccessful”, the processing of the database 8 is not completed.
Assuming that the transaction has been substantially rolled back, first, the counter 7 cancels the counter subtransaction 13 of the corresponding Tid. Next, the transaction execution result in the transaction execution history table 23 of the log 6 is deleted. Write "Transaction unsuccessful" in the field. In this case, since the database 8 remains in the state before the occurrence of the transaction, there is no need to recover the database 8. This ends the recovery process.
【0058】図11は、上記リカバリ処理における(4)
の取引不成立時ののカウンタ取り消し処理の詳細を示
す。以下、このカウンタ取り消し処理を時間順に沿って
説明する。FIG. 11 shows (4) in the recovery process.
The details of the counter cancellation process when the transaction is not established are described below. Hereinafter, the counter cancellation processing will be described in chronological order.
【0059】ここで、初期状態として、カウンタ表25
には支店「1」、金額「100」と記録され、更新履歴
表22にはTid「1」、更新履歴「支店=1、金額+
=100」と記録されていたとする。また、リカバリ対
象はTid=1のトランザクションであるとする。取消
し処理は以下の手順で行われる。Here, as an initial state, the counter table 25
In the update history table 22, Tid "1" and update history "branch = 1, amount +
= 100 ”is recorded. It is also assumed that the recovery target is a transaction with Tid = 1. The cancellation process is performed in the following procedure.
【0060】(1)まず、カウンタ7の更新履歴表22か
らTid=1の更新履歴を検索する。(1) First, an update history of Tid = 1 is searched from the update history table 22 of the counter 7.
【0061】(2)次に、Tid=1のトランザクション
がアクセスしたカウンタ表25内のレコード(ここで
は、支店=1のレコード)の更新ロックを獲得する。(2) Next, the update lock of the record (here, the record of the branch = 1) in the counter table 25 accessed by the transaction of Tid = 1 is acquired.
【0062】(3)次に、カウンタ表25の支店=1のレ
コードに対して、Tid=1のトランザクションが行っ
た更新の打消処理(逆オペレーション、つまり、金額
「−100」の加算)を行ない、金額を「0」に戻す。(3) Next, with respect to the record of the branch = 1 in the counter table 25, the processing of canceling the update performed by the transaction of Tid = 1 (reverse operation, that is, the addition of the amount “−100”) is performed. , Return the amount to “0”.
【0063】(4)次に、更新履歴表22のTid=1の
レコードに「取消」を記入する。(4) Next, "cancel" is entered in the record of Tid = 1 in the update history table 22.
【0064】(5)次に、ディスク31中のカウンタの更
新履歴表22のTid=1のレコードにも「取消」を記
入する。(5) Next, "Cancel" is also written in the record of Tid = 1 in the update history table 22 of the counter in the disk 31.
【0065】(6)次に、Tid=1のトランザクション
がアクセスしたレコード(支店=1のレコード)の更新
ロックを開放する。これで、取消し処理が終了する。(6) Next, the update lock on the record accessed by the transaction with Tid = 1 (the record with branch = 1) is released. Thus, the cancellation processing ends.
【0066】5. 実施形態の利点 以上説明した実施形態について、コミット方式、データ
配置、ロック期間という3つの観点からの利点を以下に
述べる。5. Advantages of the embodiment The advantages of the embodiment described above from the three viewpoints of the commit method, the data arrangement, and the lock period are described below.
【0067】(1)コミット方式 本実施形態では、複数のリソースに分散されている複数
のデータに対するアクセス順序に一定の制約を設けてい
る。すなわち、図4に示したように、まずログ6に入力
電文を記録し、次に、カウンタ7の更新処理をコミット
し、次に、データベース8の更新処理をコミットし、最
後にログ6に実行結果を記録する、という順序を採用す
る。また、トランザクション機能を有するカウンタ7
に、取消処理機能を持たせており、この取消処理はコミ
ット後であっても行えるようにしてある。結果として、
2フェーズコミット方式を用いなくても、全てのデータ
の一貫性を維持することができる。その理由は次の通り
である。(1) Commit Method In this embodiment, a certain restriction is imposed on the access order for a plurality of data distributed to a plurality of resources. That is, as shown in FIG. 4, first, the input telegram is recorded in the log 6, then the update processing of the counter 7 is committed, then the update processing of the database 8 is committed, and finally, the log 6 is executed. The order of recording the results is adopted. Also, a counter 7 having a transaction function
Has a cancel processing function, and this cancel processing can be performed even after commit. as a result,
Even without using the two-phase commit method, it is possible to maintain consistency of all data. The reason is as follows.
【0068】 トランザクションの実行結果はトラン
ザクションの最後にログ6に記録されるから、この実行
結果の有無により、どのトランザクションが未完了であ
るかを知ることできる。Since the execution result of the transaction is recorded in the log 6 at the end of the transaction, it is possible to know which transaction is incomplete based on the presence or absence of the execution result.
【0069】 入力電文はトランザクションの最初に
ログ6に記録されるから、未完了のトランザクションを
完了させるようにリカバリする場合、その最初に記録さ
れた入力電文に基づいてリカバリを行うことができる。Since the input message is recorded in the log 6 at the beginning of the transaction, when performing recovery so as to complete an incomplete transaction, the recovery can be performed based on the input message recorded first.
【0070】 データベースの更新処理のコミットは
カウンタの更新処理のコミットの後で行われ、かつカウ
ンタの更新はそのコミット後も取り消せるから、データ
ベースの更新処理が未完了のトランザクションについて
は、リカバリ処理でカウンタの更新を取り消すことによ
って、ロールバックされたと同様な状態へ戻すことがで
きる。また、データベースの更新処理が完了している未
完了トランザクションについては、リカバリ処理でログ
6に実行結果を記録するだけで、完了した状態にするこ
とができる。The update of the database is committed after the update of the counter is committed, and the update of the counter can be canceled after the commit. By canceling the update of the counter, it is possible to return to a state similar to the state in which the counter has been rolled back. An incomplete transaction for which the database update processing has been completed can be brought to a completed state only by recording the execution result in the log 6 in the recovery processing.
【0071】このように、2フェーズコミット方式が不
要となることにより、2フェーズコミット方式に比べて
リソース間の同期方式を単純化し、高速化することがで
きる。As described above, since the two-phase commit method is not required, the synchronization method between resources can be simplified and the speed can be increased as compared with the two-phase commit method.
【0072】(2)データ配置 既に述べたように、業務で使用するデータには様々なタ
イプがあり、例えば顧客の口座残高を格納する表のよう
に参照及び更新を行うものもあれば、支店コードを支店
名に変換するときに使用するような参照しか行わない表
や、取引の履歴を記録しておくために追加型の書き込み
しか行わないものなど、データのタイプにより、その取
り扱い方法も様々である。本実施形態では、このような
種々のタイプのデータをデータベース、カウンタ、ログ
など、それぞれのデータの性格に応じた最適なリソース
に分散させて配置している。換言すれば、全てのデータ
をデータベースに格納しているのではない。そのため、
システムのオーバヘッドが減少し、レスポンスタイムや
スループットが改善される。(2) Data Arrangement As described above, there are various types of data used in business. For example, there are tables for referencing and updating, such as a table for storing customer account balances, and branch offices. Depending on the type of data, there are various ways to handle it, such as a table that only uses references when converting codes to branch names, and a type that only performs additional writing to keep a record of transactions. It is. In the present embodiment, such various types of data are distributed and arranged in optimal resources such as a database, a counter, and a log according to the characteristics of each data. In other words, not all data is stored in the database. for that reason,
System overhead is reduced, and response time and throughput are improved.
【0073】(3)ロック期間 カウンタのように、他のデータとの一貫性が必要で、頻
繁にアクセスされるが加減算しか行わないようなデータ
へアクセスする際のデータロック期間を、データへのア
クセスを開始してからコミットする迄ではなく、データ
アクセス時(メモリ上のデータを参照/更新している期
間)のみに限定している。それにより、これらのデータ
へアクセスする際の同時実行性が高まる。(3) Lock period The data lock period for accessing data that requires consistency with other data and is frequently accessed but only performs addition and subtraction, such as a counter, is defined as It is limited to data access (a period during which data on the memory is referenced / updated), not from the start of access to the commit. Thereby, the concurrency in accessing these data is improved.
【0074】尚、本発明を実施するためのマシン可読の
コンピュータプログラムは、ディスク型ストレージや半
導体メモリのような固定的にプログラムを担持する媒体
や、通信ネットワークの様な流動的にプログラムを担持
する媒体から、コンピュータに供給することができる。Note that a machine-readable computer program for carrying out the present invention may be a medium such as a disk-type storage or a semiconductor memory for fixedly storing a program, or a program such as a communication network for dynamically storing a program. From the medium, it can be supplied to the computer.
【図1】本発明の一実施形態にかかるトランザクション
処理システムのシステム構成を示すブロック図。FIG. 1 is a block diagram showing a system configuration of a transaction processing system according to an embodiment of the present invention.
【図2】トランザクションとサブトランザクションの関
係を示す説明図。FIG. 2 is an explanatory diagram showing a relationship between a transaction and a subtransaction.
【図3】リソース間でデータの同期をとるための管理デ
ータを示す説明図。FIG. 3 is an explanatory diagram showing management data for synchronizing data between resources.
【図4】トランザクション処理シーケンスの説明図。FIG. 4 is an explanatory diagram of a transaction processing sequence.
【図5】カウンタの処理方式の説明図。FIG. 5 is an explanatory diagram of a counter processing method.
【図6】トランザクションの例を示す説明図。FIG. 6 is an explanatory diagram showing an example of a transaction.
【図7】取引成立時のリカバリ処理シーケンスの説明
図。FIG. 7 is an explanatory diagram of a recovery processing sequence when a transaction is established.
【図8】取引不成立時のリカバリ処理シーケンスの説明
図。FIG. 8 is an explanatory diagram of a recovery processing sequence when a transaction is not established.
【図9】ログのトランザクション実行履歴表の記録例を
示す説明図。FIG. 9 is an explanatory diagram showing a recording example of a transaction execution history table of a log.
【図10】データベースサブトランザクション実行履歴
表の記録例を示す説明図。FIG. 10 is an explanatory diagram showing a recording example of a database subtransaction execution history table.
【図11】カウンタの取消処理方式の説明図。FIG. 11 is an explanatory diagram of a counter canceling method.
1 コンピュータ 2 適用業務プログラム 3 データベース管理システム 4 OLTPパッケージ 5 オペレーティングシステム 6 ログ 7 カウンタ 8 データベース DESCRIPTION OF SYMBOLS 1 Computer 2 Application program 3 Database management system 4 OLTP package 5 Operating system 6 Log 7 Counter 8 Database
Claims (6)
ためのログと、 加減算しか行わないデータを格納するためのカウンタ
と、 業務に使用するデータの内の前記ログ及びカウンタに格
納されるデータ以外のデータを格納するためのデータベ
ースと、 トランザクションを要求する入力電文を受け、前記トラ
ンザクションを処理するトランザクション処理手段とを
備えたトランザクション処理システム。1. A log for storing a transaction execution history, a counter for storing data that is only added or subtracted, and data other than data stored in the log and the counter in data used for business. And a transaction processing means for receiving an input message requesting a transaction and processing the transaction.
ンザクション処理手段が、 (1)前記入力電文を前記ログに記録する、 (2)前記データベースを更新するためのデータベースサ
ブトランザクション、及び前記カウンタを更新するため
のカウンタサブトランザクションを開始する、 (3)前記カウンタサブトランザクションをコミットす
る、 (4)前記データベースサブトランザクションをコミット
する、 (5)前記トランザクションの実行結果を前記ログに書き
込む、ことを(1)、(2)、(3)、(4)、(5)の順序で実行す
るトランザクション処理システム。2. The apparatus according to claim 1, wherein the transaction processing means includes: (1) recording the input telegram in the log; (2) a database subtransaction for updating the database; and the counter. Starting a counter subtransaction for updating, (3) committing the counter subtransaction, (4) committing the database subtransaction, (5) writing the execution result of the transaction to the log. A transaction processing system that executes in the order of (1), (2), (3), (4), and (5).
ンタが、前記カウンタサブトランザクションがコミット
された後に前記カウンタの更新を取り消すための取消し
手段を有するトランザクション処理システム。3. The transaction processing system according to claim 2, wherein the counter has a canceling unit for canceling the updating of the counter after the counter subtransaction is committed.
トランザクションのリカバリを行うためのリカバリ処理
手段をさらに備え、 前記リカバリ処理手段は、前記ログに対応する実行履歴
が記録されているか否かにより未完了トランザクション
を検出し、 検出した前記未完了トランザクションのデータベー
スサブトランザクションが既にコミットされているとき
は、前記未完了トランザクションを取引成立の状態で完
了させるように前記ログに実行結果を記録し、 検出した前記未完了トランザクションのデータベー
スサブトランザクションが未だコミットされていないと
きは、前記未完了トランザクションを取引不成立の状態
で完了させるように、前記カウンタの更新を取り消すと
共に前記ログに実行結果を記録するトランザクション処
理システム。4. The apparatus according to claim 3, further comprising recovery processing means for recovering an incomplete transaction, wherein said recovery processing means determines whether or not an execution history corresponding to said log is recorded. By detecting an incomplete transaction, when the database subtransaction of the detected incomplete transaction has already been committed, the execution result is recorded in the log so as to complete the incomplete transaction in a state of transaction completion, When the detected database sub-transaction of the incomplete transaction is not yet committed, the transaction for canceling the update of the counter and recording the execution result in the log so that the incomplete transaction is completed in a transaction failure state. Processing Stem.
ンザクション処理手段が、前記カウンタの各レコードの
ロック期間を、前記各レコードにアクセスしている時の
みに限定するトランザクション処理システム。5. The transaction processing system according to claim 1, wherein said transaction processing means limits the lock period of each record of said counter to only when accessing each said record.
ためのログと、 加減算しか行わないデータを格納するためのカウンタ
と、 業務に使用するデータの内の前記ログ及びカウンタに格
納されるデータ以外のデータを格納するためのデータベ
ースと、 トランザクションを要求する入力電文を受け、前記トラ
ンザクションを処理するトランザクション処理手段とを
備えたトランザクション処理システムとしてコンピュー
タを機能させるためのプログラムを担持したコンピュー
タ読取り可能な記録媒体。6. A log for storing a transaction execution history, a counter for storing data that is only added or subtracted, and data other than data stored in the log and the counter among data used for business. A computer-readable recording medium carrying a program for causing a computer to function as a transaction processing system including a database for storing a transaction, and an input message requesting a transaction, and a transaction processing means for processing the transaction.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP9332683A JPH10232809A (en) | 1996-12-16 | 1997-12-03 | Transaction processing system |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP33558996 | 1996-12-16 | ||
JP8-335589 | 1996-12-16 | ||
JP9332683A JPH10232809A (en) | 1996-12-16 | 1997-12-03 | Transaction processing system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH10232809A true JPH10232809A (en) | 1998-09-02 |
Family
ID=26574264
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP9332683A Pending JPH10232809A (en) | 1996-12-16 | 1997-12-03 | Transaction processing system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH10232809A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002373082A (en) * | 2001-06-15 | 2002-12-26 | Nec Corp | Method for processing transaction of multitask configuration and transaction processing program |
JP2010015556A (en) * | 2008-07-02 | 2010-01-21 | Sap Portals Israel Ltd | Method and device for transaction processing conscious of distributed application context |
CN113592471A (en) * | 2021-07-29 | 2021-11-02 | 中国人民银行清算总中心 | Payment transaction application system and method |
JP2022515949A (en) * | 2019-12-03 | 2022-02-24 | テンセント・テクノロジー・(シェンジェン)・カンパニー・リミテッド | Transaction processing methods, appliances, equipment and computer programs |
US11544245B2 (en) | 2019-12-03 | 2023-01-03 | Tencent Technology (Shenzhen) Company Limited | Transaction processing method, apparatus, and device and computer storage medium |
-
1997
- 1997-12-03 JP JP9332683A patent/JPH10232809A/en active Pending
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002373082A (en) * | 2001-06-15 | 2002-12-26 | Nec Corp | Method for processing transaction of multitask configuration and transaction processing program |
JP2010015556A (en) * | 2008-07-02 | 2010-01-21 | Sap Portals Israel Ltd | Method and device for transaction processing conscious of distributed application context |
JP2022515949A (en) * | 2019-12-03 | 2022-02-24 | テンセント・テクノロジー・(シェンジェン)・カンパニー・リミテッド | Transaction processing methods, appliances, equipment and computer programs |
US11544245B2 (en) | 2019-12-03 | 2023-01-03 | Tencent Technology (Shenzhen) Company Limited | Transaction processing method, apparatus, and device and computer storage medium |
CN113592471A (en) * | 2021-07-29 | 2021-11-02 | 中国人民银行清算总中心 | Payment transaction application system and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109739935B (en) | Data reading method and device, electronic equipment and storage medium | |
US5613113A (en) | Consistent recreation of events from activity logs | |
US6732123B1 (en) | Database recovery to any point in time in an online environment utilizing disaster recovery technology | |
US5778388A (en) | Method of processing a synchronization point in a database management system to assure a database version using update logs from accumulated transactions | |
US4868744A (en) | Method for restarting a long-running, fault-tolerant operation in a transaction-oriented data base system without burdening the system log | |
US5465328A (en) | Fault-tolerant transaction-oriented data processing | |
US6154847A (en) | Method and system for performing resource updates and recovering operational records within a fault-tolerant transaction-oriented data processing system | |
US7991745B2 (en) | Database log capture that publishes transactions to multiple targets to handle unavailable targets by separating the publishing of subscriptions and subsequently recombining the publishing | |
CA2436517C (en) | Method and apparatus for data processing | |
US7970748B2 (en) | Systems and methods for reorganizing a database object | |
US6185577B1 (en) | Method and apparatus for incremental undo | |
CN102831156B (en) | Distributed transaction processing method on cloud computing platform | |
EP2550632B1 (en) | System with multiple conditional commit databases | |
KR100625595B1 (en) | Parallel Logging Method and Transaction Log Processing System of Transaction Processing System | |
EP0457473B1 (en) | Method for accessing shared data | |
US8688628B2 (en) | Nested queued transaction manager | |
CN113396407A (en) | System and method for augmenting database applications using blockchain techniques | |
US6298345B1 (en) | Database journal mechanism and method that supports multiple simultaneous deposits | |
JPH0812631B2 (en) | Database transaction and query processing system | |
CA2375376A1 (en) | Collision avoidance in bidirectional database replication | |
US6725242B2 (en) | Multiple-computer data processing system and method with time-versioned data storage | |
US5862318A (en) | System for generating a gapless series of identity values | |
CN101794247A (en) | Real-time database failure recovery method under nested transaction model | |
CN112559496B (en) | Method and device for realizing transaction atomicity of distributed database | |
JPH10232809A (en) | Transaction processing system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD05 | Notification of revocation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7425 Effective date: 20040903 |