JPH044438A - System for utilizing data base buffer - Google Patents

System for utilizing data base buffer

Info

Publication number
JPH044438A
JPH044438A JP2106803A JP10680390A JPH044438A JP H044438 A JPH044438 A JP H044438A JP 2106803 A JP2106803 A JP 2106803A JP 10680390 A JP10680390 A JP 10680390A JP H044438 A JPH044438 A JP H044438A
Authority
JP
Japan
Prior art keywords
database
system buffer
buffer
buffers
data base
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
JP2106803A
Other languages
Japanese (ja)
Inventor
Seiji Shiga
志賀 省二
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 JP2106803A priority Critical patent/JPH044438A/en
Publication of JPH044438A publication Critical patent/JPH044438A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To reduce the number of reading times by changing the storing unit from a data base to a system buffer when storing units in close vicinity are continuously retrieved in the data base by additionally providing a system buffer number indicating means. CONSTITUTION:System buffers 2a-2m store storing units to be retrieved by data base processing programs 1a-1l and a system buffer inputting means 3 reads the storing units into the system buffers 2a-2m from a data base 5 on the basis of retrieval processing requests from the programs 1a-1l. In addition, a system buffer releasing means 4 releases the buffers 2a-2m so that the buffers 2a-2m can be reutilized and a system buffer number indicating means 6 instructs the system releasing means 4 for the number of system buffers 2a-2m to be suppressed from releasing in connection with one time of retrieval processing request from the data base processing programs 1a-1l. Therefore, the storing unit can be changed from the data base to the system buffers and the number of reading times can be reduced.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はデータベースバッファ利用方式に関し、特に格
納単位と呼ばれる複数の部分に分割されたデータベース
からシステムバッファに格納単位を読み込む情報処理シ
ステムにおけるデータベースバッファ利用方式に関する
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a database buffer usage method, and particularly to a database buffer in an information processing system that reads storage units into a system buffer from a database divided into a plurality of parts called storage units. Regarding usage method.

〔従来の技術〕[Conventional technology]

データをデータレコードとして記憶するための外部記憶
媒体であり格納単位に分割されているデータベースを備
え、データベース処理プログラムによって検索処理等の
データ処理が行われる格納単位を格納するシステムバッ
ファ、データ処理指示(検索処理の要求を示す指示等)
に基づいてデータベースから格納単位を読み込んでシス
テムバッファに格納するシステムバッファ入力手段(1
つのシステムバッファに1つの格納単位が格納される)
およびシステムバッファを解放してそのシステムバッフ
ァの再利用を可能にするシステムバソファ解放手段を用
いてデータベースの検索処理を行う情報処理システムが
、従来より知られている。
It is an external storage medium for storing data as data records, and includes a database that is divided into storage units, a system buffer that stores the storage units in which data processing such as search processing is performed by the database processing program, and a data processing instruction ( instructions indicating a request for search processing, etc.)
system buffer input means (1) that reads a storage unit from the database based on the
(one storage unit is stored in one system buffer)
Information processing systems that perform database search processing using a system buffer release means that releases a system buffer and makes it possible to reuse the system buffer are conventionally known.

第3図は、このような情報処理システムにおける従来の
データベースバッファ利用方式の一例の構成を示すブロ
ック図である。このデータベースバッファ利用方式は、
データベース処理プログラムlla〜11pと、システ
ムバッファ12a〜12mと、システムバッファ入力手
段13と、システムバッファ解放手段14と、データベ
ース15とを含んで構成されている。
FIG. 3 is a block diagram showing the configuration of an example of a conventional database buffer usage method in such an information processing system. This database buffer usage method is
The system includes database processing programs lla to 11p, system buffers 12a to 12m, system buffer input means 13, system buffer release means 14, and database 15.

このデータベースバッファ利用方式は、以下に示すよう
な動作を行っていた。
This database buffer usage method operated as shown below.

システムバッファ12a〜12mに存在しない格納単位
に対する検索処理がデータヘース処理プログラムlla
〜117i中のいずれか(例えば、データベース処理プ
ログラムllaとする)から要求されると、システムバ
ッファ入力手段13はデータベース5から格納単位群(
要求された格納単位を先頭とするその格納単位に後続す
る一連の格納単位群)を読み込んでシステムバッファ1
2a〜12mに順番に(要求された格納単位を先頭にし
てデータベース15内に格納されている順番に)格納す
る。これにより、データベース処理プログラムllaは
要求した格納単位にアクセスすることができるようにな
る。
Search processing for storage units that do not exist in the system buffers 12a to 12m is performed by the data heath processing program lla.
117i (for example, the database processing program lla), the system buffer input means 13 reads the storage unit group (
A series of storage units (starting with the requested storage unit and following that storage unit) are read and stored in system buffer 1.
2a to 12m (in the order in which they are stored in the database 15 with the requested storage unit at the beginning). This allows the database processing program lla to access the requested storage unit.

その格納単位に対するデータベース処理プログラムll
aによる検索処理が終了すると、システムバッファ解放
手段14はシステムバッファ12a〜12 m ヲM放
してシステムバッファ12a〜12mの再利用を可能に
する。
Database processing program for that storage unit
When the search processing by a is completed, the system buffer release means 14 releases the system buffers 12a to 12m to enable reuse of the system buffers 12a to 12m.

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

上述した従来のデータベースバッファ利用方式では、シ
ステムバッファに読み込まれた格納単位に対する任意の
データベース処理プログラムの検索処理(検索処理Aと
する)が終了すると、システムバッファ解放手段により
全てのシステムバッファが解放されてその再利用が可能
にされるので、検索処理Aでシステムバッファに読み込
まれた格納単位以外の格納単位に対する検索処理のため
にシステムバッファが再利用されると、その後に検索処
理Aの際にシステムバッファに読み込まれた格納単位に
対してデータベース処理プログラムから検索処理が要求
されると、検索処理Aで読み込まれたものと同一の格納
単位をデータベースからシステムバッファに再び読み込
む必要が生じるという欠点がある。
In the conventional database buffer usage method described above, when the search process (referred to as search process A) of any database processing program for the storage unit read into the system buffer is completed, all system buffers are released by the system buffer release means. Therefore, if the system buffer is reused for a search process for a storage unit other than the storage unit read into the system buffer in search process A, then in search process A When a database processing program requests a search process for a storage unit read into the system buffer, the same storage unit read in search process A must be read from the database into the system buffer again. be.

本発明の目的は、上述の点に鑑み、システムバッファ個
数指示手段を追加して設けること等により、上述した従
来の欠点を解消し、格納単位をデータベースからシステ
ムバッファに読み込む回数を少なくすることができるデ
ータベースバッファ利用方式を提供することにある。
In view of the above points, an object of the present invention is to eliminate the above-mentioned conventional drawbacks and reduce the number of times a storage unit is read from a database into a system buffer by additionally providing a means for indicating the number of system buffers. The purpose of this invention is to provide a database buffer usage method that can be used.

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

本発明のデータベースバッファ利用方式は、データベー
スの検索処理を行う情報処理システムにおいて、データ
ベース処理プログラムにより検索処理が行われる格納単
位を格納するシステムバッファと、データベース処理プ
ログラムからの検索処理の要求に基づきデータベースか
ら前記システムバッファに格納単位を読み込むシステム
バッファ入力手段と、前記システムバッファを解放して
その再利用を可能にするシステムバッファ解放手段と、
データベース処理プログラムからの1回の検索処理の要
求に関していくつの前記システムバッファの解放を抑制
するかを前記システムバッファ解放手段に指示するシス
テムバッファ個数指示手段とを有する。
The database buffer usage method of the present invention is such that, in an information processing system that performs database search processing, there is a system buffer that stores storage units in which search processing is performed by a database processing program, and a database buffer that stores a storage unit in which a search processing is performed by a database processing program. system buffer input means for reading a storage unit into the system buffer from a system buffer, and system buffer release means for releasing the system buffer to enable its reuse;
system buffer number instructing means for instructing the system buffer release means how many of the system buffers are to be suppressed from being released in response to one search processing request from a database processing program;

〔作用〕[Effect]

本発明のデータベースバッファ利用方式では、システム
バッファがデータベース処理プログラムにより検索処理
が行われる格納単位を格納し、システムバッファ入力手
段がデータベース処理プログラムからの検索処理の要求
に基づきデータベースからシステムバッファに格納単位
を読み込み、システムバッファ解放手段がシステムバッ
ファを解放してその再利用を可能にし、システムバッフ
ァ個数指示手段がデータベース処理プロクラムからの1
回の検索処理の要求に関していくつのシステムバッファ
の解放を抑制するかをシステムバソファ解放手段に指示
する。
In the database buffer usage method of the present invention, the system buffer stores the storage unit in which the search process is performed by the database processing program, and the system buffer input means transfers the storage unit from the database to the system buffer based on the search process request from the database processing program. The system buffer release means releases the system buffer to enable its reuse, and the system buffer number indicating means reads one from the database processing program.
Instructs the system buffer release means how many system buffers to suppress from being released for each search processing request.

〔実施例〕〔Example〕

次に、本発明について図面を参照して詳細に説明する。 Next, the present invention will be explained in detail with reference to the drawings.

第1図は、本発明のデータベースバッファ利用方式の一
実施例の構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of an embodiment of the database buffer utilization method of the present invention.

本実施例のデータベースバッファ利用方式は、データベ
ース処理プログラム1a〜17!(データベース処理プ
ログラム1a〜1β中の任意の1つを示す場合には「デ
ータベース処理プログラム1」として示す)と、データ
ベース処理プログラム1により検索される格納単位7 
(第2図参照)を格納スるシステムバッファ2a、・・
・、2g、・・・、2m(システムバッファ2a〜2m
中の任意の1つを示す場合には「システムバッファ2」
として示す)と、データベース処理プログラム1がらの
データ処理指示(検索処理の要求を示す指示等)に基づ
きデータベース5から格納単位7を読み込んでシステム
バッファ2に格納するシステムバッファ入力手段3と、
システムバッファ2を解放してそのシステムバッファ2
の再利用を可能にするシステムバッファ解放手段4と、
データをデータレコードとして記憶するための外部記憶
媒体であるデータベース5と、1回の検索処理の要求に
関していくつのシステムバッファ2の解放を抑制するか
をシステムバッファ解放手段4に指示するシステムバッ
ファ個数指示手段6とを含んで構成されている。
The database buffer usage method of this embodiment is the database processing programs 1a to 17! (When any one of the database processing programs 1a to 1β is indicated, it is indicated as "database processing program 1") and the storage unit 7 searched by the database processing program 1
(See Figure 2) A system buffer 2a for storing...
・, 2g, ..., 2m (system buffer 2a to 2m
"System buffer 2" to indicate any one of them.
), a system buffer input means 3 that reads a storage unit 7 from the database 5 and stores it in the system buffer 2 based on a data processing instruction (such as an instruction indicating a request for search processing) from the database processing program 1;
Free system buffer 2 and release system buffer 2.
system buffer release means 4 that enables reuse of the
A database 5 that is an external storage medium for storing data as data records, and a system buffer number instruction that instructs the system buffer release means 4 how many system buffers 2 are to be suppressed from being released for one search processing request. means 6.

第2図は、データベース5の構造の一例を示す図である
。同図に示すように、データベース5は、複数の格納単
位7a、7b、7c、・・・から構成されている(格納
単位7a、7b、7c、・・・中の任意の1つを示す場
合には「格納単位7」として示す)。
FIG. 2 is a diagram showing an example of the structure of the database 5. As shown in FIG. As shown in the figure, the database 5 is composed of a plurality of storage units 7a, 7b, 7c, . . . (when indicating any one of the storage units 7a, 7b, 7c, . (shown as “storage unit 7”).

次に、このように構成された本実施例のデータベースバ
ッファ利用方式の動作について説明する。
Next, the operation of the database buffer utilization method of this embodiment configured as described above will be explained.

データベース処理プログラム1 (例えば、データベー
ス処理プログラムlaとする)が、システムバッファ2
a〜2mに存在しない格納単位7(例えば、格納単位7
aとする)に対する検索処理を要求するものとする。
A database processing program 1 (for example, a database processing program la) is a system buffer 2.
Storage unit 7 that does not exist in a to 2m (for example, storage unit 7
Assume that a search process is requested for (a).

この要求が行われると、システムバッファ入力手段3は
、要求された格納単位7aを先頭とする格納単位群をデ
ータベース5から格納単位7a。
When this request is made, the system buffer input means 3 extracts a group of storage units starting from the requested storage unit 7a from the database 5 into the storage unit 7a.

7b、7c、・・・の順番に読み込み、システムバッフ
ァ2a〜2mにその順番に格納する。これにより、デー
タベース処理プログラム1aは要求した格納単位7aに
アクセスすることができるようになる。
7b, 7c, . . . are read in the order and stored in the system buffers 2a to 2m in that order. This allows the database processing program 1a to access the requested storage unit 7a.

格納単位7aに対するデータベース処理プログラム1a
の検索処理が終了すると、システムバッファ個数指示手
段6はシステムバッファ2a〜2m中のいくつのシステ
ムバッファ2の解放ヲ抑11tlJするかをシステムバ
ッファ解放手段4に指示する(解放を抑制すべき個数は
あらかじめシステムバッファ個数指示手段6に与えられ
ている)。
Database processing program 1a for storage unit 7a
When the search process is completed, the system buffer number instructing means 6 instructs the system buffer releasing means 4 how many system buffers 2 out of the system buffers 2a to 2m are to be suppressed from being released (the number of system buffers to be suppressed from being released is (The number of system buffers is given to the system buffer number indicating means 6 in advance).

システムバッファ解放手段4は、上述のデータベース処
理プログラム1aによる検索処理の終了に際して、シス
テムバッファ個数指示手段6から指示された解放を抑制
すべきシステムバッファ2の個数に基づいて、システム
バッファ2a〜2m中のシステムバッファ2a〜2gの
解放を抑制する。
The system buffer release means 4 selects one of the system buffers 2a to 2m based on the number of system buffers 2 to be suppressed from being released as instructed by the system buffer number instruction means 6 upon completion of the search process by the database processing program 1a. The release of the system buffers 2a to 2g is suppressed.

したがって、上述のデータベース処理プログラム1aに
よる検索処理の終了後にシステムバッファ2a〜2gは
再利用されなくなり、上述のデータベース処理プログラ
ム1aによる検索処理でシステムバッファ2a〜2gの
それぞれ(例えば、システムバッファ2b)に格納され
た格納単位7(例工ば、システムバッファ2b中の7b
)に対してデータベース処理プログラム1から検索処理
が要求された場合には、そのデータベース処理プログラ
ム1はすぐに格納単位7bをアクセスすることができる
(システムバッファ入力手段3によるデータベース5か
らシステムバッファ2a〜2mへの格納単位7bの読み
込みが不要になる)。
Therefore, after the search process by the database processing program 1a described above is completed, the system buffers 2a to 2g are no longer reused, and each of the system buffers 2a to 2g (for example, system buffer 2b) is The stored storage unit 7 (for example, 7b in the system buffer 2b)
), the database processing program 1 can immediately access the storage unit 7b. (It becomes unnecessary to read the storage unit 7b into 2m).

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

以上説明したように本発明は、システムバッファ個数指
示手段を追加して設けること等により、データベース内
の近接した格納単位が連続して検索される場合等に、格
納単位をデータベースからシステムバッファに読み込む
回数を少なくすることができるという効果がある。
As explained above, in the present invention, by additionally providing a system buffer number indicating means, etc., storage units are read from the database into the system buffer when adjacent storage units in the database are successively searched. This has the effect of reducing the number of times.

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

第1図は本発明の一実施例の構成を示すブロック図、 第2図は第1図中のデータベースの構造の一例を示す図
、 第3図は従来のデータヘースパソファ利用方式の一例の
構成を示すブロック図である。 図において、 1a〜11・・データベース処理プログラム、2a〜2
m・・システムバッファ、 3・・・・・・システムバッファ入力手段、4・・・・
・・システムバッファ解放手段、5・・・・・・データ
ベース、 6・・・・・・システムバッファ個数指示手段、7a、
7b、7c、−・・ ・・・・・・格納単位である。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, FIG. 2 is a diagram showing an example of the structure of the database in FIG. 1, and FIG. 3 is an example of a conventional data storage spa usage method. FIG. 2 is a block diagram showing the configuration. In the figure, 1a-11... database processing program, 2a-2
m...System buffer, 3...System buffer input means, 4...
... System buffer release means, 5 ... Database, 6 ... System buffer number indication means, 7a,
7b, 7c, --- It is a storage unit.

Claims (1)

【特許請求の範囲】 データベースの検索処理を行う情報処理システムにおい
て、 データベース処理プログラムにより検索処理が行われる
格納単位を格納するシステムバッファと、データベース
処理プログラムからの検索処理の要求に基づきデータベ
ースから前記システムバッファに格納単位を読み込むシ
ステムバッファ入力手段と、 前記システムバッファを解放してその再利用を可能にす
るシステムバッファ解放手段と、 データベース処理プログラムからの1回の検索処理の要
求に関していくつの前記システムバッファの解放を抑制
するかを前記システムバッファ解放手段に指示するシス
テムバッファ個数指示手段と を有することを特徴とするデータベースバッファ利用方
式。
[Scope of Claim] An information processing system that performs a database search process, comprising: a system buffer that stores a storage unit in which a search process is performed by a database processing program; and a system buffer that stores a storage unit in which a search process is performed by a database processing program; system buffer input means for reading a storage unit into a buffer; system buffer release means for freeing the system buffer to enable its reuse; and system buffer number instructing means for instructing the system buffer release means whether to suppress release of the database buffers.
JP2106803A 1990-04-23 1990-04-23 System for utilizing data base buffer Pending JPH044438A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2106803A JPH044438A (en) 1990-04-23 1990-04-23 System for utilizing data base buffer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2106803A JPH044438A (en) 1990-04-23 1990-04-23 System for utilizing data base buffer

Publications (1)

Publication Number Publication Date
JPH044438A true JPH044438A (en) 1992-01-08

Family

ID=14443025

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2106803A Pending JPH044438A (en) 1990-04-23 1990-04-23 System for utilizing data base buffer

Country Status (1)

Country Link
JP (1) JPH044438A (en)

Similar Documents

Publication Publication Date Title
JP2586219B2 (en) High-speed media priority release exclusion method
JPH044438A (en) System for utilizing data base buffer
JPH07334402A (en) Data base as main memory
JPS63263524A (en) Data structure converting system
JPH0239225A (en) Filing system
JP2641399B2 (en) File management device
JPH0447344A (en) History journal recording system
JPH06168074A (en) Common ionput/output device
JP2895892B2 (en) Data processing device
JPH0455952A (en) Data transfer system for data base system
JPS60196877A (en) Method and apparatus of retrieval
JPH0314177A (en) Communication document display device
JPH06290089A (en) Data base data storing system
JPH02247758A (en) Control system for terminal information
JPH06325147A (en) Image display device
JPH02220151A (en) Variable length data access system
JPH02216586A (en) Filing method for image data
JPS6349969A (en) Managing system for common format data
JPS62186329A (en) Conditions retrieving device
JPS63217446A (en) Buffer control system
JPS62231346A (en) Data storage system
JPH02224112A (en) Unedited output system for internal data
JPS62134718A (en) Data access control system
JPS6046588A (en) Discrimination system for frequency of using decentralized registration character
JPH02228743A (en) System for data transfer between storage devices