JPH047652A - Distributed data controller - Google Patents

Distributed data controller

Info

Publication number
JPH047652A
JPH047652A JP2109775A JP10977590A JPH047652A JP H047652 A JPH047652 A JP H047652A JP 2109775 A JP2109775 A JP 2109775A JP 10977590 A JP10977590 A JP 10977590A JP H047652 A JPH047652 A JP H047652A
Authority
JP
Japan
Prior art keywords
data
node
access
accessing
lru
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2109775A
Other languages
Japanese (ja)
Inventor
Mitsuru Tsubakii
椿井 充
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 JP2109775A priority Critical patent/JPH047652A/en
Publication of JPH047652A publication Critical patent/JPH047652A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To hold wasteful data communication to a minimum by holding data accessed from other node or a self node by providing priority predicting the prospects based on a past accessing trend. CONSTITUTION:A distributed data control system 1 consists of an access requirement analyzing means 11, a requirement staging means 12, an LRU data substitution means 13, an MRU data substitution means 14, an accessing history holding means 15, an accessing trend monitoring means 16, a substitution method justification means 17 and an accessing data returning means 18. When data obtained from the other node is fetched into its own node based on an accessing requirement where the application program 2 of its own node is issued on a computer network, an LRU data substitution method and an MRU data substitution method are appropriately used in accordance with adaptiveness as against a practical system. Thus, an optimum data substitution algorithm becomes approximation much more satisfactorily, and wasteful data communication can be held to a minimum.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、任意の粒度をもつデータ項目が一意に定まる
識別子を有し、該データ集合体がコンピュータネットワ
ーク上に複写分散して存在することが可能な分散データ
システムに利用する。特に、アプリケーションプログラ
ムからのデータアクセス要求に対して対応するデータが
自ノード内に存在すれば該データを、存在しなければ他
ノードから取得したデータを返却し、アクセスしたデー
タは、過去のアクセス傾向に基づいて将来性を予測する
優先度を設けて自ノード内に保持する分散データ制御装
置に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention provides a data item with arbitrary granularity having a unique identifier, and the data aggregate existing in copies and distributed over a computer network. It can be used for distributed data systems that allow for In particular, in response to a data access request from an application program, if the corresponding data exists in the own node, that data is returned, and if it does not exist, the data obtained from another node is returned, and the accessed data is based on past access trends. The present invention relates to a distributed data control device that maintains within its own node a priority that predicts future prospects based on.

〔概要〕〔overview〕

本発明は、データ集合体がコンピュータネットワーク上
に複写分散して存在する分散データシステムにおいて、 イ也ノードおよび自ノードからアクセスしたテ°−タを
過去のアクセス傾向に基づき将来性を予想する優先度を
設けて保持することにより、無駄なデータ通信を極小化
することができるようにしたものである。
In a distributed data system in which data aggregates exist in a distributed manner over a computer network, the present invention provides a priority system that predicts the future potential of data accessed from a node and its own node based on past access trends. By providing and maintaining the data, wasteful data communication can be minimized.

〔従来の技術〕[Conventional technology]

従来、この種の分散データ制御装置は、コンビエータネ
ットワークを介して自ノードに存在しないデータを他ノ
ードから取得する手段がアプリケーションプログラムに
とってネットワーク透過的に提供されることに限られて
いて、他ノードから取得したデータはアプリケーション
プログラムに渡された後にアプリケーションプログラム
独自の管理に委ねられていた。一方、他ノードからのデ
ータをキャッシュする仕掛けを有するシステムも存在す
るが、データの母集団全体をかえる方法か、または、必
要な単位に細分して管理する場合でも、自ノードの限ら
れた容量内での保持優先度は一義的に定められていて、
実装の容易性からアクセスした順に置換するFIFO置
換アルゴリズムやアクセスの古い(同一データに対して
は新しい方が有効)順に置換するLRU置換アルゴリズ
ムが単独で使用されていた。
Conventionally, this type of distributed data control device has been limited to providing an application program with a means to obtain data that does not exist on its own node from another node via a combinator network transparently over the network. After the data obtained from the application program was passed to the application program, it was left to the application program's own management. On the other hand, there are systems that have a mechanism to cache data from other nodes, but even if you change the entire data population or manage it by dividing it into necessary units, the limited capacity of the own node The retention priority within is uniquely determined,
For ease of implementation, a FIFO replacement algorithm that replaces data in the order of accesses and an LRU replacement algorithm that replaces data in the order of oldest accesses (newer is more effective for the same data) have been used alone.

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

このような従来の分散データ制御装置は、キャッシュ手
段が備わっていない場合に、アプリケーションプログラ
ムが独自にアクセスデータ管理を行わない限り自ノード
の分散データ管理システムは過去にアクセスしたデータ
を忘却しているので、アプリケーションプログラムが発
行するデータアクセス要求ごとにたとえ既にアクセスし
たデータに対しても他/−ドヘデータ取得要求を出して
データ通信を実行しなければならない欠点がある。
If such a conventional distributed data control device is not equipped with a cache means, the distributed data management system of its own node will forget the data accessed in the past unless the application program independently manages the access data. Therefore, for each data access request issued by an application program, a data acquisition request must be issued to another device to perform data communication even for data that has already been accessed.

また、キャッシュ手段が備わっている場合でも、該デー
タを含む母集団全体をかかえる方式では、自ノードのデ
ータ保持容量の制限を受けて充分に機能しないこともあ
るし、アクセスすることのない不要なデータを通信する
無駄が生じること、マスクデータの更新の反映について
もアクセスすることのない不要なデータに対して実行し
なければならないことなどの欠点がある。
Furthermore, even if a cache is provided, a method that stores the entire population containing the data may not function satisfactorily due to the limitations of the data storage capacity of its own node, and unnecessary data that will never be accessed may There are drawbacks such as the waste of data communication and the need to reflect updates to mask data on unnecessary data that will never be accessed.

次に、必要な粒度でデータ置換を行うキャッシングを実
現している場合に上述した問題点は解決されるが、FI
FO置換方式では、アプリケーションプログラムが有す
るデータアクセスの局所性(過去よく使ったものは未来
もよく使う、先程使ったものは次にも使うといった性質
)が充分に活かせていない。また、LRU置換方式では
、データアクセスの局所性を比較的よく反映しているも
のの一律に用いるには不適切であり、アプリケーション
プログラムの動作いかんにより予想が大幅にはずれてキ
ャッシュのヒツト率が悪くなることがありうる欠点があ
る。
Next, the above problems can be solved if caching is implemented that performs data replacement at the necessary granularity, but FI
The FO replacement method does not take full advantage of the locality of data access that application programs have (the property that what has been used often in the past will be used often in the future, and what was used earlier will also be used next time). In addition, although the LRU replacement method reflects the locality of data access relatively well, it is not suitable for uniform use, and the predictions can be greatly deviated due to the behavior of the application program, resulting in poor cache hit ratio. There are possible drawbacks.

本発明はこのような欠点を除去するもので、無駄なデー
タ通信を極小化することができる分散データ制御装置を
提供することを目的とする。
The present invention aims to eliminate such drawbacks and to provide a distributed data control device that can minimize wasteful data communication.

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

本発明は、分散データベースを有する複数のノードのそ
れぞれに含まれ、自ノードのアプリケーションプログラ
ムの要求データに対応する第一データが自ノードに存在
するときはこの第一データを取得し、自ノードに存在し
ないときは他ノードに要求して上記要求データに対応す
る第二データを取得する要求ステージング手段を備えた
分散データ制御装置において、上記第一データをアクセ
ス時系列に保持するアクセス履歴保持手段と、上記第二
データを上記第一データとして追加したデータ量が規定
容量を超えるときに上記アクセス時系列を参照してアク
セスが最古のデータを置換するLRUデータ置換手段と
、このLRUデータ置換手段での置換対象を最新のデー
タとするMRUデータ置換手段と、区間アクセス頻度を
記録するアクセス傾向監視手段と、この区間アクセス頻
度を基準値と比較した結果に応じてデータ置換手段の切
替えを実行する置換方法適性化手段とを備えたことを特
徴とする。
The present invention is included in each of a plurality of nodes having a distributed database, and when first data corresponding to request data of an application program of the own node exists in the own node, this first data is acquired and the data is sent to the own node. In a distributed data control device, the distributed data control device is equipped with a request staging means for requesting another node to obtain second data corresponding to the requested data when the data does not exist, and an access history holding means for holding the first data in access chronological order. , an LRU data replacement means that refers to the access time series and replaces the oldest accessed data when the amount of data added to the second data as the first data exceeds a specified capacity; and the LRU data replacement means an MRU data replacement means that replaces the latest data with the latest data; an access trend monitoring means that records the section access frequency; and a data replacement means that performs switching according to the result of comparing the section access frequency with a reference value. The present invention is characterized by comprising a replacement method optimization means.

〔作用〕[Effect]

コンビコータネットワーク上で自ノードのアプリケーシ
ョンプログラムが発行するアクセス要求に基づいて他ノ
ードから得たデータを自ノードに取り込む際に、自ノー
ドのデータ保持容量制限および更新情報反映効率化への
対処として置換すべきデータから不要データを選択する
ために、LRUデータ置換法およびMRUデータ置換法
をその実システムに対する適合性に応じて使い分けるこ
とにより、また、アプリケーションプログラムによるデ
ータ保持優先度指定を採用して補正する。
Replaced as a countermeasure to limit the data storage capacity of the own node and improve the efficiency of updating information reflection when importing data obtained from other nodes to the own node based on access requests issued by the application program of the own node on the Combi Coater network. In order to select unnecessary data from the required data, corrections are made by using the LRU data replacement method and MRU data replacement method depending on their suitability for the actual system, and by adopting data retention priority specification by the application program. .

これにより、最適データ置換アルゴリズムへのより良い
近似を実現する。
This provides a better approximation to the optimal data replacement algorithm.

〔実施例〕〔Example〕

以下、本発明の一実施例について図面を参照して説明す
る。
An embodiment of the present invention will be described below with reference to the drawings.

第1図は、この実施例の構成を示すブロック図である。FIG. 1 is a block diagram showing the configuration of this embodiment.

第2図は、分散データベースの構造図である。第3図は
、アクセス傾向監視手段および置換方法適正化手段の動
作を表すフローチャートである。
FIG. 2 is a structural diagram of a distributed database. FIG. 3 is a flowchart showing the operations of the access trend monitoring means and the replacement method optimization means.

まず、本実施例の構成を第1図および第2図に基づいて
説明する。この実施例は、分散データ管理システム1と
、アプリケーションプログラム2および分散データベー
スとで構成されている。分散データ管理システム1は、
アクセス要求解析手段11と、要求ステージング手段1
2と、LRUデータ置換手段13と、MRUデータ置換
手段14と、アクセス履歴保持手段15と、アクセス傾
向監視手段16と、置換方法適正化手段17と、アクセ
スデータ返却手段18とで構成される。アプリケーショ
ンプログラム2は、データアクセス要求手段21と、ア
クセスデータ受取手段22とで構成される。ここで、要
求ステージング手段12は、存在ノード判定手段121
 と、自ノードデータアクセス実行手段122と、他ノ
ードデータ取得要求受取手段123とから構成され、ア
クセス履歴保持手段15は、自動優先度設定手段151
と、指定優先度設定手段152とから構成される。また
、分散データベースは、アクセス時系列部と、インデク
ス部と、データ部とで構成され、データ部は、任意の粒
度のデータ項目(たとえば、フィールド、レコード、ブ
ロック、テーブル、ファイルなど)が順不同に並んでい
て、データ識別子(以下、キーという)により一意に定
まるデータの集合である。インデクス部は、キーと対応
するデータを指すポインタとの対の配列でできていて、
キーの値でソーティングされている。
First, the configuration of this embodiment will be explained based on FIGS. 1 and 2. This embodiment consists of a distributed data management system 1, an application program 2, and a distributed database. Distributed data management system 1 is
Access request analysis means 11 and request staging means 1
2, LRU data replacement means 13, MRU data replacement means 14, access history holding means 15, access trend monitoring means 16, replacement method optimization means 17, and access data return means 18. The application program 2 is composed of a data access requesting means 21 and an access data receiving means 22. Here, the request staging means 12 includes the existing node determining means 121
, own node data access execution means 122 , and other node data acquisition request receiving means 123 , and access history holding means 15 includes automatic priority setting means 151 .
and designated priority setting means 152. In addition, a distributed database consists of an access time series section, an index section, and a data section, and the data section contains data items of arbitrary granularity (for example, fields, records, blocks, tables, files, etc.) in random order. It is a set of data arranged in a row and uniquely determined by a data identifier (hereinafter referred to as a key). The index section is made up of an array of pairs of keys and pointers pointing to the corresponding data.
Sorted by key value.

アクセス時系列部は、対応するデータがアクセスの新し
い順(同一のデータに対しては新しい方を採る)になる
ようなキーの連鎖でできていて、特別な2つのポインタ
、最新ポインタと最古ポインタが設けられていて、前者
はキ一連鎖の最も新しいエントリを、後者は最も古いエ
ントリを指す。
The access time series part is made up of a chain of keys such that the corresponding data is in the order of the most recent access (for the same data, the most recent one is taken), and is made up of two special pointers, the newest pointer and the oldest pointer. Pointers are provided, the former pointing to the newest entry in the key chain and the latter pointing to the oldest entry.

また、n個のエントリ(データの個数をn個とする)の
内、連鎖の新しい方からn/2(端数は切上げ)番目ま
でのものに対応するデータのアクセス回数を数えるカウ
ンタとして前半アクセスカウンタC1を、残りに対する
ものとして後半アクセスカウンタC2を、自ノード内に
データが存在せずに他ノードに対してアクセスした回数
を数えるカウンタとして外部アクセスカウンタC3を、
すべてのアクセス回数を数えるカウンタとして総アクセ
スカウンタCOを備える。ただし、上記の分散データベ
ースは必ずしも二次記憶上に存在するものとも限らず、
必要に応じて主記憶にロードされるし、主記憶にのみ存
在することもある。
Also, among the n entries (the number of data is n), the first half access counter is used as a counter that counts the number of accesses to the data corresponding to the n/2th (rounded up) entries from the newest one in the chain. C1 is the second half access counter C2 for the rest, and external access counter C3 is the counter for counting the number of times other nodes are accessed without data existing in the own node.
A total access counter CO is provided as a counter for counting all access times. However, the above distributed database does not necessarily exist on secondary storage,
It is loaded into main memory as needed, and may exist only in main memory.

すなわち、この実施例は、分散データベースを有する複
数のノードのそれぞれに含まれ、自ノードのアプリケー
ションプログラムの要求データに対応する第一データが
自ノードに存在するときはこの第一データを取得し、自
ノードに存在しないときは他ノードに要求して上記要求
データに対応する第二データを取得する要求ステージン
グ手段12を備え、さらに、本発明の特徴とする手段と
して、上記第一データをアクセス時系列に保持するアク
セス履歴保持手段15と、上記第二データを上記第一デ
ータとして追加したデータ量が規定容量を超えるときに
上記アクセス時系列を参照してアクセスが最古のデータ
を置換するLRUデータ置換手段13と、このLRUデ
ータ置換手段13での置換対象を最新のデータとするM
RUデータ置換手段14と、区間アクセス頻度を記録す
るアクセス傾向監視手段16と、この区間アクセス頻度
を基準値と比較した結果に応じてデータ置換手段の切替
えを実行する置換方法適性化手段17とを備える。
That is, this embodiment is included in each of a plurality of nodes having a distributed database, and when first data corresponding to request data of an application program of the own node exists, this first data is acquired; The present invention further includes a request staging means 12 for requesting another node to obtain second data corresponding to the requested data when the data does not exist in the own node. an access history holding means 15 that holds the data in series; and an LRU that refers to the access time series and replaces the oldest accessed data when the amount of data added to the second data as the first data exceeds a specified capacity. A data replacement means 13 and an M for replacing the latest data in this LRU data replacement means 13.
RU data replacement means 14, access trend monitoring means 16 for recording the section access frequency, and replacement method optimization means 17 for switching the data replacement means according to the result of comparing the section access frequency with a reference value. Be prepared.

次に、この実施例の動作を第1図、第2図および第3図
に基づいて説明する。
Next, the operation of this embodiment will be explained based on FIGS. 1, 2, and 3.

最初にアプリケーションプログラム2から発行されるデ
ータアクセス要求に対してデータがいかにしてアプリケ
ーションプログラム2にわたされるしくみを説明し、次
に、自ノードでの保持データの置換方法適正化のしくみ
を説明する。
First, we will explain how data is passed to the application program 2 in response to a data access request issued by the application program 2, and then we will explain the mechanism for optimizing the replacement method of data held on the own node. .

アプリケーションプログラム2がデータアクセス要求手
段21によって分散データ管理システム1に対してキー
Xを介したデータアクセス要求を発行すると、アクセス
要求解析手段11は、受は取った要求を解析してキー情
報を要求ステージング手段12へ渡し、また、アクセス
データの自ノードでの保持優先度をアクセス履歴保持手
段15に渡す。
When the application program 2 issues a data access request via the key X to the distributed data management system 1 by the data access request means 21, the access request analysis means 11 analyzes the received request and requests key information. The access data is passed to the staging means 12, and the retention priority of the access data at its own node is passed to the access history holding means 15.

存在ノード判定手段121は、キー情報に基づいて自ノ
ードの分散データベース内のインデクスを使ってキー検
索を実行する。キーはソーティングされているので、−
船釣な二分検索方(バイナリサーチ)を用いて高速化を
図る。自ノード内に対応するデータが存在すれば自ノー
ドデータアクセス実行手段122に制御を渡し、さもな
ければ他ノードデータ取得要求受取手段123に制御を
渡す。自ノードデータアクセス実行手段122は、キー
検索で得られたポインタに基づきデータ部から対応する
データの読み取りを実行してアクセス履歴保持手段15
に制御を渡す。他ノードデータ取得要求受取手段123
は、あらかじめ定められた特定のノード(たとえば親コ
ンピユータ)か、または、複数の不特定のノードに対し
て(たとえばLANの同報)データ取得要求を出し、デ
ータを受は取る。
The existing node determining means 121 executes a key search using an index in the distributed database of its own node based on the key information. Since the keys are sorted, −
We aim to speed up the process by using a binary search method (binary search). If the corresponding data exists in the own node, control is passed to the own node data access execution means 122; otherwise, control is passed to the other node data acquisition request receiving means 123. The self-node data access execution means 122 executes reading of corresponding data from the data section based on the pointer obtained by the key search, and reads the corresponding data from the access history holding means 15.
Pass control to. Other node data acquisition request receiving means 123
sends a data acquisition request to a predetermined specific node (for example, a parent computer) or to a plurality of unspecified nodes (for example, LAN broadcast), and receives and receives the data.

受は取ったデータを自ノードの分散データベースに登録
する際に、データ保持容量に余裕があれば(インデクス
のエントリ数がnに満たない場合)データを書き込んで
対応するキーエントリを追加し、インデクス部全体をキ
ーの値でソーティングしておく。余裕がない場合(イン
デクスのエントリ数がn)には、LRUデータ置換運用
中ならば、LRUデータ置換手段13によって、アクセ
ス時系列内の最古ポインタが示すエントリと、インデク
ス部の対応するエントリと、データ部の対応するデータ
とを削除した後に上述した余裕のない場合の処理を施し
、制御をアクセス履歴保持手段15に移す。MRUデー
タ置換運用中の場合には、最新ポインタが示すエントリ
に対して同様に処置をする。アクセス履歴保持手段15
は、アクセスしたばかりのデータに関する情報をアクセ
ス時系列部に反映させるために、該当するキーエントリ
をアプリケーションプログラム2からの保持優先度指定
がなければ、自動優先度設定手段151によって最新ポ
インタが指す最先頭に挿入し直しくもともと存在してい
るエントリは入れ替え、そうでない場合は追加をチェー
ンの張り替えにより行う)、保持優先度指定があれば、
指定優先度設定手段152によってあらかじめ定められ
た対応する位置(たとえば、最古ポインタが指す最後尾
)に挿入する。
When registering the received data in the distributed database of its own node, if there is enough data storage capacity (if the number of entries in the index is less than n), it writes the data, adds the corresponding key entry, and updates the index. Sort the entire section by key value. If there is not enough room (the number of entries in the index is n), if LRU data replacement is in progress, the LRU data replacement means 13 replaces the entry indicated by the oldest pointer in the access time series with the corresponding entry in the index section. , and the corresponding data in the data section, the above-mentioned process for when there is no margin is performed, and control is transferred to the access history holding means 15. If the MRU data replacement operation is in progress, the entry indicated by the latest pointer is treated in the same way. Access history holding means 15
In order to reflect information about the data that has just been accessed in the access time series section, if there is no retention priority specification from the application program 2, the automatic priority setting means 151 selects the most recent pointer for the corresponding key entry. If the entry is re-inserted at the beginning, the originally existing entry is replaced, and if not, the addition is done by re-stretching the chain), if retention priority is specified,
It is inserted at a corresponding position (for example, the end pointed to by the oldest pointer) predetermined by the specified priority setting means 152.

以上の処理が終了すると、アクセスデータ返却手段18
によってデータがアプリケーションプログラム2のアク
セスデータ受取手段22に渡されてデータアクセス要求
処理が完結する。
When the above processing is completed, the access data return means 18
The data is passed to the access data receiving means 22 of the application program 2, and the data access request processing is completed.

次に、自ノードでの保持データの置換方法適正化のしく
みについて説明する。
Next, a mechanism for optimizing the replacement method of data held in the own node will be explained.

アクセス傾向監視手段16は、総アクセスカウンタCO
と、前半アクセスカウンタC1と、後半アクセスカウン
タC2と、外部アクセスカウンタC3とを有し、アクセ
ス履歴保持手段15内でそれぞれのカウントアツプを行
う。また、あらかじめ定められた運用上適正とみなせる
時間間隔てカウンタを0クリアし、置換方法適正化手段
17の判断材料である運用中のデータ置換方式の適合度
を知るためのアクセス頻度のベースとなる監視区間を刷
新する。置換方法適正化手段17は、LRUデータ置換
運用中にはアクセス時系列の新しいほうの半分が他方に
比べてヒツト率が高いか、すなわち、データアクセス傾
向がLRUデータ置換方式に適合しているか否かを前半
アクセスカウンタc1と後半アクセスカウンタC2との
比較により判断し、そうであるなら運用状況良好とみな
し、さもなければ不適合と判断してMRUデータ置換方
式に切り替える。MRUデータ置換運用中でも同様で、
不適合の場合にはLRUデータ置換方式に切り替える。
The access trend monitoring means 16 monitors the total access counter CO
, a first half access counter C1, a second half access counter C2, and an external access counter C3, each of which is counted up within the access history holding means 15. In addition, the counter is cleared to 0 at a predetermined time interval that can be considered appropriate for operation, and serves as the basis for the access frequency for knowing the suitability of the data replacement method in operation, which is the basis for judgment by the replacement method optimization means 17. Revamp the monitoring section. The replacement method optimization means 17 determines whether the newer half of the access time series has a higher hit rate than the other half during the LRU data replacement operation, that is, whether the data access trend is compatible with the LRU data replacement method. It is determined by comparing the first-half access counter c1 and the second-half access counter C2, and if so, the operational status is considered to be good, otherwise it is determined to be unsuitable and switched to the MRU data replacement method. The same applies during MRU data replacement operation.
In case of non-conformity, switch to LRU data replacement method.

また、これらの方策は、近い過去の状況は近い将来でも
継続するであろうとの推測に基づくものであるが、特殊
なアクセス傾向をもつアプリケーションプログラムに対
しては、個別に優先度を宣言することによりこの方策に
よる不都合な動作を補完する。
Furthermore, although these measures are based on the assumption that the situation in the near past will continue in the near future, it is important to declare priorities individually for application programs with special access tendencies. This compensates for the inconvenient behavior caused by this measure.

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

本発明は、以上説明したように、コンピュータネットワ
ーク上で自ノードのアプリケーションプログラムが発行
するアクセス要求に基づいて、データ所在場所の透過性
を保証する分散データ管理システムが他ノードがら得た
データを自ノードに取り込む際に、自ノードにおけるデ
ータ保持容量制限および更新情報反映効率化への対処と
して置換すべきデータから不要なデータを選定するため
に、近い将来のアクセス可能性を近い過去のアクセス傾
向から推定する方法として「さきほど使ったものはもう
すぐ使う」とするLRUデータ置換方式と、「さきほど
使ったものはとうぶん使わない」とするMRUデータ置
換方式とを実システム稼働中にそれぞれの方式適合性を
監視分析して使い分けることにより、さらに、アプリケ
ーションプログラムによる明示的なデータ保持優先度指
定を採用して補正することにより、未来のアクセスすべ
てを知ることができた場合の理想としての最適データ置
換アルゴリズムのよりよい近似となり、無駄なデータ通
信を極小化することができる効果がある。
As explained above, the present invention enables a distributed data management system that guarantees transparency of data locations to automatically access data obtained from other nodes based on access requests issued by application programs of its own nodes on a computer network. When importing data into a node, in order to select unnecessary data from the data that should be replaced in order to cope with the data retention capacity limit on the own node and to improve the efficiency of updating information reflection, the possibility of access in the near future is determined based on access trends in the near past. The estimation methods are the LRU data replacement method, which assumes that "what was used earlier will be used soon", and the MRU data replacement method, which assumes that "what was used earlier will probably not be used". By monitoring and analyzing and using the correct data, and by correcting it by explicitly specifying data retention priority by the application program, we can determine the optimal data replacement algorithm that would ideally be possible if all future accesses could be known. This has the effect of providing better approximation and minimizing wasteful data communication.

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

第1図は、本発明実施例の構成を示すブロック構成図。 第2図は、分散データベースの構造図。 第3図は、アクセス傾向監視手段および置換方法適正化
手段の動作を示すフローチャート。 1・・・分散データ管理システム、2・・・アプリケー
ションプログラム、11・・・アクセス要求解析手段、
12・・・要求ステージング手段、13・・・LRUデ
ータ置換手段、14・・・MRUデータ置換手段、15
・・・アクセス雁歴保持手段、16・・・アクセス傾向
監視手段、17・・・置換方法適正化手段、18・・・
アクセスデータ返却手段、21・・・データアクセス要
求手段、22・・・アクセスデータ受取手段、121・
・・存在ノード判定手段、122・・・自ノードデータ
アクセス実行手段、123・・・他ノードデータ取得要
求受取手段、151・・・自動優先度設定手段、152
・・・指定優先度設定手段。
FIG. 1 is a block configuration diagram showing the configuration of an embodiment of the present invention. FIG. 2 is a structural diagram of a distributed database. FIG. 3 is a flowchart showing the operations of the access trend monitoring means and replacement method optimization means. 1... Distributed data management system, 2... Application program, 11... Access request analysis means,
12... Request staging means, 13... LRU data replacement means, 14... MRU data replacement means, 15
... Access history holding means, 16... Access trend monitoring means, 17... Replacement method optimization means, 18...
Access data return means, 21... Data access request means, 22... Access data reception means, 121.
...Existence node determination means, 122... Own node data access execution means, 123... Other node data acquisition request receiving means, 151... Automatic priority setting means, 152
... Specified priority setting means.

Claims (1)

【特許請求の範囲】 1、分散データベースを有する複数のノードのそれぞれ
に含まれ、自ノードのアプリケーションプログラムの要
求データに対応する第一データが自ノードに存在すると
きはこの第一データを取得し、自ノードに存在しないと
きは他ノードに要求して上記要求データに対応する第二
データを取得する要求ステージング手段を備えた分散デ
ータ制御装置において、 上記第一データをアクセス時系列に保持するアクセス履
歴保持手段と、 上記第二データを上記第一データとして追加したデータ
量が規定容量を超えるときに上記アクセス時系列を参照
してアクセスが最古のデータを置換するLRUデータ置
換手段と、このLRUデータ置換手段での置換対象を最
新のデータとするMRUデータ置換手段と、区間アクセ
ス頻度を記録するアクセス傾向監視手段と、 この区間アクセス頻度を基準値と比較した結果に応じて
データ置換手段の切替えを実行する置換方法適性化手段
と を備えたことを特徴とする分散データ制御装置。
[Claims] 1. When first data included in each of a plurality of nodes having a distributed database and corresponding to request data of an application program of the own node exists, this first data is acquired. , a distributed data control device equipped with a request staging means for requesting another node to obtain second data corresponding to the requested data when the data does not exist in the own node; a history holding means; an LRU data replacement means that refers to the access time series and replaces the oldest accessed data when the amount of data added to the second data as the first data exceeds a specified capacity; MRU data replacement means for replacing the latest data with the LRU data replacement means; access trend monitoring means for recording section access frequency; 1. A distributed data control device comprising: replacement method optimization means for performing switching.
JP2109775A 1990-04-24 1990-04-24 Distributed data controller Pending JPH047652A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2109775A JPH047652A (en) 1990-04-24 1990-04-24 Distributed data controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2109775A JPH047652A (en) 1990-04-24 1990-04-24 Distributed data controller

Publications (1)

Publication Number Publication Date
JPH047652A true JPH047652A (en) 1992-01-13

Family

ID=14518914

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2109775A Pending JPH047652A (en) 1990-04-24 1990-04-24 Distributed data controller

Country Status (1)

Country Link
JP (1) JPH047652A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013065151A1 (en) * 2011-11-02 2013-05-10 株式会社日立製作所 Computer system, data transmission method, and data transmission program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013065151A1 (en) * 2011-11-02 2013-05-10 株式会社日立製作所 Computer system, data transmission method, and data transmission program

Similar Documents

Publication Publication Date Title
US8868831B2 (en) Caching data between a database server and a storage system
US4463424A (en) Method for dynamically allocating LRU/MRU managed memory among concurrent sequential processes
US6941432B2 (en) Caching of objects in disk-based databases
US6347362B1 (en) Flexible event monitoring counters in multi-node processor systems and process of operating the same
US8443149B2 (en) Evicting data from a cache via a batch file
US6678704B1 (en) Method and system for controlling recovery downtime by maintaining a checkpoint value
US5493668A (en) Multiple processor system having software for selecting shared cache entries of an associated castout class for transfer to a DASD with one I/O operation
US6574720B1 (en) System for maintaining a buffer pool
CA2371121C (en) Database management system with a multiple-level cache arrangement
US9361232B2 (en) Selectively reading data from cache and primary storage
US6415372B1 (en) Rolling back storage subsystem reconfigurations
US6961835B2 (en) System and method for autonomically reallocating memory among buffer pools
US20040049636A1 (en) Technique for data transfer
US20180060145A1 (en) Message cache management for message queues
US5715447A (en) Method of and an apparatus for shortening a lock period of a shared buffer
KR101372964B1 (en) Managing memory pages
US7953925B2 (en) Transparent data temperature sensitive cluster duplication
US20040193801A1 (en) System, apparatus, and process for evaluating projected cache sizes
CN117472279A (en) Data cache node management method
CN116594562A (en) Data processing method and device, equipment and storage medium
US6298419B1 (en) Protocol for software distributed shared memory with memory scaling
CN120277118B (en) Data query method, device, equipment and medium of storage system
JPH11143779A (en) Paging processing system for virtual storage device
JPH047652A (en) Distributed data controller
EP0058846B1 (en) Multiprocessing system with variably shared paging storage