JP3050194B2 - A system for dynamically adding a shared memory file between hosts, a method for dynamically adding a shared memory file between hosts, and a recording medium storing a program for dynamically adding a shared memory file between hosts - Google Patents

A system for dynamically adding a shared memory file between hosts, a method for dynamically adding a shared memory file between hosts, and a recording medium storing a program for dynamically adding a shared memory file between hosts

Info

Publication number
JP3050194B2
JP3050194B2 JP9330145A JP33014597A JP3050194B2 JP 3050194 B2 JP3050194 B2 JP 3050194B2 JP 9330145 A JP9330145 A JP 9330145A JP 33014597 A JP33014597 A JP 33014597A JP 3050194 B2 JP3050194 B2 JP 3050194B2
Authority
JP
Japan
Prior art keywords
host computer
hash table
shared memory
file
host
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.)
Expired - Fee Related
Application number
JP9330145A
Other languages
Japanese (ja)
Other versions
JPH10240696A (en
Inventor
敏行 大津
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 JP9330145A priority Critical patent/JP3050194B2/en
Publication of JPH10240696A publication Critical patent/JPH10240696A/en
Application granted granted Critical
Publication of JP3050194B2 publication Critical patent/JP3050194B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、マルチプロセッサ
システム間で共用する共用メモリファイルの個数を動的
に増加させることにより、共用メモリファイルの領域を
動的に拡大するホスト間共用メモリファイル動的追加シ
ステム、ホスト間共用メモリファイル動的追加方法、お
よびホスト間共用メモリファイル動的追加プログラムを
記録した記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an inter-host shared memory file dynamically expanding a shared memory file area by dynamically increasing the number of shared memory files shared between multiprocessor systems. The present invention relates to an additional system, a method for dynamically adding a shared memory file between hosts, and a recording medium on which a program for dynamically adding a shared memory file between hosts is recorded.

【0002】[0002]

【従来の技術】特開平4−370849号公報には、1
台のホストコンピュータ内で複数のアプリケーションプ
ログラムが共有する1つの共有メモリエリアのサイズを
変更する技術が記載されている。該ホストコンピュータ
は、複数のアプリケーションプログラムからアクセス可
能な1つの共有メモリエリアと、該共有メモリエリアを
管理するメモリ管理テーブルと、複数のアプリケーショ
ンプログラムからの該共有メモリエリアの拡張要求に応
じて、それらの拡張要求の内の最大サイズを判定する必
要最大サイズ判定機能と、該最大サイズにしたがって該
共有メモリエリアを拡大するメモリエリア拡大機能と、
複数のアプリケーションプログラムからの該共有メモリ
エリアの縮小要求に応じて、それらの縮小要求の内の最
小サイズを判定する必要最小サイズ判定機能と、該最小
サイズにしたがって該共有メモリエリアを縮小するメモ
リエリア縮小機能とから構成されている。
2. Description of the Related Art Japanese Patent Laid-Open Publication No.
A technique for changing the size of one shared memory area shared by a plurality of application programs in one host computer is described. The host computer includes a shared memory area accessible from a plurality of application programs, a memory management table for managing the shared memory area, and a shared memory area in response to a request for extending the shared memory area from the plurality of application programs. A required maximum size determination function for determining the maximum size of the expansion request, a memory area expansion function for expanding the shared memory area according to the maximum size,
In response to a request for reducing the shared memory area from a plurality of application programs, a required minimum size determination function for determining a minimum size of the reduction requests, and a memory area for reducing the shared memory area according to the minimum size It consists of a reduction function.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、この従
来の技術においては、複数のアプリケーションプログラ
ムのそれぞれが、自身が発行した共有メモリエリアへの
拡大および縮小要求を他のアプリケーションプログラム
へ通知していない。そのため、各アプリケーションプロ
グラムが所望のサイズの該共有メモリエリアの確保を要
求しても、該共有メモリエリアが所望のサイズよりも縮
小されていて、所望のサイズが確保できない場合が頻繁
に生じる可能性があり、そのような場合には、その都
度、該共有メモリエリアを拡大しなければならないの
で、該共有メモリエリアに対するアクセスが非常に効率
の悪いものになってしまうという問題点がある。
However, in this conventional technique, each of a plurality of application programs does not notify another application program of an enlargement / reduction request to the shared memory area issued by itself. Therefore, even if each application program requests the reservation of the shared memory area of a desired size, there is a possibility that the shared memory area is smaller than the desired size and the desired size cannot be reserved frequently. In such a case, the shared memory area must be expanded each time, so that there is a problem that access to the shared memory area becomes very inefficient.

【0004】また、この従来の技術を、複数の共有メモ
リエリアの管理に適用する場合、すなわち、複数のアプ
リケーションプログラムのそれぞれが、他のアプリケー
ションプログラムに通知することなく、複数の異なる共
有メモリエリアを拡大および縮小した場合には、それら
の共有メモリエリアを含む記憶領域に大量のフラグメン
テーションが生じるという問題点がある。
When this conventional technique is applied to the management of a plurality of shared memory areas, that is, each of a plurality of application programs manages a plurality of different shared memory areas without notifying another application program. In the case of enlargement and reduction, there is a problem that a large amount of fragmentation occurs in a storage area including the shared memory area.

【0005】本発明の目的は、マルチプロセッサシステ
ム間で複数の共用メモリファイルを、効率良く共用する
ことができるようにすることにある。
An object of the present invention is to enable a plurality of shared memory files to be efficiently shared between multiprocessor systems.

【0006】本発明の他の目的は、マルチプロセッサシ
ステム間で共用する複数の共用メモリファイルを含む記
憶領域を、効率良く利用することができるようにするこ
とにある。
Another object of the present invention is to make it possible to efficiently use a storage area including a plurality of shared memory files shared between multiprocessor systems.

【0007】[0007]

【課題を解決するための手段】本発明の第1のホスト間
共用メモリファイル動的追加システムは、同一サイズの
複数のデータブロックから構成される共用メモリファイ
ルを含む外部記憶装置と、前記複数のデータブロックの
いずれかに対応する複数のエントリから構成されるハッ
シュテーブルを有し、該複数のデータブロックのそれぞ
れにデータを格納する際には、該データの識別子をハッ
シングして該ハッシュテーブル中の対応するエントリを
決定し、該エントリに対応するデータブロックに該デー
タを格納する複数のホスト計算機と、前記複数のホスト
計算機が有する前記ハッシュテーブルへのアクセスを排
他制御するホスト間ロック手段とを備えたホスト間共用
メモリファイル動的追加システムであって、前記外部記
憶装置が、さらに、前記共用メモリファイルの各データ
ブロックと前記ハッシュテーブルの各エントリとの対応
情報を格納する制御ファイルを含み、前記複数のホスト
計算機のそれぞれが、さらに、自ホスト計算機が他のホ
スト計算機よりも先に起動された場合には、前記ホスト
間ロック手段により他のホスト計算機による該他のホス
ト計算機が有する前記ハッシュテーブルへのアクセスを
排他制御し、前記共用メモリファイルのすべてのデータ
ブロック数を取得し、少なくとも該データブロック数以
上のエントリから構成される前記ハッシュテーブルを作
成し、該ハッシュテーブルの各エントリと前記共用メモ
リファイルの各データブロックとの対応情報を前記制御
ファイルへ格納し、前記ホスト間ロック手段により他の
ホスト計算機による該他のホスト計算機が有する前記ハ
ッシュテーブルへのアクセスの排他制御を解除するとと
もに、自ホスト計算機が他のホスト計算機よりも後に起
動された場合には、前記ホスト間ロック手段により他の
ホスト計算機による該他のホスト計算機が有する前記ハ
ッシュテーブルへのアクセスを排他制御し、前記制御フ
ァイルから前記対応情報を読み出し、該対応情報に基づ
いて自ホスト計算機内に前記ハッシュテーブルを作成
し、前記ホスト間ロック手段により他のホスト計算機に
よる該他のホスト計算機が有する前記ハッシュテーブル
へのアクセスの排他制御を解除する共用メモリファイル
アクセス手段を含むことを特徴とする。
A first system for dynamically adding a shared memory file between hosts according to the present invention comprises: an external storage device including a shared memory file composed of a plurality of data blocks of the same size; It has a hash table composed of a plurality of entries corresponding to any of the data blocks, and when storing data in each of the plurality of data blocks, hashing the identifier of the data and performing hashing in the hash table A plurality of host computers for determining a corresponding entry and storing the data in a data block corresponding to the entry; and inter-host lock means for exclusively controlling access to the hash table of the plurality of host computers. Wherein the external storage device further comprises: A control file for storing correspondence information between each data block of the shared memory file and each entry of the hash table, wherein each of the plurality of host computers further includes its own host computer prior to the other host computers. When started, the host-to-host locking means exclusively controls access to the hash table of the other host computer by the other host computer, and acquires the number of all data blocks of the shared memory file, Creating the hash table including at least the number of entries of the data block or more, storing correspondence information between each entry of the hash table and each data block of the shared memory file in the control file; The other host computer by another host computer by means The exclusive control of access to the hash table held by the host computer is released, and when the host computer is started after the other host computer, the inter-host lock means causes the other host computer to execute the other host computer. Exclusively controls access to the hash table possessed by the computer, reads the correspondence information from the control file, creates the hash table in the host computer based on the correspondence information, A shared memory file access unit that releases exclusive control of access by the host computer to the hash table of the other host computer.

【0008】本発明の第2のホスト間共用メモリファイ
ル動的追加システムは、第1のホスト間共用メモリファ
イル動的追加システムにおいて、前記複数のホスト計算
機のそれぞれが、さらに、前記外部記憶装置上に前記共
用メモリファイルを追加する共用ファイル追加手段と、
前記共用ファイル追加手段により前記共用メモリファイ
ルが前記外部記憶装置上に追加された後に、前記ホスト
間ロック手段により他のホスト計算機による該他のホス
ト計算機が有する前記ハッシュテーブルへのアクセスを
排他制御し、既存の前記共用メモリファイルの特定のデ
ータブロックに対応する前記ハッシュテーブルの複数の
エントリのいずれかを追加された前記共用メモリファイ
ルの複数のデータブロックのいずれかに対応付け、前記
ハッシュテーブル内の対応付けられたエントリが該特定
のデータブロックのデータの識別子をハッシングした結
果に対応する場合には、追加された前記共用メモリファ
イル内の対応付けられたデータブロックに該特定のデー
タブロックのデータを移送し、前記制御ファイルに格納
されている前記対応情報を更新し、前記ホスト間ロック
手段により他のホスト計算機による該他のホスト計算機
が有する前記ハッシュテーブルへのアクセスの排他制御
を解除するハッシュテーブル更新手段とを含むことを特
徴とする。
In a second dynamic inter-host shared memory file adding system according to the present invention, in the first dynamic inter-host shared memory file adding system, each of the plurality of host computers further includes an external storage device. Shared file adding means for adding the shared memory file to;
After the shared memory file is added to the external storage device by the shared file adding means, the inter-host locking means exclusively controls access to the hash table of the other host computer by the other host computer by the inter-host locking means. Associating any one of the plurality of entries of the hash table corresponding to a specific data block of the existing shared memory file with any of the plurality of data blocks of the added shared memory file, If the associated entry corresponds to the result of hashing the data identifier of the specific data block, the data of the specific data block is added to the associated data block in the added shared memory file. Transported and the pair stored in the control file Update information, characterized in that it comprises a hash table updating means for releasing exclusive control of access to the hash table with the said other host computer by other host computers by a locking means between said host.

【0009】本発明の第3のホスト間共用メモリファイ
ル動的追加システムは、第2のホスト間共用メモリファ
イル動的追加システムにおいて、前記ハッシュテーブル
更新手段が、さらに、他のホスト計算機により前記制御
ファイルに格納されている前記対応情報が更新された場
合には、該更新された対応情報に基づいて自ホスト計算
機システムの前記ハッシュテーブルを更新することを特
徴とする。
In a third dynamic inter-host shared memory file adding system according to the present invention, in the second dynamic inter-host shared memory file adding system, the hash table updating means may further include the control by another host computer. When the correspondence information stored in the file is updated, the hash table of the host computer system is updated based on the updated correspondence information.

【0010】本発明の第1のホスト間共用メモリファイ
ル動的追加方法は、複数のホスト計算機のそれぞれが、
該複数のホスト計算機で共用する共用メモリファイルを
構成する同一サイズの複数のデータブロックのそれぞれ
にデータを格納する際には、該データの識別子をハッシ
ングして前記複数のデータブロックのいずれかに対応す
る複数のエントリから構成されるハッシュテーブル中の
対応するエントリを決定し、該エントリに対応するデー
タブロックに該データを格納するデータ格納ステップ
と、前記複数のホスト計算機のそれぞれが、自ホスト計
算機が他のホスト計算機よりも先に起動された場合に
は、他のホスト計算機による該他のホスト計算機が有す
る前記ハッシュテーブルへのアクセスを排他制御し、前
記共用メモリファイルのすべてのデータブロック数を取
得し、少なくとも該データブロック数以上のエントリか
ら構成される前記ハッシュテーブルを作成し、該ハッシ
ュテーブルの各エントリと前記共用メモリファイルの各
データブロックとの対応情報を前記複数のホスト計算機
で共用する制御ファイルへ格納し、他のホスト計算機に
よる該他のホスト計算機が有する前記ハッシュテーブル
へのアクセスの排他制御を解除するとともに、自ホスト
計算機が他のホスト計算機よりも後に起動された場合に
は、他のホスト計算機による該他のホスト計算機が有す
る前記ハッシュテーブルへのアクセスを排他制御し、前
記制御ファイルから前記対応情報を読み出し、該対応情
報に基づいて自ホスト計算機内に前記ハッシュテーブル
を作成し、他のホスト計算機による該他のホスト計算機
が有する前記ハッシュテーブルへのアクセスの排他制御
を解除するハッシュテーブル作成ステップとを含むこと
を特徴とする。
In a first method for dynamically adding a shared memory file between hosts according to the present invention, each of a plurality of host computers comprises:
When storing data in each of a plurality of data blocks of the same size constituting a shared memory file shared by the plurality of host computers, the data identifier is hashed to correspond to any of the plurality of data blocks. Determining a corresponding entry in a hash table composed of a plurality of entries, and storing the data in a data block corresponding to the entry; and When the host computer is started before the other host computer, exclusive access control of the other host computer to the hash table of the other host computer is performed, and the number of all data blocks of the shared memory file is obtained. And the hash comprising at least as many entries as the number of data blocks. And creates correspondence information between each entry of the hash table and each data block of the shared memory file in a control file shared by the plurality of host computers. The exclusive control of access to the hash table having the same is released, and when the own host computer is started after the other host computer, the other host computer accesses the hash table of the other host computer. Exclusively controls access, reads the correspondence information from the control file, creates the hash table in the host computer based on the correspondence information, and sends the hash table to the hash table of the other host computer by another host computer. Table creation step to release exclusive access control Characterized in that it comprises and.

【0011】本発明の第2のホスト間共用メモリファイ
ル動的追加方法は、第1のホスト間共用メモリファイル
動的追加方法において、前記複数のホスト計算機のそれ
ぞれが、前記共用メモリファイルを追加する共用ファイ
ル追加ステップと、前記複数のホスト計算機のそれぞれ
が、他のホスト計算機による該他のホスト計算機が有す
る前記ハッシュテーブルへのアクセスを排他制御し、既
存の前記共用メモリファイルの特定のデータブロックに
対応する前記ハッシュテーブルの複数のエントリのいず
れかを、前記共用ファイル追加ステップにおいて追加さ
れた前記共用メモリファイルの複数のデータブロックの
いずれかに対応付け、前記ハッシュテーブル内の対応付
けられたエントリが該特定のデータブロックのデータの
識別子をハッシングした結果に対応する場合には、追加
された前記共用メモリファイル内の対応付けられたデー
タブロックに該特定のデータブロックのデータを移送
し、前記制御ファイルに格納されている前記対応情報を
更新し、他のホスト計算機による該他のホスト計算機が
有する前記ハッシュテーブルへのアクセスの排他制御を
解除するハッシュテーブル更新ステップとを含むことを
特徴とする。
In a second method for dynamically adding a shared memory file between hosts according to the present invention, in the first method for dynamically adding a shared memory file between hosts, each of the plurality of host computers adds the shared memory file. A shared file addition step, and each of the plurality of host computers exclusively controls access to the hash table of the other host computer by another host computer, and to a specific data block of the existing shared memory file. A corresponding one of the plurality of entries of the hash table is associated with one of the plurality of data blocks of the shared memory file added in the shared file adding step, and the associated entry in the hash table is Hash the data identifier of the specific data block. Transfer the data of the specific data block to the associated data block in the added shared memory file, and update the corresponding information stored in the control file. A hash table updating step of releasing exclusive control of access to the hash table of the other host computer by the other host computer.

【0012】本発明の第3のホスト間共用メモリファイ
ル動的追加方法は、第2のホスト間共用メモリファイル
動的追加方法において、前記ハッシュテーブル更新ステ
ップが、さらに、他のホスト計算機により前記制御ファ
イルに格納されている前記対応情報が更新された場合に
は、該更新された対応情報に基づいて自ホスト計算機シ
ステムの前記ハッシュテーブルを更新することを特徴と
する。
In a third method for dynamically adding a shared memory file between hosts according to the present invention, in the second method for dynamically adding a shared memory file between hosts, the step of updating the hash table is further performed by another host computer. When the correspondence information stored in the file is updated, the hash table of the host computer system is updated based on the updated correspondence information.

【0013】本発明の第1の記録媒体は、複数のホスト
計算機のそれぞれに、該複数のホスト計算機で共用する
共用メモリファイルを構成する同一サイズの複数のデー
タブロックのそれぞれにデータを格納する際には、該デ
ータの識別子をハッシングして前記複数のデータブロッ
クのいずれかに対応する複数のエントリから構成される
ハッシュテーブル中の対応するエントリを決定し、該エ
ントリに対応するデータブロックに該データを格納する
データ格納処理と、自ホスト計算機が他のホスト計算機
よりも先に起動された場合には、他のホスト計算機によ
る該他のホスト計算機が有する前記ハッシュテーブルへ
のアクセスを排他制御し、前記共用メモリファイルのす
べてのデータブロック数を取得し、少なくとも該データ
ブロック数以上のエントリから構成される前記ハッシュ
テーブルを作成し、該ハッシュテーブルの各エントリと
前記共用メモリファイルの各データブロックとの対応情
報を前記複数のホスト計算機で共用する制御ファイルへ
格納し、他のホスト計算機による該他のホスト計算機が
有する前記ハッシュテーブルへのアクセスの排他制御を
解除するとともに、自ホスト計算機が他のホスト計算機
よりも後に起動された場合には、他のホスト計算機によ
る該他のホスト計算機が有する前記ハッシュテーブルへ
のアクセスを排他制御し、前記制御ファイルから前記対
応情報を読み出し、該対応情報に基づいて自ホスト計算
機内に前記ハッシュテーブルを作成し、他のホスト計算
機による該他のホスト計算機が有する前記ハッシュテー
ブルへのアクセスの排他制御を解除するハッシュテーブ
ル作成処理とを行わせるプログラムを記録したことを特
徴とする。
In the first recording medium of the present invention, when data is stored in each of a plurality of host computers, each of a plurality of data blocks of the same size constituting a shared memory file shared by the plurality of host computers. Hashing the identifier of the data to determine a corresponding entry in a hash table composed of a plurality of entries corresponding to any of the plurality of data blocks, and storing the data in the data block corresponding to the entry. When the host computer is started earlier than the other host computer, exclusive control of access to the hash table of the other host computer by the other host computer is performed, Obtain the number of all data blocks of the shared memory file, at least the number of data blocks or more Creating the hash table composed of entries, and storing correspondence information between each entry of the hash table and each data block of the shared memory file in a control file shared by the plurality of host computers; Release exclusive control of access to the hash table held by the other host computer, and if the own host computer is started after the other host computer, the other host computer Exclusive control of access to the hash table owned by the host computer, reads the correspondence information from the control file, creates the hash table in its own host computer based on the correspondence information, and executes the other host by another host computer. Release exclusive control of access to the hash table held by the computer And characterized by recording a program for causing a hash table creation processing and that.

【0014】本発明の第2の記録媒体は、第1の記録媒
体に記録されたプログラムに加え、前記複数のホスト計
算機のそれぞれに、前記共用メモリファイルを追加する
共用ファイル追加処理と、他のホスト計算機による該他
のホスト計算機が有する前記ハッシュテーブルへのアク
セスを排他制御し、既存の前記共用メモリファイルの特
定のデータブロックに対応する前記ハッシュテーブルの
複数のエントリのいずれかを、前記共用ファイル追加ス
テップにおいて追加された前記共用メモリファイルの複
数のデータブロックのいずれかに対応付け、前記ハッシ
ュテーブル内の対応付けられたエントリが該特定のデー
タブロックのデータの識別子をハッシングした結果に対
応する場合には、追加された前記共用メモリファイル内
の対応付けられたデータブロックに該特定のデータブロ
ックのデータを移送し、前記制御ファイルに格納されて
いる前記対応情報を更新し、他のホスト計算機による該
他のホスト計算機が有する前記ハッシュテーブルへのア
クセスの排他制御を解除するハッシュテーブル更新処理
とを行わせるプログラムを記録したことを特徴とする。
According to a second recording medium of the present invention, in addition to the program recorded on the first recording medium, a shared file adding process for adding the shared memory file to each of the plurality of host computers, The exclusive control of access to the hash table of the other host computer by the host computer, and any one of the plurality of entries of the hash table corresponding to a specific data block of the existing shared memory file is stored in the shared file. In the case where the entry is associated with any of the plurality of data blocks of the shared memory file added in the adding step, and the associated entry in the hash table corresponds to a result of hashing the data identifier of the specific data block. In the shared memory file added Data of the specific data block is transferred to the data block, the correspondence information stored in the control file is updated, and exclusive control of access to the hash table of the other host computer by another host computer is performed. A program for performing a hash table updating process to be canceled is recorded.

【0015】本発明の第3の記録媒体は、第2の記録媒
体に記録されたプログラムに加え、前記ハッシュテーブ
ル更新処理に、他のホスト計算機により前記制御ファイ
ルに格納されている前記対応情報が更新された場合に
は、該更新された対応情報に基づいて自ホスト計算機シ
ステムの前記ハッシュテーブルを更新する処理を追加し
たプログラムを記録したことを特徴とする。
According to a third recording medium of the present invention, in addition to the program recorded on the second recording medium, the correspondence information stored in the control file by another host computer is used in the hash table update processing. In the case where the hash table has been updated, a program added with a process of updating the hash table of the host computer system based on the updated correspondence information is recorded.

【0016】[0016]

【発明の実施の形態】次に本発明の実施の形態につい
て、図面を参照して詳細に説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0017】図1を参照すると、本発明の第1の実施の
形態は、拡張メモリ100と、プログラム制御により動
作し、該拡張メモリ100を共用してアクセスするホス
ト1(101)および2(102)と、ホスト1および
2間の排他制御を可能とするホスト間ロック手段103
とから構成される。
Referring to FIG. 1, in a first embodiment of the present invention, an extended memory 100 and hosts 1 (101) and 2 (102) operating under program control and accessing the extended memory 100 in a shared manner. ) And an inter-host lock unit 103 that enables exclusive control between the hosts 1 and 2
It is composed of

【0018】また、拡張メモリ100は、共用メモリフ
ァイル104と、追加される共用メモリファイル110
と、制御ファイル109とを含んでいる。また、ホスト
1および2は、拡張メモリファイルアクセス手段10
7、ハッシュテーブル106、アクセス手段105、ハ
ッシュテーブル更新手段108、アプリケーションプロ
グラム112を含み、さらに、ホスト1には、共用ファ
イル追加手段111を含んでいる。
The extended memory 100 includes a shared memory file 104 and a shared memory file 110 to be added.
And a control file 109. In addition, the hosts 1 and 2 communicate with the extended memory file access unit 10.
7, a hash table 106, an access unit 105, a hash table updating unit 108, and an application program 112. The host 1 further includes a shared file adding unit 111.

【0019】拡張メモリ100は、ホスト1および2か
ら共用される、自由に読み書き可能な外部記憶装置であ
る。
The extended memory 100 is a freely readable and writable external storage device shared by the hosts 1 and 2.

【0020】本実施の形態では、ホストが2台の例を用
いて説明するが、2台以上の構成を採用することもでき
る。また、本実施の形態では、共用ファイル追加手段1
11は、ホスト1にのみ存在しているが、これは、共用
ファイル追加手段111の実行ホストを特定するもので
はない。
In the present embodiment, a description will be given using an example in which there are two hosts, but a configuration having two or more hosts may be employed. In the present embodiment, the shared file adding unit 1
Although 11 exists only in the host 1, this does not specify the execution host of the shared file adding unit 111.

【0021】ホスト間ロック手段103は、ホスト1お
よび2間の排他動作を制御する装置であるが、複数のホ
ストからのロック要求を拡張メモリ100を用いてソフ
トウェアとしてプログラム制御しても良い。
The inter-host lock means 103 is a device for controlling an exclusive operation between the hosts 1 and 2. However, the lock requests from a plurality of hosts may be program-controlled as software using the extended memory 100.

【0022】共用メモリファイル104は、ホスト1お
よび2間で共用されるデータを格納する拡張メモリ10
0上のファイルであり、同一サイズの複数のデータブロ
ックを含む。
The shared memory file 104 stores the data shared between the hosts 1 and 2
0 and contains a plurality of data blocks of the same size.

【0023】共用メモリファイル(追加分)110は、
ホスト1および2間で共用されるデータを格納する拡張
メモリ100上のファイルであり、共用メモリファイル
104の後続に追加されるものである。
The shared memory file (additional portion) 110 is
This is a file on the extended memory 100 for storing data shared between the hosts 1 and 2, and is added after the shared memory file 104.

【0024】制御ファイル109は、共用メモリファイ
ルとハッシュテーブルの関係を保持する領域であり、最
初に起動したホストの共用メモリファイルアクセス手段
107によって、設定される。また、共用ファイル追加
手段111によって、共用メモリファイル110が追加
される際に、ハッシュテーブル更新手段108によって
更新される。
The control file 109 is an area for holding the relationship between the shared memory file and the hash table, and is set by the shared memory file access unit 107 of the host that has started first. Also, when the shared memory file 110 is added by the shared file adding unit 111, it is updated by the hash table updating unit 108.

【0025】アクセス手段105は、拡張メモリ100
へのデータの読み書きを行うドライバである。
The access means 105 is an extension memory 100
It is a driver that reads and writes data from and to the device.

【0026】ハッシュテーブル106は、共用メモリフ
ァイル104上に登録するデータの識別子と該共用メモ
リファイル104上の該データ(データブロック)の位
置との対応表である。アプリケーションプログラム11
2から渡されるデータの識別子をハッシングし、ハッシ
ュテーブルの総エントリ数にマッピングした際のエント
リに該データ(データブロック)の位置、すなわちデー
タブロックアドレスが格納される。図2は、ハッシュテ
ーブルと共用メモリファイルの関係を示す。
The hash table 106 is a correspondence table between identifiers of data registered on the shared memory file 104 and positions of the data (data blocks) on the shared memory file 104. Application program 11
The position of the data (data block), that is, the data block address, is stored in the entry when hashing the identifier of the data passed from 2 and mapping it to the total number of entries in the hash table. FIG. 2 shows the relationship between the hash table and the shared memory file.

【0027】共用メモリファイルアクセス手段107
は、アプリケーションプログラム112からの要求に基
づき、共用メモリファイル104および追加後の共用メ
モリファイル110上のデータをハッシュテーブル10
6を参照してアクセスする。また、ホスト起動時、他の
ホストがまだ起動していない場合(他ホストが起動して
いるかどうかの確認は、マルチホストで構成されるコン
ピュータシステムの公知の機能による)には、拡張メモ
リ100上に存在するすべての共用メモリファイルのデ
ータブロック数を取得し、その値に基づき、ハッシュテ
ーブル106を作成し、その情報を制御ファイル109
に格納する。他のホストがすでに起動していた場合は、
制御ファイル109から情報を読み出し、これに基づ
き、ハッシュテーブル106を作成する。
Shared memory file access means 107
, Based on a request from the application program 112, stores the data in the shared memory file 104 and the data in the added shared memory file 110 in the hash table 10
6 and access. When the host is started, if another host has not been started yet (confirmation of whether or not the other host is started is performed by a well-known function of a computer system composed of multiple hosts), The number of data blocks of all the shared memory files existing in the control file 109 is obtained, the hash table 106 is created based on the value, and the information is stored in the control file 109.
To be stored. If another host was already running,
The information is read from the control file 109, and the hash table 106 is created based on the information.

【0028】アプリケーションプログラム112は、ホ
スト間で共用するデータをアクセスするユーザプログラ
ムである。
The application program 112 is a user program for accessing data shared between hosts.

【0029】共用ファイル追加手段111は、ホスト間
で共用する共用メモリファイル104に対して、新たに
共用メモリファイル(追加分)110を、ハッシュ幅
(ハッシュテーブル106のエントリ数)を変更するこ
となく、ハッシュテーブル106のエントリ内のデータ
ブロックアドレスを更新することにより、動的に共用メ
モリファイルのデータ空間を拡大する。
The shared file adding means 111 adds a new shared memory file (additional portion) 110 to the shared memory file 104 shared by the hosts without changing the hash width (the number of entries in the hash table 106). By dynamically updating the data block address in the entry of the hash table 106, the data space of the shared memory file is dynamically expanded.

【0030】図2は、ハッシュテーブル106、共用メ
モリファイル104、および共用メモリファイル(追加
分)110の関係を示す。ハッシュテーブル106は、
データブロックアドレス201〜208を格納した複数
のエントリから構成されている。エントリの数は、共用
メモリ空間の諸元となるため、例えば拡張メモリの最大
容量をデータブロック長で除算した値のような、理論上
の限度値とする。
FIG. 2 shows the relationship between the hash table 106, the shared memory file 104, and the shared memory file (additional) 110. The hash table 106 is
It is composed of a plurality of entries storing data block addresses 201 to 208. The number of entries is a theoretical limit, such as a value obtained by dividing the maximum capacity of the extended memory by the data block length, because the number of entries is a specification of the shared memory space.

【0031】データブロックアドレス201〜208に
は、起動時に認識された共用メモリファイルのデータブ
ロックのアドレスが順次に格納される。図2の例では、
データブロック数が4であり、ハッシュテーブルエント
リ数が8であるので、図中の矢印のような対応付け(デ
ータブロックアドレス1(201)と、データブロック
アドレス5(205)がともにデータブロック1(21
1)へのポインタを格納し、データブロックアドレス2
(202)とデータブロックアドレス6(206)がデ
ータブロック2へのポインタを格納するというように)
がなされる。
In the data block addresses 201 to 208, the addresses of the data blocks of the shared memory file recognized at the time of startup are sequentially stored. In the example of FIG.
Since the number of data blocks is 4 and the number of hash table entries is 8, the association as shown by the arrow in the figure (data block address 1 (201) and data block address 5 (205) are both data block 1 (205) 21
1) store a pointer to the data block address 2
(202) and data block address 6 (206) store a pointer to data block 2).
Is made.

【0032】共用メモリファイル(追加分)110が追
加されると、ハッシュテーブル更新手段108によっ
て、データブロックアドレス5および6(205、20
6)は追加された共用メモリファイル上のデータブロッ
ク5および6(215、216)を指すように変更され
る。この操作によって、ハッシュ幅(ハッシュエントリ
数)を変更することなく、利用可能なデータブロック
数、すなわち共用メモリファイルのデータ空間を拡大す
ることができる。なお、データブロックは、通常複数の
データ領域によって構成される。また、アプリケーショ
ンプログラムとデータブロックとの対応は、データを共
用するアプリケーションプログラム間で共通の任意のデ
ータ識別子をハッシングし、ハッシュ幅にマッピングす
ることで行われる。
When the shared memory file (additional portion) 110 is added, the hash table updating means 108 causes the data block addresses 5 and 6 (205, 20).
6) is modified to point to data blocks 5 and 6 (215, 216) on the added shared memory file. By this operation, the number of available data blocks, that is, the data space of the shared memory file can be expanded without changing the hash width (the number of hash entries). It should be noted that a data block is usually composed of a plurality of data areas. The correspondence between an application program and a data block is performed by hashing an arbitrary data identifier common to application programs sharing data and mapping the identifier to a hash width.

【0033】次に、本発明の第1の実施の形態の動作に
ついて、図1〜図3を参照して詳細に説明する。
Next, the operation of the first embodiment of the present invention will be described in detail with reference to FIGS.

【0034】まず、共用メモリファイルアクセス手段1
07による、最初のホストの起動時の初期化処理を説明
する。
First, shared memory file access means 1
The initialization process at the time of starting up the first host by using the command 07 will be described.

【0035】まず、ホスト間ロック手段103によりハ
ッシュテーブル106に対するホスト間ロックを取得す
る(ステップ301)。次に、拡張メモリ100上のす
べての共用メモリファイル104について、データブロ
ックの総数を取得する(ステップ302)。さらに、デ
ータブロック数の諸元分のエントリ数を持つハッシュテ
ーブル106を作成する。作成されたハッシュテーブル
106上のすべてのデータブロックアドレスは、拡張メ
モリ100上に存在する共用メモリファイル104上の
データブロックを均等に指すように設定する(ステップ
303)。次に、作成されたハッシュテーブル106の
情報、具体的には、ハッシュエントリ数とデータブロッ
ク数とを拡張メモリ100上の制御ファイル109に格
納する(ステップ304)。最後に、ハッシュテーブル
106に対するホスト間ロックを解除し(ステップ30
5)、初期化処理を完了する。
First, an inter-host lock on the hash table 106 is acquired by the inter-host lock means 103 (step 301). Next, the total number of data blocks is obtained for all the shared memory files 104 on the extended memory 100 (step 302). Further, the hash table 106 having the number of entries corresponding to the number of data blocks is created. All data block addresses on the created hash table 106 are set so as to equally point to data blocks on the shared memory file 104 existing on the extended memory 100 (step 303). Next, information of the created hash table 106, specifically, the number of hash entries and the number of data blocks are stored in the control file 109 on the extended memory 100 (step 304). Finally, the inter-host lock on the hash table 106 is released (step 30).
5), the initialization process is completed.

【0036】2番目以降に起動されるホストは、初期化
処理のフローチャート上、ステップ302の処理の代わ
りに、制御ファイル109からすべての共用メモリファ
イル104のデータブロック数とハッシュテーブルエン
トリ数とを読み出し、これに従ってハッシュテーブル1
06を作成する処理を行う。この後、ステップ304の
処理はスキップし、ステップ305の処理を行う。
The host started secondly reads the number of data blocks and the number of hash table entries of all the shared memory files 104 from the control file 109 instead of the processing of step 302 in the flowchart of the initialization processing. And hash table 1 accordingly
06 is performed. Thereafter, the process of step 304 is skipped, and the process of step 305 is performed.

【0037】次に、共用メモリファイル110を追加す
る処理を説明する。
Next, processing for adding the shared memory file 110 will be described.

【0038】まず、共用ファイル追加手段111は、O
Sやアプリケーションプログラム等からの共用メモリフ
ァイル110の追加要求に応じて、共用メモリファイル
(追加分)110を拡張メモリ100上にアロケートす
る。次に、共用ファイル追加手段111は、ハッシュテ
ーブル更新手段108に対して、新たに作成した共用メ
モリファイル(追加分)110のハッシュテーブル10
6への登録を要求する。図3のフローチャートは、以降
の処理を示す。
First, the shared file adding means 111
The shared memory file (additional portion) 110 is allocated on the extended memory 100 in response to a request to add the shared memory file 110 from S or an application program. Next, the shared file adding unit 111 instructs the hash table updating unit 108 to output the hash table 10 of the newly created shared memory file (added) 110.
Request registration to 6. The flowchart of FIG. 3 shows the subsequent processing.

【0039】ハッシュテーブル更新手段108は、ハッ
シュテーブル106に対するホスト間ロックを、共用メ
モリファイルアクセス手段107に要求する(ステップ
311)。ロックが取得できたら、共用メモリファイル
(追加分)110内のデータブロック数をチェックし、
ハッシュテーブル106上のデータブロックアドレスの
内、同一のデータブロックを指示しているものの一方
を、新たに追加されるデータブロックを指すように変更
する(ステップ312)。次に、変更したデータブロッ
クアドレスが変更前に指していたデータブロック上のデ
ータの識別子を再度ハッシングし、得られた値に対応す
るハッシュテーブル106のエントリに格納されている
データブロックアドレスが指すデータブロックに該デー
タを格納する(ステップ313)。結果として、この格
納先はもとのデータブロックか、新たに設定されたデー
タブロックアドレスの指す追加されたデータブロックの
いずれかになる。次に、制御ファイル109に追加デー
タブロックの情報を格納する(ステップ314)。最後
に、ハッシュテーブル106に対するホスト間ロックを
解除する(この解除動作にともない、他のホストにロッ
クの解除が通知される)(ステップ315)。
The hash table updating unit 108 requests the shared memory file access unit 107 to lock the host with respect to the hash table 106 (step 311). Once the lock has been obtained, check the number of data blocks in the shared memory file (additional) 110,
One of the data block addresses on the hash table 106 indicating the same data block is changed to point to the newly added data block (step 312). Next, the identifier of the data on the data block to which the changed data block address points before the change is hashed again, and the data indicated by the data block address stored in the entry of the hash table 106 corresponding to the obtained value The data is stored in the block (step 313). As a result, the storage destination is either the original data block or the added data block indicated by the newly set data block address. Next, information on the additional data block is stored in the control file 109 (step 314). Finally, the inter-host lock on the hash table 106 is released (this release operation notifies other hosts of the release of the lock) (step 315).

【0040】ステップ315におけるロック解除の通知
を受信する、他のホスト(共用ファイル追加手段111
を実行していないホスト)は、制御ファイル109の情
報に従ってハッシュテーブル106を更新することによ
り、共用メモリファイルに対するホスト間の整合性を保
つ。なお、この処理においてデータの移送は一切発生し
ない。
The other host (shared file adding means 111) receiving the lock release notification in step 315
The host that does not execute the command maintains the consistency between the hosts for the shared memory file by updating the hash table 106 according to the information in the control file 109. Note that no data transfer occurs in this process.

【実施例】次に、本発明の一実施例について、図面を参
照して詳細に説明する。
Next, an embodiment of the present invention will be described in detail with reference to the drawings.

【0041】図4を参照すると、本発明の実施例は、図
1と同様な、拡張メモリ100、ホスト1(101)お
よび2(102)、ホスト間ロック手段103に加え
て、DB413を保持する外部記憶装置から構成され、
拡張メモリ100上には、共用メモリファイル104に
対応する共用バッファ404、追加分の共用バッファ4
10、および制御ファイル109を含み、ホスト1およ
び2上には、アクセス手段105、ハッシュテーブル1
06、ハッシュテーブル更新手段108、共用メモリフ
ァイルアクセス手段107、共用ファイル追加手段11
1に対応する共用バッファ追加手段411、アプリケー
ションプログラム112に対応するDB登録・詮索プロ
グラム412、およびDBアクセス手段414を含んで
いる。
Referring to FIG. 4, the embodiment of the present invention holds a DB 413 in addition to the extended memory 100, the hosts 1 (101) and 2 (102), and the inter-host locking means 103 as in FIG. Consists of an external storage device,
On the extended memory 100, a shared buffer 404 corresponding to the shared memory file 104, and an additional shared buffer 4
10 and a control file 109, on the hosts 1 and 2, access means 105, hash table 1
06, hash table updating means 108, shared memory file access means 107, shared file adding means 11
1 includes a shared buffer adding unit 411 corresponding to the application program 1, a DB registration / snooping program 412 corresponding to the application program 112, and a DB access unit 414.

【0042】次に、本発明の一実施例の動作について、
図4を参照して詳細に説明する。
Next, the operation of the embodiment of the present invention will be described.
This will be described in detail with reference to FIG.

【0043】DB登録・検索プログラム412は、ホス
ト間でDB413を共用利用している。DB413は、
磁気ディスクのような大容量の外部記憶装置上に構築さ
れている。
The DB registration / search program 412 uses the DB 413 in common between hosts. DB 413 is
It is built on a large-capacity external storage device such as a magnetic disk.

【0044】ホストコンピュータが1台の場合は、メモ
リをDBアクセスの際のバッファとして使用すること
で、実際のDB413へのアクセス回数を減らし、DB
アクセスの高速化を図ることができるが、DB413を
複数のホストコンピュータで共用する場合には、各ホス
トの固有のメモリをバッファとして使用しても、ホスト
間のデータの整合性をとるために、コミット処理におい
てバッファのパージが必要になるため、DBアクセス性
能が低下する。そこで、メモリについで高速なアクセス
が可能であり、複数のホストから共用して利用できる拡
張メモリ100上に、共用バッファ404を設定し、D
Bアクセスのためのバッファとして使用することによっ
て、コミット処理時のバッファパージが不要となり、D
Bアクセス性能の高速化が可能となる。
When the number of host computers is one, the number of accesses to the actual DB 413 is reduced by using the memory as a buffer at the time of accessing the DB.
Although access can be speeded up, when the DB 413 is shared by a plurality of host computers, even if a memory unique to each host is used as a buffer, data consistency between the hosts can be maintained. Since the buffer needs to be purged in the commit process, the DB access performance decreases. Therefore, the shared buffer 404 is set on the extended memory 100 which can be accessed at high speed after the memory and can be shared and used by a plurality of hosts.
By using it as a buffer for B access, buffer purging during commit processing becomes unnecessary, and D
B access performance can be speeded up.

【0045】しかし、この場合、共用バッファ404が
ホスト間で共用されているため、該共用バッファ404
を拡張する際には、ホスト間の同期が必要となり、さら
に、バッファ領域を管理する識別子とバッファ領域との
対応付けを維持する必要がある。この識別子とバッファ
領域との対応付けには、サーチを高速に行うためにハッ
シュを使用するのが一般的である。
However, in this case, since the shared buffer 404 is shared between the hosts, the shared buffer 404
When extending is required, it is necessary to synchronize the hosts, and further, it is necessary to maintain the association between the identifier for managing the buffer area and the buffer area. In order to associate the identifier with the buffer area, a hash is generally used in order to perform a search at high speed.

【0046】ところで、共用バッファ404を動的に拡
張するために、ハッシュ幅(ハッシュエントリ数)を変
更してしまうと、すでに確保済みのバッファと識別子の
対応付けが変わってしまうため、この対応付けを維持す
るために、バッファのデータを移送しなければならなく
なる。このデータの移送は、すべてのデータブロックに
属するデータ領域に対して行う必要があるため、膨大な
CPU資源を消費することになる。
If the hash width (the number of hash entries) is changed in order to dynamically expand the shared buffer 404, the correspondence between the already secured buffer and the identifier changes. In order to maintain the data, the data in the buffer must be transported. Since this data transfer needs to be performed for data areas belonging to all data blocks, enormous CPU resources are consumed.

【0047】そこで、本発明は、共用バッファ404を
動的に拡張する際に、ハッシュ幅の変更を不要とするた
め、予め共用バッファの諸元分のエントリを持つハッシ
ュテーブル106を作成しておき、動的拡張時に、ハッ
シュテーブル更新手段108によって、ハッシュテーブ
ル106のエントリに格納されているデータブロックア
ドレスの内、同一の共用バッファ404のデータブロッ
クを指すものの内の一つを、新たに追加された共用バッ
ファ410データブロックを指すように変更することに
より、移送の必要があるデータ領域を特定のデータブロ
ック内のデータ領域に限定し、移送にかかるコストを大
幅に削減することが可能とする。
Therefore, according to the present invention, when the shared buffer 404 is dynamically expanded, the hash table 106 having entries for the specifications of the shared buffer is created in advance so that the hash width does not need to be changed. During dynamic expansion, the hash table updating means 108 newly adds one of the data block addresses stored in the entry of the hash table 106 that indicates the data block of the same shared buffer 404. By changing the shared buffer 410 to point to the data block, the data area that needs to be transferred is limited to the data area in a specific data block, and the cost for the transfer can be significantly reduced.

【0048】以下に、共用バッファ404に対する共用
バッファ410の追加処理を説明する。
The process of adding the shared buffer 410 to the shared buffer 404 will be described below.

【0049】DBアクセスの性能改善等の目的により、
共用バッファの容量拡大が必要になった場合、任意の1
台のホストコンピュータにおいて、拡張する共用バッフ
ァの容量を指定して、共用バッファ追加手段411を起
動する。
For the purpose of improving the performance of DB access, etc.
If the capacity of the shared buffer needs to be increased,
In one of the host computers, the capacity of the shared buffer to be extended is designated, and the shared buffer adding means 411 is activated.

【0050】拡張する共用バッファの容量を指定された
共用バッファ追加手段411は、共用バッファ(追加
分)410を、アクセス手段105を使用して、拡張メ
モリ100上にアロケートする。次に、ハッシュテーブ
ル更新手段108を呼び出す。
The shared buffer adding unit 411, in which the capacity of the shared buffer to be extended is specified, allocates the shared buffer (additional portion) 410 on the extended memory 100 by using the access unit 105. Next, the hash table updating unit 108 is called.

【0051】共用バッファ追加手段411によって呼び
出されたハッシュテーブル更新手段108は、共用メモ
リファイルアクセス手段107を介してホスト間ロック
手段103から、ハッシュテーブル106のロックを取
得する。このロックは、すべてのホスト上のハッシュテ
ーブル106をロックする効果がある。つぎに、ハッシ
ュテーブル更新手段108は、共用バッファ(追加分)
410上のすべてのデータブロックに対して、ハッシュ
テーブル106の複数のエントリのデータブロックアド
レスの内、同一のデータブロックを指しているものの一
方を割り当てる。これにより、以降の新たなデータ領域
の確保は、共用バッファ(追加分)410に対して行わ
れることになる(ハッシュテーブル106に対するホス
ト間ロックが解除されるまでは、新たなデータ領域の確
保処理は動作しない)。次に、変更したデータブロック
アドレスが変更前に指していたデータブロック上のデー
タの識別子を再度ハッシングし、得られた値に対応する
ハッシュテーブル106のエントリに格納されているデ
ータブロックアドレスが指すデータブロックに該データ
を格納する。
The hash table updating means 108 called by the shared buffer adding means 411 acquires the lock of the hash table 106 from the inter-host locking means 103 via the shared memory file access means 107. This lock has the effect of locking the hash tables 106 on all hosts. Next, the hash table updating unit 108 sets a shared buffer (additional buffer).
One of the data block addresses of a plurality of entries of the hash table 106 that points to the same data block is assigned to all the data blocks on the 410. As a result, the subsequent securing of a new data area is performed for the shared buffer (additional) 410 (the securing process of the new data area until the inter-host lock on the hash table 106 is released). Does not work). Next, the identifier of the data on the data block to which the changed data block address points before the change is hashed again, and the data indicated by the data block address stored in the entry of the hash table 106 corresponding to the obtained value The data is stored in the block.

【0052】当然のことながら、再度ハッシングして求
めたデータブロックが現データブロックと同じ場合は、
データの移送は発生しない。つまり、移送が発生するの
は、再ハッシュの結果が、共用バッファ(追加分)41
0上のデータブロックを指していた場合に限られる。こ
の移送処理が完了することで、以前に格納されていたデ
ータに対するアクセスが可能となる(ハッシュテーブル
106に対するホスト間ロックが解除されるまでは、格
納済みのデータに対するアクセスは動作しない)。
Of course, if the data block obtained by hashing again is the same as the current data block,
No data transfer occurs. That is, the reason why the transfer occurs is that the result of the rehash is the shared buffer (additional) 41.
Only when pointing to a data block on 0. Completion of this transfer processing allows access to previously stored data (access to stored data does not operate until the inter-host lock on the hash table 106 is released).

【0053】次に、ハッシュテーブル更新手段108
は、更新されたハッシュテーブル106の情報をアクセ
ス手段105を利用して、制御ファイル109に書き込
み、ハッシュテーブル106に対するホスト間ロックの
アンロックを、共用メモリファイルアクセス手段107
に対して要求する。
Next, the hash table updating means 108
Writes the updated information of the hash table 106 into the control file 109 using the access unit 105, and unlocks the inter-host lock on the hash table 106 using the shared memory file access unit 107.
Request for

【0054】共用メモリファイルアクセス手段107
は、ホスト間ロック手段103に対してハッシュテーブ
ル106に対するアンロックを要求する。
Shared memory file access means 107
Requests the inter-host locking means 103 to unlock the hash table 106.

【0055】ホスト間ロック手段103は、共用メモリ
ファイルアクセス手段107からのハッシュテーブル1
06に対するアンロック要求を受け取ると、該ロックを
解除するとともに、他のすべてのホストに対して、該ロ
ックの解除を通知する。該通知を受信した各ホストは、
制御ファイル109の内容をチェックし、共用バッフア
の動的拡張が行われたと判断すると、自ホストのメモリ
上のハッシュテーブル106を、拡張後の状態に更新す
る。以上の動作により、全ホストから、共用バッファ4
04および共用バッファ(追加分)410が利用可能と
なる。
The inter-host lock means 103 is provided with the hash table 1 from the shared memory file access means 107.
When receiving the unlock request for 06, the lock is released and all other hosts are notified of the release of the lock. Each host receiving the notification,
The contents of the control file 109 are checked, and when it is determined that the shared buffer has been dynamically expanded, the hash table 106 on the memory of the host is updated to the state after expansion. By the above operation, the shared buffer 4
04 and the shared buffer (additional) 410 become available.

【0056】以上により第1の実施の形態の動作が完了
する。
Thus, the operation of the first embodiment is completed.

【0057】次に、本発明の第2の実施の形態について
図面を参照して詳細に説明する。
Next, a second embodiment of the present invention will be described in detail with reference to the drawings.

【0058】図1を参照すると、本発明の第2の実施の
形態は、第1の実施の形態に加えて、ホスト1(10
1)および2(102)とホスト間ロック手段103に
第1の実施の形態に係る処理を実行させるためのプログ
ラムを記録する磁気ディスク、半導体メモリ等の記録媒
体200を備える。
Referring to FIG. 1, the second embodiment of the present invention differs from the first embodiment in that the host 1 (10
1) and 2 (102) and a recording medium 200 such as a magnetic disk or a semiconductor memory for recording a program for causing the inter-host locking means 103 to execute the processing according to the first embodiment.

【0059】該プログラムは、記録媒体200からホス
ト1(101)および2(102)とホスト間ロック手
段103に読み込まれ、該ホスト1(101)および2
(102)とホスト間ロック手段103の動作を制御す
る。ホスト1(101)および2(102)は、該プロ
グラムの制御により、それぞれ第1の実施の形態におけ
るアクセス手段105、共用メモリファイルアクセス手
段107、ハッシュテーブル更新手段108、および共
用ファイル追加手段111と同一の処理を実行する。
The program is read from the recording medium 200 by the hosts 1 (101) and 2 (102) and the inter-host locking means 103, and is read by the hosts 1 (101) and 2 (102).
(102) and the operation of the inter-host lock means 103 are controlled. Under the control of the program, the hosts 1 (101) and 2 (102) respectively access the access unit 105, the shared memory file access unit 107, the hash table update unit 108, and the shared file addition unit 111 in the first embodiment. Perform the same processing.

【0060】以上により、第2の実施の形態の処理が完
了する。
Thus, the processing of the second embodiment is completed.

【0061】[0061]

【発明の効果】以上説明したように、本発明は、ホスト
の立ち上げ時に、予め共用メモリファイルの追加がある
ことを想定して、該共用メモリファイルのデータブロッ
クを特定するためのハッシュテーブルを大きく作成して
おき、共用メモリファイルの追加時に、追加されたデー
タブロックと該ハッシュテーブルとを、ハッシュ幅(ハ
ッシュエントリ数)を変更ぜずに対応づけることができ
るようにしたので、複数のホスト間で複数の共用メモリ
ファイルを効率良く共用することができる効果を有して
いる。また、複数のホスト間で共用する共用メモリファ
イルおよび追加分の共用メモリファイルを、同一サイズ
の複数のデータブロックに分割して管理するので、該共
用メモリファイルを含む記憶領域を、フラグメンテーシ
ョンを発生させることなく効率良く利用することができ
る効果を有している。
As described above, the present invention provides a hash table for specifying a data block of a shared memory file on the assumption that a shared memory file is added when the host is started up. When a large shared memory file is added, the added data block and the hash table can be associated with each other without changing the hash width (the number of hash entries). This has the effect that a plurality of shared memory files can be efficiently shared between them. Further, since the shared memory file shared by a plurality of hosts and the additional shared memory file are divided into a plurality of data blocks of the same size and managed, fragmentation occurs in the storage area including the shared memory file. It has the effect of being able to be used efficiently without using.

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

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

【図2】本発明の実施の形態におけるハッシュテーブル
106と共用メモリファイル104および共用メモリフ
ァイル(追加分)110との関係を示す図である。
FIG. 2 is a diagram showing a relationship between a hash table 106, a shared memory file 104, and a shared memory file (additional portion) 110 according to the embodiment of the present invention.

【図3】本発明の実施の形態の動作を示す流れ図であ
る。
FIG. 3 is a flowchart showing the operation of the embodiment of the present invention.

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

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

100 共用メモリ 101〜102 ホストコンピュータ1、2 103 ホスト間ロック手段 104 共用メモリファイル 105 アクセス手段 106 ハッシュテーブル 107 共用メモリファイルアクセス手段 108 ハッシュテーブル更新手段 109 制御ファイル 110 共用メモリファイル(追加分) 111 共用ファイル追加手段 201〜208 データブロックアドレス1〜8 211〜216 データブロック1〜8 404 共用バッファ 410 共用バッファ(追加分) 411 共用バッファ追加手段 412 DB登録・検索プログラム 413 DB 414 DBアクセス手段 REFERENCE SIGNS LIST 100 shared memory 101-102 host computer 1, 2 103 inter-host locking means 104 shared memory file 105 access means 106 hash table 107 shared memory file access means 108 hash table updating means 109 control file 110 shared memory file (additional) 111 shared File addition means 201 to 208 Data block addresses 1 to 8 211 to 216 Data blocks 1 to 8 404 Shared buffer 410 Shared buffer (additional) 411 Shared buffer addition means 412 DB registration / search program 413 DB 414 DB access means

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06F 15/177 682 G06F 15/177 672 G06F 12/00 535 ──────────────────────────────────────────────────続 き Continued on the front page (58) Fields surveyed (Int.Cl. 7 , DB name) G06F 15/177 682 G06F 15/177 672 G06F 12/00 535

Claims (9)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 同一サイズの複数のデータブロックから
構成される共用メモリファイルを含む外部記憶装置と、 前記複数のデータブロックのいずれかに対応する複数の
エントリから構成されるハッシュテーブルを有し、該複
数のデータブロックのそれぞれにデータを格納する際に
は、該データの識別子をハッシングして該ハッシュテー
ブル中の対応するエントリを決定し、該エントリに対応
するデータブロックに該データを格納する複数のホスト
計算機と、 前記複数のホスト計算機が有する前記ハッシュテーブル
へのアクセスを排他制御するホスト間ロック手段とを備
えたホスト間共用メモリファイル動的追加システムであ
って、 前記外部記憶装置は、さらに、 前記共用メモリファイルの各データブロックと前記ハッ
シュテーブルの各エントリとの対応情報を格納する制御
ファイルを含み、 前記複数のホスト計算機のそれぞれは、さらに、 自ホスト計算機が他のホスト計算機よりも先に起動され
た場合には、前記ホスト間ロック手段により他のホスト
計算機による該他のホスト計算機が有する前記ハッシュ
テーブルへのアクセスを排他制御し、前記共用メモリフ
ァイルのすべてのデータブロック数を取得し、少なくと
も該データブロック数以上のエントリから構成される前
記ハッシュテーブルを作成し、該ハッシュテーブルの各
エントリと前記共用メモリファイルの各データブロック
との対応情報を前記制御ファイルへ格納し、前記ホスト
間ロック手段により他のホスト計算機による該他のホス
ト計算機が有する前記ハッシュテーブルへのアクセスの
排他制御を解除するとともに、 自ホスト計算機が他のホスト計算機よりも後に起動され
た場合には、前記ホスト間ロック手段により他のホスト
計算機による該他のホスト計算機が有する前記ハッシュ
テーブルへのアクセスを排他制御し、前記制御ファイル
から前記対応情報を読み出し、該対応情報に基づいて自
ホスト計算機内に前記ハッシュテーブルを作成し、前記
ホスト間ロック手段により他のホスト計算機による該他
のホスト計算機が有する前記ハッシュテーブルへのアク
セスの排他制御を解除する共用メモリファイルアクセス
手段を含むことを特徴とするホスト間共用メモリファイ
ル動的追加システム。
An external storage device including a shared memory file composed of a plurality of data blocks of the same size, a hash table composed of a plurality of entries corresponding to any of the plurality of data blocks, When storing data in each of the plurality of data blocks, hashing the identifier of the data to determine a corresponding entry in the hash table, and storing the data in the data block corresponding to the entry. An inter-host shared memory file dynamic addition system comprising: a host computer; and an inter-host lock unit that exclusively controls access to the hash table of the plurality of host computers. , Each data block of the shared memory file and each entry of the hash table. Each of the plurality of host computers, when the own host computer is started earlier than the other host computers, the host computer locks the other host computer. Exclusive control of access to the hash table of the other host computer by the host computer, obtain the number of all data blocks of the shared memory file, and obtain at least the number of entries equal to or more than the number of data blocks. A table is created, correspondence information between each entry of the hash table and each data block of the shared memory file is stored in the control file, and the other host computer has another host computer by the inter-host locking means. Release exclusive control of access to the hash table and When the own host computer is started later than the other host computers, the inter-host locking means exclusively controls access to the hash table of the other host computer by the other host computer, and the control file And reads the correspondence information from the host computer, creates the hash table in the host computer based on the correspondence information, and uses the inter-host locking means to access the hash table of the other host computer by another host computer. A shared memory file dynamic addition system between hosts, comprising a shared memory file access means for releasing exclusive control.
【請求項2】 前記複数のホスト計算機のそれぞれは、
さらに、 前記外部記憶装置上に前記共用メモリファイルを追加す
る共用ファイル追加手段と、 前記共用ファイル追加手段により前記共用メモリファイ
ルが前記外部記憶装置上に追加された後に、前記ホスト
間ロック手段により他のホスト計算機による該他のホス
ト計算機が有する前記ハッシュテーブルへのアクセスを
排他制御し、既存の前記共用メモリファイルの特定のデ
ータブロックに対応する前記ハッシュテーブルの複数の
エントリのいずれかを追加された前記共用メモリファイ
ルの複数のデータブロックのいずれかに対応付け、前記
ハッシュテーブル内の対応付けられたエントリが該特定
のデータブロックのデータの識別子をハッシングした結
果に対応する場合には、追加された前記共用メモリファ
イル内の対応付けられたデータブロックに該特定のデー
タブロックのデータを移送し、前記制御ファイルに格納
されている前記対応情報を更新し、前記ホスト間ロック
手段により他のホスト計算機による該他のホスト計算機
が有する前記ハッシュテーブルへのアクセスの排他制御
を解除するハッシュテーブル更新手段とを含むことを特
徴とする請求項1記載のホスト間共用メモリファイル動
的追加システム。
2. Each of the plurality of host computers,
A shared file adding unit for adding the shared memory file on the external storage device; and a host file locking unit for adding the shared memory file to the external storage device after the shared memory file is added to the external storage device. Exclusive control of access to the hash table of the other host computer by the host computer, and any one of a plurality of entries of the hash table corresponding to a specific data block of the existing shared memory file is added. If the corresponding entry in the hash table corresponds to the result of hashing the identifier of the data of the specific data block, it is added to any one of the plurality of data blocks of the shared memory file. The associated data file in the shared memory file Transfer the data of the specific data block to the host, update the correspondence information stored in the control file, and use the inter-host locking means to store the hash table of the other host computer by another host computer. 2. A system according to claim 1, further comprising: a hash table updating unit for canceling exclusive control of access to the host.
【請求項3】 前記ハッシュテーブル更新手段は、さら
に、 他のホスト計算機により前記制御ファイルに格納されて
いる前記対応情報が更新された場合には、該更新された
対応情報に基づいて自ホスト計算機システムの前記ハッ
シュテーブルを更新することを特徴とする請求項2記載
のホスト間共用メモリファイル動的追加システム。
3. The hash table updating means, further comprising: when another host computer updates the correspondence information stored in the control file, based on the updated correspondence information. 3. The system according to claim 2, wherein the hash table of the system is updated.
【請求項4】 複数のホスト計算機のそれぞれが、該複
数のホスト計算機で共用する共用メモリファイルを構成
する同一サイズの複数のデータブロックのそれぞれにデ
ータを格納する際には、該データの識別子をハッシング
して前記複数のデータブロックのいずれかに対応する複
数のエントリから構成されるハッシュテーブル中の対応
するエントリを決定し、該エントリに対応するデータブ
ロックに該データを格納するデータ格納ステップと、 前記複数のホスト計算機のそれぞれが、自ホスト計算機
が他のホスト計算機よりも先に起動された場合には、他
のホスト計算機による該他のホスト計算機が有する前記
ハッシュテーブルへのアクセスを排他制御し、前記共用
メモリファイルのすべてのデータブロック数を取得し、
少なくとも該データブロック数以上のエントリから構成
される前記ハッシュテーブルを作成し、該ハッシュテー
ブルの各エントリと前記共用メモリファイルの各データ
ブロックとの対応情報を前記複数のホスト計算機で共用
する制御ファイルへ格納し、他のホスト計算機による該
他のホスト計算機が有する前記ハッシュテーブルへのア
クセスの排他制御を解除するとともに、 自ホスト計算機が他のホスト計算機よりも後に起動され
た場合には、他のホスト計算機による該他のホスト計算
機が有する前記ハッシュテーブルへのアクセスを排他制
御し、前記制御ファイルから前記対応情報を読み出し、
該対応情報に基づいて自ホスト計算機内に前記ハッシュ
テーブルを作成し、他のホスト計算機による該他のホス
ト計算機が有する前記ハッシュテーブルへのアクセスの
排他制御を解除するハッシュテーブル作成ステップとを
含むことを特徴とするホスト間共用メモリファイル動的
追加方法。
4. When each of a plurality of host computers stores data in each of a plurality of data blocks of the same size constituting a shared memory file shared by the plurality of host computers, an identifier of the data is used. A data storing step of performing hashing to determine a corresponding entry in a hash table composed of a plurality of entries corresponding to any of the plurality of data blocks, and storing the data in a data block corresponding to the entry; Each of the plurality of host computers, when the host computer is started before the other host computer, exclusively controls access to the hash table of the other host computer by the other host computer. Obtaining the number of all data blocks of the shared memory file,
The hash table including at least the number of entries of the data block is created, and correspondence information between each entry of the hash table and each data block of the shared memory file is transferred to a control file shared by the plurality of host computers. Storing and releasing exclusive control of access to the hash table of the other host computer by the other host computer, and when the own host computer is started after the other host computer, the other host computer Exclusively controlling access to the hash table of the other host computer by a computer, reading the correspondence information from the control file,
A hash table creating step of creating the hash table in the host computer based on the correspondence information, and releasing exclusive control of access to the hash table of the other host computer by another host computer. A method for dynamically adding a shared memory file between hosts.
【請求項5】 前記複数のホスト計算機のそれぞれが、
前記共用メモリファイルを追加する共用ファイル追加ス
テップと、 前記複数のホスト計算機のそれぞれが、他のホスト計算
機による該他のホスト計算機が有する前記ハッシュテー
ブルへのアクセスを排他制御し、既存の前記共用メモリ
ファイルの特定のデータブロックに対応する前記ハッシ
ュテーブルの複数のエントリのいずれかを、前記共用フ
ァイル追加ステップにおいて追加された前記共用メモリ
ファイルの複数のデータブロックのいずれかに対応付
け、前記ハッシュテーブル内の対応付けられたエントリ
が該特定のデータブロックのデータの識別子をハッシン
グした結果に対応する場合には、追加された前記共用メ
モリファイル内の対応付けられたデータブロックに該特
定のデータブロックのデータを移送し、前記制御ファイ
ルに格納されている前記対応情報を更新し、他のホスト
計算機による該他のホスト計算機が有する前記ハッシュ
テーブルへのアクセスの排他制御を解除するハッシュテ
ーブル更新ステップとを含むことを特徴とする請求項4
記載のホスト間共用メモリファイル動的追加方法。
5. Each of the plurality of host computers,
A shared file adding step of adding the shared memory file, wherein each of the plurality of host computers exclusively controls access to the hash table of the other host computer by another host computer, and the existing shared memory Associating any one of the plurality of entries of the hash table corresponding to a specific data block of a file with any one of the plurality of data blocks of the shared memory file added in the shared file adding step, and If the corresponding entry corresponds to the result of hashing the data identifier of the specific data block, the data of the specific data block is added to the associated data block in the added shared memory file. And store it in the control file A hash table updating step of updating the corresponding information that has been performed, and releasing exclusive control of access to the hash table of the other host computer by another host computer.
A method for dynamically adding a shared memory file between hosts as described in the above.
【請求項6】 前記ハッシュテーブル更新ステップが、
さらに、 他のホスト計算機により前記制御ファイルに格納されて
いる前記対応情報が更新された場合には、該更新された
対応情報に基づいて自ホスト計算機システムの前記ハッ
シュテーブルを更新することを特徴とする請求項5記載
のホスト間共用メモリファイル動的追加方法。
6. The hash table updating step,
Further, when the correspondence information stored in the control file is updated by another host computer, the hash table of the host computer system is updated based on the updated correspondence information. 6. The method for dynamically adding a shared memory file between hosts according to claim 5.
【請求項7】 複数のホスト計算機のそれぞれに、 該複数のホスト計算機で共用する共用メモリファイルを
構成する同一サイズの複数のデータブロックのそれぞれ
にデータを格納する際には、該データの識別子をハッシ
ングして前記複数のデータブロックのいずれかに対応す
る複数のエントリから構成されるハッシュテーブル中の
対応するエントリを決定し、該エントリに対応するデー
タブロックに該データを格納するデータ格納処理と、 自ホスト計算機が他のホスト計算機よりも先に起動され
た場合には、他のホスト計算機による該他のホスト計算
機が有する前記ハッシュテーブルへのアクセスを排他制
御し、前記共用メモリファイルのすべてのデータブロッ
ク数を取得し、少なくとも該データブロック数以上のエ
ントリから構成される前記ハッシュテーブルを作成し、
該ハッシュテーブルの各エントリと前記共用メモリファ
イルの各データブロックとの対応情報を前記複数のホス
ト計算機で共用する制御ファイルへ格納し、他のホスト
計算機による該他のホスト計算機が有する前記ハッシュ
テーブルへのアクセスの排他制御を解除するとともに、 自ホスト計算機が他のホスト計算機よりも後に起動され
た場合には、他のホスト計算機による該他のホスト計算
機が有する前記ハッシュテーブルへのアクセスを排他制
御し、前記制御ファイルから前記対応情報を読み出し、
該対応情報に基づいて自ホスト計算機内に前記ハッシュ
テーブルを作成し、他のホスト計算機による該他のホス
ト計算機が有する前記ハッシュテーブルへのアクセスの
排他制御を解除するハッシュテーブル作成処理とを行わ
せるプログラムを記録したことを特徴とする少なくとも
一つの記録媒体。
7. When storing data in each of a plurality of data blocks of the same size constituting a shared memory file shared by the plurality of host computers, an identifier of the data is stored in each of the plurality of host computers. Hashing to determine a corresponding entry in a hash table composed of a plurality of entries corresponding to any of the plurality of data blocks, and storing the data in a data block corresponding to the entry; When the own host computer is started before the other host computer, exclusive access control to the hash table of the other host computer by the other host computer is performed, and all data in the shared memory file are controlled. Before obtaining the number of blocks and before being composed of at least the number of entries of the data blocks or more Create a hash table,
Correspondence information between each entry of the hash table and each data block of the shared memory file is stored in a control file shared by the plurality of host computers, and stored in another host computer by the hash table of the other host computer. When the exclusive control of the access of the host computer is released and the own host computer is started after the other host computer, the exclusive control of the access to the hash table of the other host computer by the other host computer is performed. Reading the correspondence information from the control file,
A hash table creation process for creating the hash table in the host computer based on the correspondence information and canceling exclusive control of access to the hash table of the other host computer by the other host computer is performed. At least one recording medium on which a program is recorded.
【請求項8】 前記複数のホスト計算機のそれぞれに、 前記共用メモリファイルを追加する共用ファイル追加処
理と、 他のホスト計算機による該他のホスト計算機が有する前
記ハッシュテーブルへのアクセスを排他制御し、既存の
前記共用メモリファイルの特定のデータブロックに対応
する前記ハッシュテーブルの複数のエントリのいずれか
を、前記共用ファイル追加ステップにおいて追加された
前記共用メモリファイルの複数のデータブロックのいず
れかに対応付け、前記ハッシュテーブル内の対応付けら
れたエントリが該特定のデータブロックのデータの識別
子をハッシングした結果に対応する場合には、追加され
た前記共用メモリファイル内の対応付けられたデータブ
ロックに該特定のデータブロックのデータを移送し、前
記制御ファイルに格納されている前記対応情報を更新
し、他のホスト計算機による該他のホスト計算機が有す
る前記ハッシュテーブルへのアクセスの排他制御を解除
するハッシュテーブル更新処理とを行わせるプログラム
を記録したことを特徴とする請求項7記載の記録媒体。
8. A shared file addition process for adding the shared memory file to each of the plurality of host computers, and exclusively controlling access to the hash table of the other host computer by another host computer, Associating any one of the plurality of entries of the hash table corresponding to a specific data block of the existing shared memory file with any of the plurality of data blocks of the shared memory file added in the shared file adding step If the associated entry in the hash table corresponds to the result of hashing the identifier of the data of the specific data block, the specified entry is added to the associated data block in the added shared memory file. The data of the data block of the A program that updates the correspondence information stored in the hash table and performs a hash table update process for releasing exclusive control of access to the hash table of the other host computer by the other host computer. The recording medium according to claim 7, wherein:
【請求項9】 前記ハッシュテーブル更新処理が、さら
に、 他のホスト計算機により前記制御ファイルに格納されて
いる前記対応情報が更新された場合には、該更新された
対応情報に基づいて自ホスト計算機システムの前記ハッ
シュテーブルを更新することを特徴とする請求項8記載
の記録媒体。
9. The method according to claim 1, wherein the hash table updating process further includes updating the corresponding information stored in the control file by another host computer based on the updated corresponding information. 9. The recording medium according to claim 8, wherein the hash table of the system is updated.
JP9330145A 1996-12-26 1997-12-01 A system for dynamically adding a shared memory file between hosts, a method for dynamically adding a shared memory file between hosts, and a recording medium storing a program for dynamically adding a shared memory file between hosts Expired - Fee Related JP3050194B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9330145A JP3050194B2 (en) 1996-12-26 1997-12-01 A system for dynamically adding a shared memory file between hosts, a method for dynamically adding a shared memory file between hosts, and a recording medium storing a program for dynamically adding a shared memory file between hosts

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP8-348562 1996-12-26
JP34856296 1996-12-26
JP9330145A JP3050194B2 (en) 1996-12-26 1997-12-01 A system for dynamically adding a shared memory file between hosts, a method for dynamically adding a shared memory file between hosts, and a recording medium storing a program for dynamically adding a shared memory file between hosts

Publications (2)

Publication Number Publication Date
JPH10240696A JPH10240696A (en) 1998-09-11
JP3050194B2 true JP3050194B2 (en) 2000-06-12

Family

ID=26573427

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9330145A Expired - Fee Related JP3050194B2 (en) 1996-12-26 1997-12-01 A system for dynamically adding a shared memory file between hosts, a method for dynamically adding a shared memory file between hosts, and a recording medium storing a program for dynamically adding a shared memory file between hosts

Country Status (1)

Country Link
JP (1) JP3050194B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101192938B1 (en) 2007-09-14 2012-10-18 후지쯔 가부시끼가이샤 Information processing unit and method for controlling the same

Also Published As

Publication number Publication date
JPH10240696A (en) 1998-09-11

Similar Documents

Publication Publication Date Title
US6014730A (en) Dynamic adding system for memory files shared among hosts, dynamic adding method for memory files shared among hosts, and computer-readable medium recording dynamic adding program for memory files shared among hosts
CN106874383B (en) Decoupling distribution method of metadata of distributed file system
US10642794B2 (en) Computer storage deduplication
JP4012517B2 (en) Managing locks in a virtual machine environment
JP3704573B2 (en) Cluster system
JPH09311839A (en) Data sharing system
CN111240588B (en) Persistent memory object storage system
JP2781092B2 (en) Exclusive control method between systems
JPH07152641A (en) Program cache device
US20230088344A1 (en) Storage medium management method and apparatus, device, and computer-readable storage medium
JP3050194B2 (en) A system for dynamically adding a shared memory file between hosts, a method for dynamically adding a shared memory file between hosts, and a recording medium storing a program for dynamically adding a shared memory file between hosts
JPH07244642A (en) Parallel processing computers
US7185029B1 (en) Method and apparatus for maintaining, and updating in-memory copies of the first and second pointers to reference the new versions of the first and second control structures that indicate available and allocated portions of usable space in the data file
JP2924786B2 (en) Exclusive control system, exclusive control method, and medium for storing exclusive control program for shared file in loosely coupled multiple computer system
KR100507782B1 (en) Database management system and the method of controlling consistency of system table in DBMS
JP2704028B2 (en) File area management method
JP3754393B2 (en) Distributed file apparatus, process migration method thereof, and computer apparatus
US8234260B1 (en) Metadata management for scalable process location and migration
JPH0869403A (en) File management device
JP2641399B2 (en) File management device
JP3099429B2 (en) File data storage method in IPL processing
JP3857335B2 (en) Online transaction system and file management method applied to the system
JPH0337748A (en) External storage accessing system utilizing main storage
JPH03282966A (en) Method for managing hash entry area
JP3580361B2 (en) Data access method when migrating wide-bit address space data

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: 20000229

LAPS Cancellation because of no payment of annual fees