JPH09282322A - Currency information control system of cluster system - Google Patents

Currency information control system of cluster system

Info

Publication number
JPH09282322A
JPH09282322A JP8092152A JP9215296A JPH09282322A JP H09282322 A JPH09282322 A JP H09282322A JP 8092152 A JP8092152 A JP 8092152A JP 9215296 A JP9215296 A JP 9215296A JP H09282322 A JPH09282322 A JP H09282322A
Authority
JP
Japan
Prior art keywords
record
currency information
file
currency
intermediate file
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
JP8092152A
Other languages
Japanese (ja)
Other versions
JP2833578B2 (en
Inventor
Nobue Momota
伸江 百田
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 JP8092152A priority Critical patent/JP2833578B2/en
Publication of JPH09282322A publication Critical patent/JPH09282322A/en
Application granted granted Critical
Publication of JP2833578B2 publication Critical patent/JP2833578B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PROBLEM TO BE SOLVED: To efficiently perform retrieval from a data base by an interactive transaction on an optimum cluster. SOLUTION: A currency information retrieval means 111 takes an intermediate file record out of a work file 11 when an intermediate file record corresponding to currency information on the interactive transaction 101 is present in the work file 117. When not, on the other hand, a currency information retrieval means 121 for another cluster takes an intermediate file record out of the work file 122. A currency record return means 115 takes a record corresponding to the intermediate record taken out by the currency information retrieval means 111 or 121 out of the data base 107.

Description

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

【発明の属する技術分野】本発明は、複数のホストから
構成されているクラスタを、さらに複数結合したクラス
タシステムにおいて、対話型トランザクションを最適な
クラスタ上で実行することを可能にするクラスタシステ
ムにおけるカレンシ情報制御システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a currency system for a cluster system which enables an interactive transaction to be executed on an optimum cluster in a cluster system in which a plurality of clusters each comprising a plurality of hosts are further connected. It relates to an information control system.

【0001】[0001]

【従来の技術】特開昭63−245534号公報には、
作業用データの入出力管理装置であって、要求サイズの
バッファを仮想ファイル毎に用意し、対応するカレント
ポイントを管理してバッファを効率的に利用する技術が
記載されている。
2. Description of the Related Art JP-A-63-245534 discloses that
There is described a technique for providing an input / output management device for working data, in which a buffer having a required size is prepared for each virtual file, a corresponding current point is managed, and the buffer is used efficiently.

【0002】特開平6−103308号公報には、クラ
イアントシステムからサーバシステムに対して1回の送
受信において数レコードを読み出す際に、読み出したレ
コードに最終レコードが含まれていた場合には、再度レ
コードの読み出し要求が実行されても、サーバシステム
に対してアクセスしないように制御するために、要求元
に対する転送が繰り返しの何番目かをカレンシによって
管理する技術が記載されている。
Japanese Patent Application Laid-Open No. Hei 6-103308 discloses that when several records are read from a client system to a server system in one transmission / reception, if the read record includes the last record, the record is re-recorded. In order to control not to access the server system even if the read request is executed, a technique of managing the number of repetitions of transfer to the request source by currency is described.

【0003】[0003]

【発明が解決しようとする課題】上述した第1の従来の
技術においては、仮想ファイル毎にカレントポイントを
保持するため、複数のトランザクションから同一ファイ
ルに対してアクセス競合が発生した場合には、カレント
ポイントの更新が頻発し、さらにファイル単位のバッフ
ァの追い出しも動作するので、トランザクションの処理
性能が劣化するという問題点がある。
In the above-mentioned first conventional technique, a current point is held for each virtual file. Therefore, when an access conflict occurs with respect to the same file from a plurality of transactions, the current point is set. Points are frequently updated, and furthermore, eviction of buffers in file units also operates, resulting in a problem that transaction processing performance is deteriorated.

【0004】上述した第2の従来の技術においては、サ
ーバシステムにのみカレンシ情報を保持しているため、
サーバシステムの稼働状況が悪化した場合に、レコード
の読み出し処理の効率が低下するという問題点がある。
In the above-mentioned second conventional technique, currency information is held only in a server system.
When the operating status of the server system deteriorates, there is a problem that the efficiency of the record reading process is reduced.

【0005】本発明の目的は、対話型トランザクション
によるデータベースの検索処理を効率良く実行すること
ができるようにすることにある。
An object of the present invention is to enable efficient database search processing by an interactive transaction.

【0006】本発明の他の目的は、対話型トランザクシ
ョンのデータベースの検索処理を最適なクラスタ上で実
行することできるようにしたことにある。
Another object of the present invention is to enable interactive database search processing to be executed on an optimum cluster.

【0007】[0007]

【課題を解決するための手段】本発明の第1のクラスタ
システムにおけるカレンシ情報制御システムは、複数の
ホストから構成されているクラスタを複数結合したクラ
スタシステムにおいて、各クラスタは、特定の検索条件
に合致するデータベース内のレコードを一意に示す情報
を、中間ファイルレコードとして格納するワークファイ
ルと、前記中間ファイルレコードを指すカレンシ情報を
含み、前記データベース内のレコードの検索処理を要求
する対話型トランザクションと、前記対話型トランザク
ションの前記カレンシ情報に対応する前記中間ファイル
レコードが前記ワークファイル中に存在する場合には、
該中間ファイルレコードを該ワークファイルから取り出
し、存在しない場合には他のクラスタ内の前記ワークフ
ァイルから該中間ファイルレコードを取り出すカレンシ
情報検索手段と、前記カレンシ情報検索手段が取り出し
た中間ファイルレコードに対応するレコードを前記デー
タベースから取り出すカレンシレコード返却手段とから
構成されている。
A currency information control system in a first cluster system according to the present invention is a cluster system in which a plurality of clusters composed of a plurality of hosts are combined, and each cluster has a specific search condition. Information that uniquely indicates a record in the matching database, a work file that stores as an intermediate file record, and currency information that includes the currency information that points to the intermediate file record, and an interactive transaction that requests search processing for the record in the database, If the intermediate file record corresponding to the currency information of the interactive transaction exists in the work file,
Corresponds to the currency information retrieval unit that retrieves the intermediate file record from the work file and retrieves the intermediate file record from the work file in another cluster if it does not exist, and the intermediate file record retrieved by the currency information retrieval unit. And a currency record returning means for retrieving a record from the database.

【0008】本発明の第2のクラスタシステムにおける
カレンシ情報制御システムは、複数のホストから構成さ
れているクラスタを複数結合したクラスタシステムにお
いて、各クラスタは、特定の検索条件に合致するデータ
ベース内のレコードを一意に示すレコード番号を、中間
ファイルレコードとして格納するワークファイルと、前
記中間ファイルレコードを指すカレンシ情報を含み、前
記データベース内のレコードの検索処理を要求する対話
型トランザクションと、前記対話型トランザクションの
前記カレンシ情報に対応する前記中間ファイルレコード
が前記ワークファイル中に存在するか否かを判定し、存
在すると判定した場合には、該カレンシ情報に対応する
中間ファイルレコードを前記ワークファイルから取り出
すカレンシ情報検索手段と、前記カレンシ情報検索手段
が前記カレンシ情報に対応する前記中間ファイルレコー
ドが前記ワークファイル中に存在しないと判定した場合
には、他のクラスタの前記カレンシ情報検索手段に対し
て前記カレンシ情報に対応する前記中間ファイルレコー
ドが該他のクラスタの前記ワークファイル中に存在する
か否かを判定させる他システム起動手段と、他のクラス
タから前記カレンシ情報検索手段により取り出された前
記中間ファイルレコードを前記ワークファイルに登録す
るカレンシ登録手段と、前記カレンシ情報検索手段が取
り出した中間ファイルレコードに対応するレコードを前
記データベースから取り出すカレンシレコード返却手段
とから構成されている。
The currency information control system in the second cluster system of the present invention is a cluster system in which a plurality of clusters composed of a plurality of hosts are combined, and each cluster is a record in a database that matches a specific search condition. A record number that uniquely indicates the intermediate file record, a work file that stores the intermediate file record, currency information that points to the intermediate file record, and an interactive transaction that requests a search process for a record in the database; It is determined whether the intermediate file record corresponding to the currency information exists in the work file, and if it is determined that the intermediate file record exists, the currency information for extracting the intermediate file record corresponding to the currency information from the work file. Inspection Means and the currency information search means determines that the intermediate file record corresponding to the currency information does not exist in the work file, the currency information to the currency information search means of another cluster to the currency information. The other system starting means for determining whether or not the corresponding intermediate file record exists in the work file of the other cluster, and the intermediate file record retrieved by the currency information retrieving means from another cluster, It is composed of currency registration means for registering in the work file and currency record returning means for extracting from the database a record corresponding to the intermediate file record extracted by the currency information retrieval means.

【0009】本発明の第3のクラスタシステムにおける
カレンシ情報制御システムは、第1および第2のクラス
タシステムにおけるカレンシ情報制御システムにおい
て、前記クラスタは、さらに、前記対話型トランザクシ
ョンによる前記データベース内のレコードの検索処理終
了後に、該レコードに対応する前記中間ファイルレコー
ドを前記ワークファイルから削除する検索終了通知手段
を備えたことを特徴とする。
The currency information control system in the third cluster system of the present invention is the currency information control system in the first and second cluster systems, wherein the cluster further stores records in the database by the interactive transaction. It is characterized by further comprising a search end notifying means for deleting the intermediate file record corresponding to the record from the work file after the search processing is completed.

【0010】[0010]

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

【0011】図1を参照すると、本発明の一実施例であ
るクラスタシステムにおけるカレンシ情報制御システム
は、クラスタであるシステム1(110)とシステム2
(120)が、それぞれ同様のオンラインシステムを構
築し、データベース107を共有し、ワークファイル1
17およびワークファイル122を占有するように構成
されている。
Referring to FIG. 1, a currency information control system in a cluster system according to an embodiment of the present invention includes a system 1 (110) which is a cluster and a system 2 (system 2).
(120) construct a similar online system, share the database 107, and work file 1
17 and the work file 122 are occupied.

【0012】図4は、本発明におけるデータベースの検
索情報の管理方法を示している。
FIG. 4 shows a method for managing search information in a database according to the present invention.

【0013】ある条件を基にしてデータベース内の特定
のレコードを検索する旨指定されているSQL文(40
1)が実行されると、該条件に適合するレコードを一意
に示すレコード番号を、中間ファイル(421)の形式
でワークファイル(420)上に作成する。対話型トラ
ンザクションでは、所望のレコードを読み出すために、
ワークファイル(420)上のレコードを示すカレンシ
情報(413)をトランザクション内に保持する。
An SQL statement (40) specifying that a specific record in a database is searched based on a certain condition
When 1) is executed, a record number uniquely indicating a record that satisfies the condition is created on the work file (420) in the format of the intermediate file (421). In an interactive transaction, to retrieve the desired record,
Currency information (413) indicating a record on the work file (420) is held in the transaction.

【0014】以下に本発明の一実施例であるクラスタシ
ステムにおけるカレンシ情報制御システムについて、図
1、図4を参照して説明する。
A currency information control system in a cluster system according to an embodiment of the present invention will be described below with reference to FIGS.

【0015】各端末における対話型トランザクション
(101)の実行に応じて、処理タスク決定手段(10
2)が起動される。
According to the execution of the interactive transaction (101) in each terminal, the processing task determining means (10)
2) is started.

【0016】処理タスク決定手段(102)は、システ
ム稼働情報を基にトランザクションが動作するタスクを
決定する。本実施例では、システム1(110)のタス
クに処理を依頼する。
The processing task determining means (102) determines a task on which a transaction operates based on system operation information. In this embodiment, a task of the system 1 (110) is requested for processing.

【0017】処理を依頼されたシステム1(110)の
タスクは、まずカレンシ情報検索手段(111)を起動
する。
The task of the system 1 (110) requested to process first activates the currency information search means (111).

【0018】カレンシ情報検索手段(111)は、対話
型トランザクション(101)のカレンシ情報(41
0)のオブジェクト通番(411)と中間ファイル通番
(412)に対応する中間ファイルレコード(421)
がワークファイル(117)中に存在するか検索する。
The currency information retrieving means (111) outputs currency information (41) of the interactive transaction (101).
0), an intermediate file record (421) corresponding to the object serial number (411) and the intermediate file serial number (412).
Is searched for in the work file (117).

【0019】カレンシ情報検索手段(111)は、検索
した結果、対応するものがなければ、他システム起動手
段(104)を起動する。
The currency information retrieval means (111) activates the other system activation means (104) if there is no corresponding result as a result of the retrieval.

【0020】カレンシ情報検索手段(111)は、検索
した結果、対応するものがあれば、カレンシレコード返
却手段(115)を起動する。
The currency information search means (111) activates the currency record return means (115) if there is a corresponding one as a result of the search.

【0021】他システム起動手段(104)は、カレン
シ情報のオブジェクト通番(411)と中間ファイル通
番(412)をパラメータとして、他のシステム2(1
20)のタスクにより、カレンシ情報検索手段(12
1)を起動する。
The other system starting means (104) uses the object serial number (411) and the intermediate file serial number (412) of the currency information as parameters to set the other system 2 (1).
20), the currency information retrieval means (12
1) Start up.

【0022】カレンシ情報検索手段(121)は、他シ
ステム起動手段(104)から通知されたカレンシ情報
のオブジェクト通番(411)と中間ファイル通番(4
12)に対応する中間ファイルレコード(421)が自
システムのワークファイル(122)中に存在するか検
索する。
The currency information retrieving means (121) includes an object serial number (411) and an intermediate file serial number (4) of the currency information notified from the other system starting means (104).
It searches whether the intermediate file record (421) corresponding to 12) exists in the work file (122) of the own system.

【0023】システム2(120)において、対応する
オブジェクト通番を持つ中間ファイルレコード(42
1)が見つかった場合は、依頼元のシステム1(11
0)へ該中間ファイルレコード(421)を返却する。
In the system 2 (120), an intermediate file record (42) having a corresponding object serial number
If 1) is found, the requesting system 1 (11
0), the intermediate file record (421) is returned.

【0024】システム1(110)は、返却された中間
ファイルレコード(421)に登録されているオブジェ
クト通番(423)を基にして、オブジェクトロード手
段(112)を起動する。
The system 1 (110) activates the object loading means (112) based on the object serial number (423) registered in the returned intermediate file record (421).

【0025】オブジェクトロード手段(112)は、オ
ブジェクトファイル(105)から検索条件の詳細情報
を、デイレクトリファイル(106)から検索対象表に
対する詳細情報を読み出し、検索に必要な環境を整え
る。
The object loading means (112) reads the detailed information of the search condition from the object file (105) and the detailed information for the search target table from the directory file (106), and prepares an environment necessary for the search.

【0026】カレンシ登録手段(114)は、返却され
た中間ファイルレコード(421)を、自システム上の
ワークファイル(117)に登録し、カレンシレコード
返却手段(115)を起動する。
The currency registering means (114) registers the returned intermediate file record (421) in the work file (117) on its own system, and activates the currency record returning means (115).

【0027】カレンシレコード返却手段(115)は、
ワークファイル(117)上の中間ファイルレコード
(421)を基にして、カレンシ情報(410)にある
現在の中間ファイル上位置(413)のレコード通番を
読み出し、そのレコード通番を基にして、データファイ
ル(107)から目的のレコードを返却する。
The currency record returning means (115)
Based on the intermediate file record (421) on the work file (117), the record serial number of the current intermediate file position (413) in the currency information (410) is read, and the data file is read based on the record serial number. The target record is returned from (107).

【0028】目的の検索条件に対する検索が終了した場
合には、検索終了通知手段(116)を起動し、更に他
システム起動手段(104)を起動し、解放する中間フ
ァイルレコード通番を通知する。それにより、全システ
ム上のワークファイルから、解放すべき中間ファイルレ
コードを検索し、全て削除する。
When the search for the target search condition is completed, the search end notifying means (116) is started, and the other system starting means (104) is started to notify the intermediate file record serial number to be released. As a result, the intermediate file records to be released are searched from the work files on all the systems, and all of them are deleted.

【0029】以下に本発明の一実施例であるクラスタシ
ステムにおけるカレンシ情報制御システムについて、図
1〜図5を参照してより詳細に説明する。
Hereinafter, a currency information control system in a cluster system according to an embodiment of the present invention will be described in more detail with reference to FIGS.

【0030】図5を参照して、データベースアクセス言
語であるSQL文(500)にて、会員表(530)と
いうデータベースをアクセスする例を説明する。会員表
(530)には様々なレコードが格納されているため、
SQL文(501)にて目的とするレコードの検索条件
を指定する。この例では、年齢が35〜65という条件
で会員名を順方向に検索する要求を行う。またカレンシ
情報(510)の現在のビットマップレコード位置情報
から、該当するレコードを2件目まで既に読み込みが終
了している状態を前提としている。
With reference to FIG. 5, an example of accessing a database called a membership table (530) by an SQL statement (500) which is a database access language will be described. Since various records are stored in the member table (530),
The search condition of the target record is designated by the SQL statement (501). In this example, a request is made to search for a member name in the forward direction on condition that the age is 35 to 65. It is also assumed that the corresponding record has already been read up to the second record from the current bitmap record position information of the currency information (510).

【0031】対話型トランザクションが実行されると
(ステップ201)、処理タスク決定手段(102)
は、システム稼働情報を参照して資源待ちが少ないシス
テム1(110)を選択し、処理タスクを決定する(ス
テップ202)。
When the interactive transaction is executed (step 201), the processing task determining means (102)
Refers to the system operation information, selects the system 1 (110) with less resource waiting, and determines a processing task (step 202).

【0032】カレンシ情報検索手段(111)は、トラ
ンザクションのカレンシ情報(510)のオブジェクト
通番(実施例では121)とビットマップレコード通番
(実施例では100)を基にして、自システムのワーク
ファイル(520)に対応するビットマップレコードが
存在するか検索する(ステップ203)。
The currency information retrieving means (111), based on the object serial number (121 in the embodiment) and the bitmap record serial number (100 in the embodiment) of the currency information (510) of the transaction, creates a work file (100) in its own system. 520) is searched for the existence of a bitmap record (step 203).

【0033】カレンシ情報検索手段(111)は、ワー
クファイル(520)を検索してもオブジェクト通番:
121、中間ファイル通番:100番に対応するビット
マップレコードが見つからないため、他システム起動手
段(104)を起動する(ステップ204)。
The currency information retrieving means (111) retrieves the work file (520) and retrieves the object serial number:
121, the intermediate file serial number: No bitmap record corresponding to 100 is found, so the other system starting means (104) is started (step 204).

【0034】他システム起動手段(104)は、他のシ
ステム2(120)のカレンシ情報検索手段(121)
に対して、オブジェクト:121番と中間ファイル通
番:100番を基にして、ワークファイル(540)に
対応するビットマップレコードが存在するか検索要求す
る(ステップ211)。
The other system starting means (104) is a currency information searching means (121) of the other system 2 (120).
Then, a search request is made as to whether a bitmap record corresponding to the work file (540) exists based on the object: 121 and the intermediate file serial number: 100 (step 211).

【0035】カレンシ情報検索手段(121)は、該ビ
ットマップレコードが存在するか検索し(ステップ21
2)、対応するビットマップレコード(541)が登録
されているので、該ビットマップレコード(541)を
依頼元のシステム1(110)へ返却する(ステップ2
13)。
The currency information retrieving means (121) retrieves whether the bitmap record exists (step 21).
2) Since the corresponding bitmap record (541) is registered, the bitmap record (541) is returned to the requesting system 1 (110) (step 2).
13).

【0036】システム1(110)のオブジェクトロー
ド手段(112)は、オブジェクトファイル(105)
から該当する検索条件とデイレクトリファイル(10
6)から該当する会員表(530)の詳細情報を読み出
し、検索に必要な環境を整える(ステップ205)。
The object loading means (112) of the system 1 (110) has an object file (105).
Search conditions and directory files (10
The detailed information of the corresponding member table (530) is read from 6), and the environment necessary for the search is prepared (step 205).

【0037】カレンシ登録手段(114)は、ビットマ
ップレコード(541)を自システム上のワークファイ
ル(520)に挿入する(ステップ206)。
The currency registering means (114) inserts the bitmap record (541) into the work file (520) on its own system (step 206).

【0038】カレンシレコード返却手段(115)は、
自システム上のワークファイル(520)のビットマッ
プレコードを基に、カレンシ情報(510)にある現在
のビットマップレコード位置(実施例では2番目)から
順方向の次のレコード:レコード通番108の佐藤博の
データを読み出す(ステップ207)。
The currency record returning means (115)
The next record in the forward direction from the current bitmap record position (second in the embodiment) in the currency information (510) based on the bitmap record of the work file (520) on the own system: Sato of record serial number 108 Expo data is read (step 207).

【0039】検索処理を終了する場合には、検索終了通
知手段(116)は、自システムのワークファイルから
該当するビットマップレコードを検索し(ステップ30
2)、見つかれば削除する(ステップ303)。
When terminating the retrieval process, the retrieval end notifying means (116) retrieves a corresponding bitmap record from the work file of the own system (step 30).
2) If found, delete it (step 303).

【0040】また他のシステム2(120)について
は、他システム起動手段(104)により解放するビッ
トマップレコードを通知し(ステップ311)、ワーク
ファイル(540)に見つかれば同様に削除する(ステ
ップ303)。
For the other system 2 (120), a bitmap record to be released is notified by the other system starting means (104) (step 311), and if found in the work file (540), it is similarly deleted (step 303). ).

【0041】以上により、本発明の一実施例であるクラ
スタシステムにおけるカレンシ情報制御システムの処理
が完了する。
As described above, the processing of the currency information control system in the cluster system according to one embodiment of the present invention is completed.

【0042】本発明の一実施例であるクラスタシステム
におけるカレンシ情報制御システムは、対話型トランザ
クションのデータベースの検索結果である中間ファイル
に格納し、該中間ファイルを各クラスタ間で引き継ぐこ
とができるという効果を有している。
The currency information control system in the cluster system according to one embodiment of the present invention stores an intermediate file as a search result of a database of an interactive transaction, and can transfer the intermediate file between the clusters. have.

【0043】[0043]

【発明の効果】以上説明したように、本発明のクラスタ
システムにおけるカレンシ情報制御システムは、対話型
トランザクションのデータベースの検索結果である中間
ファイルに格納し、該中間ファイルを各クラスタ間で引
き継ぐことができるようにしたことにより、クラスタシ
ステムを構成するどのクラスタ上においても、対話型ト
ランザクションのデータベースの検索処理を実行するこ
とができる効果を有している。すなわち、対話型トラン
ザクションによるデータベースの検索処理を最適なクラ
スタ上で効率良く実行することができる効果を有してい
る。
As described above, the currency information control system in the cluster system according to the present invention stores an intermediate file, which is a search result of a database of an interactive transaction, and inherits the intermediate file between the clusters. With this configuration, it is possible to execute an interactive transaction database search process on any cluster constituting the cluster system. That is, there is an effect that the database search processing by the interactive transaction can be efficiently executed on the optimal cluster.

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

【図1】本発明の一実施例におけるブロック図である。FIG. 1 is a block diagram according to an embodiment of the present invention.

【図2】本発明の一実施例における処理タスク決定手段
(102)、カレンシ情報検索手段(111)、他シス
テム起動手段(104)、カレンシ情報検索手段(12
1)、オブジェクトロード手段(112)、カレンシ登
録手段(114)、およびカレンシレコード返却手段
(115)の処理を示す流れ図である。
FIG. 2 shows a processing task determining means (102), a currency information searching means (111), another system starting means (104), and a currency information searching means (12) in one embodiment of the present invention.
1 is a flowchart showing processing of an object loading unit (112), a currency registration unit (114), and a currency record returning unit (115).

【図3】本発明の一実施例における検索終了通知手段
(116)および他システム起動手段(104)の処理
を示す流れ図である。
FIG. 3 is a flowchart showing a process of a search end notifying unit (116) and another system starting unit (104) in one embodiment of the present invention.

【図4】本発明の一実施例におけるデータベースの検索
情報の管理方法を示す図である。
FIG. 4 is a diagram showing a method for managing search information in a database according to an embodiment of the present invention.

【図5】本発明の一実施例におけるクラスタ間のビット
マップレコードの移動の状態を示す図である。
FIG. 5 is a diagram illustrating a state of movement of a bitmap record between clusters according to an embodiment of the present invention.

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

101 対話型トランザクション 102 処理タスク決定手段 104 他システム起動手段 105 オブジェクトファイル 106 デイレクトリファイル 107 データファイル 110 システム1 111 カレンシ情報検索手段 112 オブジェクトロード手段 114 カレンシ登録手段 115 カレンシレコード返却手段 116 検索処理終了手段 117 ワークファイル 120 システム2 121 カレンシ情報検索手段 122 ワークファイル 401 SQL文 410 カレンシ情報 411 オブジェクト通番 412 中間ファイル通番 413 現在の中間ファイル上位置 420 ワークファイル 421 中間ファイルレコード 500 トランザクション情報 501 SQL文 510 カレンシ情報 520 ワークファイル 521 ビットマップレコード 530 会員表 540 ワークファイル 541 ビットマップレコード DESCRIPTION OF SYMBOLS 101 Interactive transaction 102 Processing task determination means 104 Other system activation means 105 Object file 106 Directory file 107 Data file 110 System 1 111 Currency information search means 112 Object load means 114 Currency registration means 115 Currency record return means 116 Search processing end means 117 Work file 120 System 2 121 Currency information search means 122 Work file 401 SQL statement 410 Currency information 411 Object serial number 412 Intermediate file serial number 413 Current intermediate file position 420 Work file 421 Intermediate file record 500 Transaction information 501 SQL statement 510 Currency information 520 Work file 521 Bitmap record 530 Member table 540 Work file 541 Bitmap record

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 複数のホストから構成されているクラス
タを複数結合したクラスタシステムにおいて、 各クラスタは、 特定の検索条件に合致するデータベース内のレコードを
一意に示す情報を、中間ファイルレコードとして格納す
るワークファイルと、 前記中間ファイルレコードを指すカレンシ情報を含み、
前記データベース内のレコードの検索処理を要求する対
話型トランザクションと、 前記対話型トランザクションの前記カレンシ情報に対応
する前記中間ファイルレコードが前記ワークファイル中
に存在する場合には、該中間ファイルレコードを該ワー
クファイルから取り出し、存在しない場合には他のクラ
スタ内の前記ワークファイルから該中間ファイルレコー
ドを取り出すカレンシ情報検索手段と、 前記カレンシ情報検索手段が取り出した中間ファイルレ
コードに対応するレコードを前記データベースから取り
出すカレンシレコード返却手段とを備えたことを特徴と
するクラスタシステムにおけるカレンシ情報制御システ
ム。
1. In a cluster system in which a plurality of clusters composed of a plurality of hosts are combined, each cluster stores, as an intermediate file record, information uniquely indicating a record in a database that matches a specific search condition. A work file, including currency information pointing to the intermediate file record,
If an interactive transaction requesting a search process for a record in the database and the intermediate file record corresponding to the currency information of the interactive transaction are present in the work file, the intermediate file record is set to the work file. A currency information retrieval unit that retrieves the intermediate file record from the work file in another cluster if it does not exist, and a record corresponding to the intermediate file record retrieved by the currency information retrieval unit from the database A currency information control system in a cluster system, comprising a currency record returning means.
【請求項2】 複数のホストから構成されているクラス
タを複数結合したクラスタシステムにおいて、 各クラスタは、 特定の検索条件に合致するデータベース内のレコードを
一意に示すレコード番号を、中間ファイルレコードとし
て格納するワークファイルと、 前記中間ファイルレコードを指すカレンシ情報を含み、
前記データベース内のレコードの検索処理を要求する対
話型トランザクションと、 前記対話型トランザクションの前記カレンシ情報に対応
する前記中間ファイルレコードが前記ワークファイル中
に存在するか否かを判定し、存在すると判定した場合に
は、該カレンシ情報に対応する中間ファイルレコードを
前記ワークファイルから取り出すカレンシ情報検索手段
と、 前記カレンシ情報検索手段が前記カレンシ情報に対応す
る前記中間ファイルレコードが前記ワークファイル中に
存在しないと判定した場合には、他のクラスタの前記カ
レンシ情報検索手段に対して前記カレンシ情報に対応す
る前記中間ファイルレコードが該他のクラスタの前記ワ
ークファイル中に存在するか否かを判定させる他システ
ム起動手段と、 他のクラスタから前記カレンシ情報検索手段により取り
出された前記中間ファイルレコードを前記ワークファイ
ルに登録するカレンシ登録手段と、 前記カレンシ情報検索手段が取り出した中間ファイルレ
コードに対応するレコードを前記データベースから取り
出すカレンシレコード返却手段とを備えたことを特徴と
するクラスタシステムにおけるカレンシ情報制御システ
ム。
2. In a cluster system in which a plurality of clusters composed of a plurality of hosts are combined, each cluster stores, as an intermediate file record, a record number uniquely indicating a record in a database that matches a specific search condition. And a currency file that points to the intermediate file record,
An interactive transaction requesting a search process for a record in the database, and whether or not the intermediate file record corresponding to the currency information of the interactive transaction is present in the work file, is determined to be present. In this case, a currency information search unit that extracts an intermediate file record corresponding to the currency information from the work file, and the currency information search unit does not include the intermediate file record corresponding to the currency information in the work file. When it is determined, the other system is started, which causes the currency information search unit of another cluster to determine whether the intermediate file record corresponding to the currency information exists in the work file of the other cluster. Means from other clusters Currency registration means for registering the intermediate file record retrieved by the currency information retrieval means in the work file, and currency record returning means for retrieving a record corresponding to the intermediate file record retrieved by the currency information retrieval means from the database. A currency information control system in a cluster system, characterized by comprising:
【請求項3】 前記クラスタは、さらに、前記対話型ト
ランザクションによる前記データベース内のレコードの
検索処理終了後に、該レコードに対応する前記中間ファ
イルレコードを前記ワークファイルから削除する検索終
了通知手段を備えたことを特徴とする請求項1および請
求項2記載のクラスタシステムにおけるカレンシ情報制
御システム。
3. The cluster further comprises search end notifying means for deleting the intermediate file record corresponding to the record from the work file after the search process for the record in the database by the interactive transaction is completed. A currency information control system in a cluster system according to claim 1 or 2, characterized in that.
JP8092152A 1996-04-15 1996-04-15 Currency Information Control System in Cluster System Expired - Lifetime JP2833578B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8092152A JP2833578B2 (en) 1996-04-15 1996-04-15 Currency Information Control System in Cluster System

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8092152A JP2833578B2 (en) 1996-04-15 1996-04-15 Currency Information Control System in Cluster System

Publications (2)

Publication Number Publication Date
JPH09282322A true JPH09282322A (en) 1997-10-31
JP2833578B2 JP2833578B2 (en) 1998-12-09

Family

ID=14046459

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8092152A Expired - Lifetime JP2833578B2 (en) 1996-04-15 1996-04-15 Currency Information Control System in Cluster System

Country Status (1)

Country Link
JP (1) JP2833578B2 (en)

Also Published As

Publication number Publication date
JP2833578B2 (en) 1998-12-09

Similar Documents

Publication Publication Date Title
US10754835B2 (en) High-efficiency deduplication module of a database-management system
JP4786945B2 (en) Indexing forced query
KR100330576B1 (en) System and method for locating pages on the world wide web and locating documents from a network of computers
US6449607B1 (en) Disk storage with modifiable data management function
JP4162184B2 (en) Storage device having means for acquiring execution information of database management system
US7526469B2 (en) Method and system of database management with shared area
JPH10240589A (en) Database processing method taking out actual data delay
JP2004192292A (en) Prefetch appliance server
US20120203797A1 (en) Enhanced control to users to populate a cache in a database system
JPH10320423A (en) Method and device for executing connection question in data base system
CN109766318B (en) File reading method and device
JPH05128167A (en) Medical image archive communication system
JP3324572B2 (en) Information processing apparatus and recording medium recording program to be executed by computer
US7536512B2 (en) Method and apparatus for space efficient identification of candidate objects for eviction from a large cache
US6775669B2 (en) Retrieval processing method and apparatus and memory medium storing program for same
JPH09204442A (en) Document data retrieval system
JP2000357115A (en) Device and method for file retrieval
JP2002222111A (en) Device and method for data communication
JP2833578B2 (en) Currency Information Control System in Cluster System
US8818990B2 (en) Method, apparatus and computer program for retrieving data
JP2000235514A (en) Method and system for retrieving information and recording medium recording information retrieval processing program
JP2009037359A (en) Data registration retrieval method, data registration retrieval program, and database system
JP2713405B2 (en) File system
JPH0728836A (en) Data base retrieving method and data base system using this method
WO2021017655A1 (en) Method, apparatus, and computing device for obtaining inode number, and storage medium

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19980901