JPH01246645A - Delayed journal merge system - Google Patents

Delayed journal merge system

Info

Publication number
JPH01246645A
JPH01246645A JP63075224A JP7522488A JPH01246645A JP H01246645 A JPH01246645 A JP H01246645A JP 63075224 A JP63075224 A JP 63075224A JP 7522488 A JP7522488 A JP 7522488A JP H01246645 A JPH01246645 A JP H01246645A
Authority
JP
Japan
Prior art keywords
journal
merge
computers
merging
delayed
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.)
Granted
Application number
JP63075224A
Other languages
Japanese (ja)
Other versions
JP2581141B2 (en
Inventor
Masahiro Yamada
正寛 山田
Masaru Tsukagoshi
塚越 賢
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP63075224A priority Critical patent/JP2581141B2/en
Publication of JPH01246645A publication Critical patent/JPH01246645A/en
Application granted granted Critical
Publication of JP2581141B2 publication Critical patent/JP2581141B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To improve the instantaneousness of the information data base of an on-line system by executing the merge processing with a journal merge information in a processor when a journal record reaches a constant quantity. CONSTITUTION:A processor 2 for updating an information data base, when the communication from a journal merge controller not shown in the figure is received, issues a journal swap request to other processor, and when the journal swap report is arranged, activates a journal merge mechanism 3. At the merge mechanism 3, the journal record of respective on-line systems is read, a journal merge key is compared, the sequence, in which respective journal records are outputted, is decided and rearrangement is executed. The result is outputted to a merged journal storing part 4. Based on this, an information data base updating processing part 5 updates the data base of the storing part 6.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、複数の電子機算機(以下、「プロセッサ」と
いう)を用いたオンラインシステムにおけるジャーナル
ファイルの出力方式に係わり、特に大規模なオンライン
システムにおける運用性の向上および情報データベース
の即時性向上に有効な、ディレイド・ジャーナル・マー
ジ方式に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a journal file output method in an online system using a plurality of electronic computers (hereinafter referred to as "processors"), and is particularly applicable to large-scale This paper relates to a delayed journal merging method that is effective for improving the operability of online systems and improving the immediacy of information databases.

〔従来の技術〕[Conventional technology]

従来のオンラインシステムにおいては、例えば「オンラ
インシステムの設計J (E dward Y our
don著、大野豊他監訳、昭和50年丸善刊)のp、3
89以降に、「オーディシトトレイル法」として記載さ
れている如き、ファイルの回復を目的とするジャーナル
レコード取得のための仕掛けを備えるのが一般的であっ
た。
In conventional online systems, for example, ``Online System Design J''
(written by Don, translated by Yutaka Ohno et al., published by Maruzen in 1975), p. 3
After 1989, it was common to provide a mechanism for acquiring journal records for the purpose of file recovery, as described as the "audit trail method."

また、多くのオンラインシステムでは、上記ジャーナル
レコードの一種として、ユーザ固有の情報、すなわち、
ファイル回復とは直接係わりのないアプリケーション上
の情報をもジャーナルとして記録して(こあ記録を「ユ
ーザジャーナルレコード」と呼ぶ)、これをオンライン
終了後にバッチ処理で取出して、情報系データベースの
更新を行うように構成されている。
In addition, in many online systems, as a type of journal record, user-specific information, i.e.,
Application information that is not directly related to file recovery is also recorded as a journal (this record is called a "user journal record"), and this is retrieved by batch processing after online completion to update the information database. is configured to do so.

上記ユーザジャーナルレコードについては、上述の如く
、オンライン終了後にバッチ処理で一括して処理するこ
とのが一般的であるが、特開昭60−7564号公報に
開示されている如く、上記ユーザジャーナルレコードを
、共用ディスク装置を介して別プロセッサに渡して、そ
のプロセッサにおいて、順次、情報系データベースを更
新する方式も知られている。
As mentioned above, the above user journal records are generally processed in batch processing after online completion, but as disclosed in Japanese Patent Laid-Open No. 60-7564, There is also a known method in which the data is passed to another processor via a shared disk device, and the information database is updated in that processor in sequence.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

ところて、共用するディスクファイルを複数のプロセッ
サで並行して更新するオンラインシステムにおいては、
出力されるジャーナルレコードを時系列順に並べ直した
後でないと、情報系データベースの更新用に使用するこ
とができない。
However, in an online system where a shared disk file is updated in parallel by multiple processors,
The output journal records must be rearranged in chronological order before they can be used to update the information database.

従って、上記特開昭62−7564号公報に開示されて
いる方法では、複数のプロセッサを用いるオンラインシ
ステムには適用できず、各プロセッサにおいて出力した
ジャーナルが一定量貯まった時点でオンラインとは別の
プロセッサにおいて、ジャーナルレコードの突合せ(順
番の並べ直し)を行ってから、情報データベースの更新
処理を行わなければならないという問題がある。
Therefore, the method disclosed in JP-A-62-7564 cannot be applied to an online system using multiple processors, and when a certain amount of journals output from each processor has accumulated, There is a problem in that the processor must match (reorder) the journal records before updating the information database.

本発明は上記事情に鑑みてなされたものて、その目的と
するところは、従来のジャーナルファイル出力方式にお
ける上述の如き問題を解消し、複数のプロセッサを有す
る如き大規模なオンラインシステムにおける、運用性の
向上および情報データベースの即時性向上に有効なディ
レイド・ジャーナル・マージ方式を提供することにある
The present invention has been made in view of the above circumstances, and its purpose is to solve the above-mentioned problems in the conventional journal file output method, and to improve operability in a large-scale online system having multiple processors. The purpose of this invention is to provide a delayed journal merging method that is effective in improving the timeliness of information databases and the immediacy of information databases.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の上述の目的は、複数のプロセッサを有し、前記
各プロセッサ間で共用するファイルまたはデータベース
を更新する如く構成されたオンラインシステムにおいて
、前記データベースの更新処理を受持つプロセッサ内に
、前記複数のプロセッサから出力されるジャーナルレコ
ードを時系列的に並べ直すジャーナルマージ機構を設け
て、前記各プロセッサ毎に出力されるジャーナルレコー
ドが一定量貯まった時点て、前記ジャーナルマージ機構
によりマージ処理を行うことを特徴とするディレイド・
ジャーナル・マージ方式によって達成される。
The above-mentioned object of the present invention is to provide an online system having a plurality of processors and configured to update a file or a database shared among the processors, in which the plurality of A journal merging mechanism is provided that rearranges journal records outputted from the processors in chronological order, and when a certain amount of journal records outputted from each processor is accumulated, the journal merging mechanism performs a merging process. Delayed music featuring
Achieved by journal merging method.

〔作用〕[Effect]

本発明に係わるディレイド・ジャーナル・マージ方式に
おいては、情報データベース更新処理を受持つプロセッ
サ内に、複数のプロセッサから出力されるジャーナルレ
コードを時系列的に並べ直すジャーナルマージ機構を設
けて、該マージ機構によるマージ結果を情報データベー
ス更新処理に引渡すようにしたのて、情報データベース
更新処理は、単一プロセッサ構成のオンラインシステム
のジャーナル情報と同等に、ジャーナル入力ファイルは
1個だけで動作を行うことが可能になる。
In the delayed journal merging method according to the present invention, a journal merging mechanism is provided in the processor responsible for information database update processing, and the merging mechanism By passing the merge result to the information database update process, the information database update process can operate with only one journal input file, equivalent to the journal information of an online system with a uniprocessor configuration. become.

〔実施例〕〔Example〕

以下、本発明の実施例を図面に基づいて詳細に説明する
Embodiments of the present invention will be described in detail below with reference to the drawings.

第2図は、本発明の一実施例である複数プロセッサで構
成されるオンラインシステムにおけるディレイド・ジャ
ーナル・マージ処理の概要を示す図である。本実施例に
おいては、オンラインシステム■(11)、同■(12
)、同■(13)が、共用データベース格納部1に格納
されている共用データベースを共用し、更新するオンラ
インシステムを形成している。オンラインシステム■(
11)、同■(12)、同■(13)は、ジャーナルフ
ァイル■(21)、同■(22) 、同■(23)に、
それぞれ、ジャーナルレコードを出力する如く構成され
ている。
FIG. 2 is a diagram showing an overview of delayed journal merging processing in an online system composed of multiple processors, which is an embodiment of the present invention. In this embodiment, the online system ■(11) and the online system ■(12)
) and (13) form an online system that shares and updates the shared database stored in the shared database storage section 1. Online system ■(
11), same ■ (12), same ■ (13) are in journal file ■ (21), same ■ (22), same ■ (23),
Each is configured to output journal records.

また、2は上記ジャーナルファイル(■、■、■)から
出力されるジャーナルレコードのマージを行うジャーナ
ルマージ機構3.マージ済みジャーナルを格納するマー
ジ済みジャーナル格納部4.情報データベースの更新を
行う情報データベース更新処理部5.情報データベース
を格納する情報データベース格納部6を有する情報デー
タベース更新用プロセッサである。なお、41〜46は
、各部間を接続する通信回線等の接続機構である。
2 is a journal merging mechanism 3 that merges journal records output from the journal files (■, ■, ■). Merged journal storage unit that stores merged journals 4. Information database update processing unit that updates the information database5. This is an information database update processor having an information database storage section 6 that stores an information database. In addition, 41-46 are connection mechanisms, such as a communication line which connects each part.

第3図に、ジャーナルマージ処理を中心とした詳細な構
成を示す。なお、本図においては、説明を簡単にするた
め、オンラインシステムとして、第2図に示したオンラ
インシステム11〜13のうち11および12の二つの
みを示している。オンラインシステム11.12は、そ
れぞれ、オンラインプログラムlla、12a ;ロッ
クマネジャ11b、12bおよびジャーナルマージコン
トローラllc、12cを備え、また、前記情報データ
ベース更新用プロセッサ2内にも、ジャーナルマージ機
構3に接してジャーナルマージコントローラ2cが設け
ら才している。
FIG. 3 shows a detailed configuration centered on journal merging processing. In addition, in this figure, in order to simplify the explanation, only two of the online systems 11 to 13 shown in FIG. 2 are shown as online systems, 11 and 12. The online systems 11 and 12 each include online programs lla and 12a; lock managers 11b and 12b; and journal merge controllers llc and 12c, and also in the information database update processor 2 and in contact with the journal merge mechanism 3. A journal merge controller 2c is provided.

ジャーナルマージコントローラllcと同2c、同12
cと同2cは、それぞれ、接続機構44および45で接
続されている。
Journal merge controller llc and same 2c, same 12
c and 2c are connected by connecting mechanisms 44 and 45, respectively.

第1図(a)に、上記ジャーナルマージコントローラl
lcの動作を、また、第1図(b)に、同2cの動作を
示す。以下、第1図〜第3図に従って、本実施例の動作
を説明する。なお、以下の説明においては、説明の都合
上、オンラインシステムの(11)の動作を例に挙げる
FIG. 1(a) shows the journal merge controller l
The operation of lc is shown, and FIG. 1(b) shows the operation of 2c. The operation of this embodiment will be described below with reference to FIGS. 1 to 3. In the following description, for convenience of explanation, the operation (11) of the online system will be taken as an example.

上述の如く構成された本実施例のオンラインシステムに
おけるディレイド・ジャーナル・マージ処理の概要は、
以下の通りである。
An overview of delayed journal merge processing in the online system of this embodiment configured as described above is as follows.
It is as follows.

上記ジャーナルファイル■(21)、■(22)、■(
23)のうちのいずれか一つが所定量(例えば、満杯)
に達したとき(ステップ31)、後述するジャーナルマ
ージコントローラllcが、すべてのオンラインシステ
ムのジャーナルファイルを、それぞれ、別ボリュームに
切替え(ステップ33)、ジャーナルスワップ(同時ス
ワップ)があったことを、接続機構を介して情報データ
ベース更新用プロセッサ2へ連絡する(ステップ34)
とともに、ジャーナルレコードを情報データベース更新
用プロセッサ2へ出力する(ステップ35)。なお、自
オンラインシステムが満杯になった場合以外でも、他の
オンラインシステムのジャーナルマージコントローラが
らのスワップ要求を受けた場合(ステップ32)には、
ステップ33〜35の動作を行う。
The above journal files ■(21), ■(22), ■(
23) is a predetermined amount (for example, full)
When this is reached (step 31), the journal merge controller LLC (described later) switches the journal files of all online systems to separate volumes (step 33), and indicates that there has been a journal swap (simultaneous swap). Contact the information database update processor 2 via the mechanism (step 34)
At the same time, the journal record is output to the information database update processor 2 (step 35). Note that even when the own online system is not full, if a swap request is received from the journal merge controller of another online system (step 32),
The operations of steps 33 to 35 are performed.

情報データベース更新用プロセッサ2は、ジャーナルマ
ージコントローラllcからの連絡を受けると(ステッ
プ51)、他のプロセッサへジャーナルスワップ要求を
出力しくステップ52)、ジャーナルスワップ報告が揃
った時点で(ステップ53)、前記ジャーナルマージ機
構3を起動する。ジャーナルマージ機構3では、各オン
ラインシステムのジャーナルレコードを読込み、そのジ
ャーナルマージキーを比較して、各ジャーナルレコード
の出力された順序を判定し、各ジャーナルレコードの並
べ替えを行い(ステップ54)、結果をマージ済みジャ
ーナル格納部4に出力する。次に、マージ済みジャーナ
ル格納部4への出力が完了したことを情報データベース
更新処理部5へ連絡する。これに基づいて、情報データ
ベース更新処理部5が、情報データベース格納部6内に
格納されている情報データベースの更新を行い(ステッ
プ55)、情報データベースを最新の状態にする。
When the information database update processor 2 receives the contact from the journal merge controller LLC (step 51), it outputs a journal swap request to other processors (step 52), and when the journal swap report is completed (step 53), The journal merging mechanism 3 is activated. The journal merge mechanism 3 reads the journal records of each online system, compares the journal merge keys, determines the output order of each journal record, rearranges each journal record (step 54), and displays the results. is output to the merged journal storage section 4. Next, the information database update processing unit 5 is notified that the output to the merged journal storage unit 4 has been completed. Based on this, the information database update processing unit 5 updates the information database stored in the information database storage unit 6 (step 55), bringing the information database into the latest state.

なお、オンラインプログラムllaは、共用データベー
ス中のレコードへのアクセスを行うときには、まず、ロ
ックマネジャー11bに対して、共用データベース中の
レコードの占有要求を行う。ロックマネジャー11bは
、他CPUのロックマネジャーと連絡をとり、当該レコ
ードが非占有状態であればこれを占有状態とする。
Note that when the online program lla accesses a record in the shared database, it first requests the lock manager 11b to occupy the record in the shared database. The lock manager 11b contacts the lock managers of other CPUs, and if the record is in an unoccupied state, it becomes an occupied state.

オンラインプログラムllaでのトランザクション処理
終了時に、オンラインプログラムll’aは、ロックマ
ネジャー11bから、第4図に示す内容を含むジャーナ
ルマージキーを得て、これをトランザクション終了ジャ
ーナル中に埋込んて、ジャーナルファイル21へ出力し
た後、共用データベース中のレコードの占有状態の解除
をロックマネジャーに指示する。
When the transaction processing in the online program lla ends, the online program ll'a obtains the journal merge key containing the contents shown in FIG. 4 from the lock manager 11b, embeds it in the transaction end journal, and files the journal merge key. 21, it instructs the lock manager to release the exclusive state of the record in the shared database.

上記ジャーナルマージキーには、自CPUと他CPUに
ついてのトランザクション終了の順序性を識別するため
のトランザクション終了カウンタと、各サブシステムが
開始、再開始、終了および異常終了の各事象が発生する
毎に、ロックマネジャがカウントアツプするダウン/リ
スタートカウンタを含ませることによって、複数CP’
Uによるオンラインシステム運転中に、一系統または複
数系統のダウンがあったような場合にも、正しくジャー
ナルのマージを行わせることができる。
The above journal merge key contains a transaction end counter for identifying the order of transaction end for the own CPU and other CPUs, and a transaction end counter for identifying the order of transaction end for the own CPU and other CPUs. , by including a down/restart counter that the lock manager counts up.
Even if one or more systems go down while the online system is being operated by U, journals can be merged correctly.

なお、上記ジャーナルマージキーを用いての。In addition, using the above journal merge key.

データベース共用システム間におけるジャーナルマージ
方式に関しては1本出願人が、先に特願昭62−332
79号「システム間データベース共用システムジャーナ
ルマージ方式」により詳細に記載されている。
Regarding the journal merging method between database sharing systems, the present applicant previously published a patent application in 1986-332.
This method is described in detail in No. 79, “Journal Merge Method for Inter-System Database Sharing System”.

本実施例によれば、複数のプロセッサによって構成され
るオンラインシステムから出力されるジャーナルを使用
して、情報データベースを最新の状態にメンテナンスす
ることが可能となり、複数のプロセッサを用いたオンラ
インシステムの環境下においても、情報データベースか
ら最新情報を取出して利用することを可能とする効果が
ある。
According to this embodiment, it is possible to maintain the information database to the latest state using the journal output from the online system configured with multiple processors, and the environment of the online system using multiple processors becomes possible. The following also has the effect of making it possible to extract and use the latest information from the information database.

第5図は、本発明の他の実施例を示すブロック構成図で
ある。本実施例においては、ジャーナルファイル■、■
、■のうち、いずれか一つが所定量に達した時点て、す
べてのオンラインシステムのジャーナルをスワップし、
ジャーナルマージ用プロセッサ7へ連絡する。連絡を受
けたジャーナルマージ用プロセッサ7は、ジャーナルマ
ージ機構3を起動して、各オンラインシステムのジャー
ナルレコードの入力の並べ替えを行い、結果をマージ済
みジャーナルテープ8に出力する。
FIG. 5 is a block diagram showing another embodiment of the present invention. In this embodiment, journal files ■, ■
,■ When one of them reaches a predetermined amount, swap the journals of all online systems,
Contact the journal merging processor 7. The journal merging processor 7 that has received the notification activates the journal merging mechanism 3, rearranges the input journal records of each online system, and outputs the results to the merged journal tape 8.

本実施例によれば、複数のプロセッサによって構成され
るオンラインシステムから出力されるジャーナルを、デ
ィスク経由でジャーナルマージ用プロセッサへ引渡すた
め、磁気テープによって引渡しを行う場合と比べて、磁
気テープの取扱いのための人員を削減することが可能と
なり、また、人手に頼らずプロセッサ間の連絡によって
作業を実施することにより、操作誤りの危険性も低下さ
せることができる効果がある。
According to this embodiment, since journals output from an online system composed of a plurality of processors are delivered to a journal merging processor via a disk, handling of magnetic tape is easier than when delivery is performed using magnetic tape. It is possible to reduce the number of personnel involved in the process, and the risk of operational errors can also be reduced by carrying out work through communication between processors without relying on manpower.

なお、上記各実施例においては、複数の電子計算機から
出力されるジャーナルレコードを蓄積するファイルのう
ちのいずれか一つが所定量に達した時点て、すべてのジ
ャーナルレコード蓄積ファイルを同時に切換え(同時ス
ワップ)て、前記ジャーナルマージ処理を行う例を示し
たが、本発明は必ずしも、これに限定されるものではな
い。
In each of the above embodiments, when any one of the files that accumulate journal records output from multiple computers reaches a predetermined amount, all the journal record accumulation files are simultaneously switched (simultaneous swap). ), but the present invention is not necessarily limited to this example.

〔発明の効果〕〔Effect of the invention〕

以上述べた如く、本発明によれば゛、複数のプロセッサ
を有し、前記各プロセッサ間で共用するファイルまたは
データベースを更新する如く構成されたオンラインシス
テムにおいて、前記データベースの更新処理を受持つプ
ロセッサ内に、前記複数のプロセッサから出力されるジ
ャーナルレコードを時系列的に並べ直すジャーナルマー
ジ機構を設けて、前記各プロセッサ毎に出力されるジャ
ーナルレコードが一定量に達した時点て、前記ジャーナ
ルマージ機構によりマージ処理を行うように    。
As described above, according to the present invention, in an online system having a plurality of processors and configured to update a file or a database shared among the processors, a processor in charge of updating the database A journal merging mechanism is provided that rearranges the journal records outputted from the plurality of processors in chronological order, and when a certain amount of journal records outputted from each processor reaches a certain amount, the journal merging mechanism Do the merge process.

したのて、大規模なオンラインシステムにおける運用性
の向上および情報データベースの即時性向上に有効な、
ディレイド・ジャーナル・マージ方式を実現できるとい
う顕著な効果を奏するものである。
Therefore, we have developed a method that is effective for improving operability in large-scale online systems and improving the immediacy of information databases.
This has the remarkable effect of realizing a delayed journal merge method.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図(a)(b)はジャーナルマージコントローラの
動作を示すフローチャート、第2図は本発明の一実施例
であるディレイド・ジャーナル・マージ処理の概要を示
す図、第3図はジャーナルマージ処理を中心とした詳細
な構成を示す図、第4図はジャーナルマージキーの構造
を示す図、第5図は他の実施例を示すブロック構成図で
ある。 1:共用データベース格納部、2:情報データベース更
新用プロセッサ、3:ジャーナルマージ機構、4:マー
ジ済みジャーナル格納部、5:情報データベース更新処
理部、6:情報データベース格納部、7:ジャーナルマ
ージ用プロセッサ、8:マージ済みジャーナルテープ、
9:ジャーナルマージキー、11,12,13 :オン
ラインシステム、11a、12a:オンラインプログラ
ム、llb、12b :ロックマネジャ、 llc、1
2c、2 c :ジャーナルマージコントローラ、21
,22.23 :ジャーナルファイル、41〜46:接
続機構。 第   1   図 (a) 、  、、  、             
   (b)第   6   図
Figures 1 (a) and (b) are flowcharts showing the operation of the journal merge controller, Figure 2 is a diagram showing an overview of delayed journal merge processing, which is an embodiment of the present invention, and Figure 3 is a journal merge process. FIG. 4 is a diagram showing the structure of a journal merge key, and FIG. 5 is a block diagram showing another embodiment. 1: Shared database storage unit, 2: Information database update processor, 3: Journal merge mechanism, 4: Merged journal storage unit, 5: Information database update processing unit, 6: Information database storage unit, 7: Journal merge processor , 8: Merged journal tape,
9: Journal merge key, 11, 12, 13: Online system, 11a, 12a: Online program, llb, 12b: Lock manager, llc, 1
2c, 2c: Journal merge controller, 21
, 22.23: Journal file, 41-46: Attachment mechanism. Figure 1 (a) , , , ,
(b) Figure 6

Claims (1)

【特許請求の範囲】 1、複数の電子計算機を有し、前記各電子計算機間で共
用するファイルまたはデータベースを更新する如く構成
されたオンラインシステムにおいて、前記データベース
の更新処理を受持つ電子計算機内に、前記複数の電子計
算機から出力されるジャーナルレコードを時系列的に並
べ直すジャーナルマージ機構を設けて、前記各電子計算
機毎に出力されるジャーナルレコードが一定量に達した
時点で、前記ジャーナルマージ機構によりマージ処理を
行うことを特徴とするディレイド・ジャーナル・マージ
方式。 2、前記複数の電子計算機から出力されるジャーナルレ
コードを蓄積するファイルのうちのいずれか一つが所定
量に達した時点で、すべてのジャーナルレコード蓄積フ
ァイルを同時に切換え(同時スワップ)て、前記ジャー
ナルマージ処理を行うことを特徴とする、特許請求の範
囲第1項記載のディレイド・ジャーナル・マージ方式。 3、前記複数の電子計算機の各々が、前記共用ファイル
またはデータベースへのアクセスを行う単数または複数
のサブシステムと、これらのサブシステムによる前記共
用ファイルまたはデータベースへのアクセスに対する排
他制御を行うロックマネジャを含み、該ロックマネジャ
は、前記サブシステムのトランザクションの終了順序を
示す終了順序情報と、前記サブシステムの開始、再開始
、終了および異常終了の状態変化を示す変化識別情報を
、排他制御情報とともに前記複数の電子計算機上の各ロ
ックマネジャに転送し、各ロックマネジャは、前記各サ
ブシステムに転送された前記終了情報と変化識別情報と
をジャーナルマージのキーとして付与し、トランザクシ
ョンは、該ジャーナルマージキーをトランザクション終
了ジャーナル中に埋込んでジャーナルファイルに出力し
、前記ジャーナルマージ機構は、前記ジャーナルマージ
キーを比較して、各ジャーナルレコードの出力順序を判
定することによりマージ処理を行うことを特徴とする、
特許請求の範囲第1項または第2項記載のディレイド・
ジャーナル・マージ方式。
[Scope of Claims] 1. In an online system that includes a plurality of computers and is configured to update a file or database shared among the computers, within the computer responsible for updating the database, , a journal merging mechanism is provided that rearranges the journal records outputted from the plurality of computers in chronological order, and when a certain amount of journal records outputted from each of the computers reaches a certain amount, the journal merging mechanism A delayed journal merge method that performs merge processing using 2. When any one of the files storing journal records output from the plurality of computers reaches a predetermined amount, all the journal record storage files are simultaneously switched (simultaneous swap) and the journal merge is performed. The delayed journal merging method according to claim 1, characterized in that the delayed journal merging method performs processing. 3. Each of the plurality of computers includes one or more subsystems that access the shared file or database, and a lock manager that exercises exclusive control over access to the shared file or database by these subsystems. The lock manager includes termination order information indicating the transaction termination order of the subsystem, and change identification information indicating state changes of start, restart, termination, and abnormal termination of the subsystem, together with the exclusive control information. The transaction is transferred to each lock manager on a plurality of electronic computers, and each lock manager assigns the termination information and change identification information transferred to each subsystem as a journal merge key, and the transaction uses the journal merge key. is embedded in a transaction end journal and output to a journal file, and the journal merging mechanism performs the merging process by comparing the journal merge keys and determining the output order of each journal record. ,
Delayed method according to claim 1 or 2
Journal merge method.
JP63075224A 1988-03-29 1988-03-29 Delayed journal merge method Expired - Lifetime JP2581141B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63075224A JP2581141B2 (en) 1988-03-29 1988-03-29 Delayed journal merge method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63075224A JP2581141B2 (en) 1988-03-29 1988-03-29 Delayed journal merge method

Publications (2)

Publication Number Publication Date
JPH01246645A true JPH01246645A (en) 1989-10-02
JP2581141B2 JP2581141B2 (en) 1997-02-12

Family

ID=13570041

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63075224A Expired - Lifetime JP2581141B2 (en) 1988-03-29 1988-03-29 Delayed journal merge method

Country Status (1)

Country Link
JP (1) JP2581141B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH052563A (en) * 1991-06-26 1993-01-08 Hitachi Ltd History film sharing system for plural online systems
JPH09134300A (en) * 1995-11-13 1997-05-20 Nec Corp Error log editing system
JP2002024068A (en) * 2000-07-06 2002-01-25 Nec Corp Journal merge control system and journal merge control method
WO2015111152A1 (en) * 2014-01-22 2015-07-30 株式会社日立製作所 Database management system and method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH052563A (en) * 1991-06-26 1993-01-08 Hitachi Ltd History film sharing system for plural online systems
JPH09134300A (en) * 1995-11-13 1997-05-20 Nec Corp Error log editing system
JP2002024068A (en) * 2000-07-06 2002-01-25 Nec Corp Journal merge control system and journal merge control method
WO2015111152A1 (en) * 2014-01-22 2015-07-30 株式会社日立製作所 Database management system and method
GB2537446A (en) * 2014-01-22 2016-10-19 Hitachi Ltd Database management system and method
US10366075B2 (en) 2014-01-22 2019-07-30 Hitachi, Ltd. Database management system and method

Also Published As

Publication number Publication date
JP2581141B2 (en) 1997-02-12

Similar Documents

Publication Publication Date Title
US6397293B2 (en) Storage management system and auto-RAID transaction manager for coherent memory map across hot plug interface
CN100485676C (en) Apparatus, system, and method for file system serialization reinitialization
JP3066693B2 (en) Distributed data processing system
US6463532B1 (en) System and method for effectuating distributed consensus among members of a processor set in a multiprocessor computing system through the use of shared storage resources
US20140344311A1 (en) Systems and methods for asynchronous schema changes
CA2310099A1 (en) Computer system transparent data migration
US8825615B2 (en) Simplifying implementation of custom atomic transactions in a programming environment
US5931925A (en) System and method for efficiently transferring datastreams in a multimedia system
US7401196B2 (en) Storage system and storage control method for access exclusion control of each storage area unit comprising storage area of storage device
US7216210B2 (en) Data I/O system using a plurality of mirror volumes
JPH09325905A (en) Memory control unit
JPWO2004055674A1 (en) Distributed transaction processing apparatus, distributed transaction processing program, and distributed transaction processing method
KR100819022B1 (en) Managing a relationship between one target volume and one source volume
US6330686B1 (en) Handling protected conversation messages across IMS restart in shared queues environment
JP4930553B2 (en) Device having data migration function and data migration method
US6092084A (en) One system of a multisystem environment taking over log entries owned by another system
US5576945A (en) Transaction monitor process with pre-arranged modules for a multiprocessor system
JPH01246645A (en) Delayed journal merge system
US6389482B1 (en) Dynamic transitioning from a local pipe to a cross-system pipe
US6076095A (en) Method of one system of a multisystem environment taking over log entries owned by another system
JP2006146801A (en) Storage system, computer system, and method for acquiring information of storage
JP4189374B2 (en) Processing system
JP2718674B2 (en) Database system
US7149935B1 (en) Method and system for managing detected corruption in stored data
JP3330006B2 (en) Network system including information storage system, input system of the system, and

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071121

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081121

Year of fee payment: 12

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081121

Year of fee payment: 12