JPH05257610A - Device and method for reading file - Google Patents

Device and method for reading file

Info

Publication number
JPH05257610A
JPH05257610A JP4053216A JP5321692A JPH05257610A JP H05257610 A JPH05257610 A JP H05257610A JP 4053216 A JP4053216 A JP 4053216A JP 5321692 A JP5321692 A JP 5321692A JP H05257610 A JPH05257610 A JP H05257610A
Authority
JP
Japan
Prior art keywords
buffer
data
page
read
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP4053216A
Other languages
Japanese (ja)
Inventor
Yasuhiro Suzuki
康弘 鈴木
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP4053216A priority Critical patent/JPH05257610A/en
Publication of JPH05257610A publication Critical patent/JPH05257610A/en
Withdrawn legal-status Critical Current

Links

Landscapes

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

Abstract

(57)【要約】 【目的】本発明の目的は、ファイルの高速な読み込みを
実現することである。 【構成】入力された検索コマンドを解釈して必要ページ
のページ・アドレス・リストを作成したなら、主記憶上
に存在しないページでアドレスが連続するページ単位で
セグメント化する。さらに、その必要ページのセグメン
トに不要ページのアドレス間隔情報をリンクさせ、ペー
ジ数がシークファクタ以下の不要ページの前後の必要ペ
ージを1つのセグメントに同化させセグメントを再編成
する。そして、このセグメント単位でデータの読み込み
を行い、必要ページは使用固定バッファに、不要ページ
は再利用可能バッファにそれぞれ格納する。
(57) [Summary] [Object] An object of the present invention is to realize high-speed reading of a file. [Structure] When a page address list of necessary pages is created by interpreting an input search command, pages are segmented in units of continuous addresses on pages that do not exist in the main memory. Further, address interval information of the unnecessary pages is linked to the necessary page segment, and the necessary pages before and after the unnecessary page having the number of pages equal to or less than the seek factor are integrated into one segment to reorganize the segments. Then, the data is read in this segment unit, and the necessary page is stored in the used fixed buffer and the unnecessary page is stored in the reusable buffer.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、磁気ディスク装置等か
らデータを読み込むファイル読み込み装置及びその読み
込み方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a file reading device and a reading method for reading data from a magnetic disk device or the like.

【0002】[0002]

【従来の技術】磁気記憶装置等に記憶されているデータ
のアクセスは、(1) ヘッドを読み込み対象データのアド
レス位置に移動させる(シーク)、(2) 所望のデータを
読み込む、という手順で行われる。磁気ディスク装置な
どからデータを読み出す場合に、ヘッドを所定の位置ま
で移動させるというシーク動作は機械的動作が伴うので
時間がかかる。
2. Description of the Related Art To access data stored in a magnetic storage device, etc., follow the steps of (1) moving the head to the address position of the data to be read (seek), and (2) reading the desired data. Be seen. When data is read from a magnetic disk device or the like, the seek operation of moving the head to a predetermined position is time-consuming because it involves a mechanical operation.

【0003】その為データを読み込む場合には、極力連
続したアドレスでの読み込みを行い、シーク回数を少な
くする必要がある。
Therefore, when reading data, it is necessary to read at consecutive addresses as much as possible to reduce the number of seeks.

【0004】[0004]

【発明が解決しようとする課題】ファイル内のデータを
読み込む場合に、必要なデータ範囲内に不要なデータが
存在することがあり、このような場合、例えば不要なデ
ータを読み飛ばすことで連続的な読み込みを実現するこ
とが考えられる。
When reading data in a file, there may be unnecessary data within the necessary data range. In such a case, for example, by skipping unnecessary data It is conceivable to realize such reading.

【0005】しかしながら、読み飛ばす領域が大きいと
きには読み込みを中断してシークした方が時間がかから
ない場合もあり、必ずしも最善の方法ではない。本発明
の目的は、ファイルの高速な読み込みを実現することで
ある。
However, when the area to be skipped is large, it may not take much time to interrupt the reading and seek, which is not always the best method. An object of the present invention is to realize high-speed reading of files.

【0006】[0006]

【課題を解決するための手段】図1は、第1の発明の原
理ブロック図である。ファイル(1)上に離散して存在
する必要データを検索して、該データをバッファに読み
込むファイル読み込み装置において、セグメント構成手
段2は、読み込むべき必要データをファイル1上でアド
レスが連続する単位でセグメント化する。
FIG. 1 is a block diagram showing the principle of the first invention. In the file reading device that retrieves the necessary data discretely existing in the file (1) and reads the data into the buffer, the segment constructing means 2 makes the necessary data to be read in the file 1 in units of consecutive addresses. Segment.

【0007】データ読み込み手段3は、各セグメント間
のファイル上での読み込み位置を移動する場合に、セグ
メント間を連続して読み込む場合と、シークする場合の
アクセス時間を見積もり、セグメント間を連続して読み
込む方がアクセス時間が短いときには、不要データを含
む複数のセグメントを順次バッファに読み込む。
The data reading means 3 estimates the access time for continuous reading between the segments and the access time for seeking when moving the reading position on the file between the segments, and the continuous reading between the segments. When the access time is shorter to read, a plurality of segments including unnecessary data are sequentially read into the buffer.

【0008】例えば、このデータ読み込み手段3は、連
続して読み込むデータの内、必要データを使用固定バッ
ファに、不要データをバッファ領域が不足したとき再利
用される再利用可能バッファに格納する。
For example, the data reading means 3 stores the necessary data in the used fixed buffer and the unnecessary data in the reusable buffer which is reused when the buffer area becomes insufficient, out of the continuously read data.

【0009】また、第2の発明では、ファイル(1)上
に離散して存在する必要データを検索して、そのデータ
をバッファに読み込む場合に、読み込むべき必要データ
をファイル1上でアドレスが連続する単位でセグメント
化し、各セグメント間のファイル上での読み込み位置を
移動する場合に、セグメント間を連続して読み込む場合
と、シークする場合のアクセス時間を見積もり、セグメ
ント間を連続して読み込む方がアクセス時間が短いとき
には、不要データを含む複数のセグメントを順次バッフ
ァに読み込む。
According to the second aspect of the invention, when necessary data discretely existing in the file (1) is searched and the data is read into the buffer, the necessary data to be read has consecutive addresses in the file 1. It is better to estimate the access time for continuous reading between segments and for seeking when moving the reading position in the file between each segment by segmenting by segment, and then reading between segments continuously. When the access time is short, a plurality of segments including unnecessary data are sequentially read into the buffer.

【0010】[0010]

【作用】第1及び第2の発明では、アドレスが連続して
いない複数のセグメントのデータを読み込む場合に、セ
グメント間を連続して読み込む場合と、シークする場合
のアクセス時間を見積もり、アクセス時間が短い方法で
データを読み込むようにしているので、データの読み込
みを高速化することができる。
In the first and second aspects of the invention, when the data of a plurality of segments whose addresses are not consecutive are read, the access time when reading continuously between segments and when seeking is estimated, and the access time is calculated. Since the data is read in a short way, the data reading can be speeded up.

【0011】また、不要データを含む複数のセグメント
を連続して読み込む場合に、必要データを使用固定バッ
ファに、不要データを再利用可能バッファに格納するよ
うにしたので、主記憶上のバッファ領域を有効に活用し
ながら、検索対象データの主記憶駐在率を高めることが
できる。これにより、主記憶上に存在しないデータをフ
ァイルから読み込み為のオーバヘッドを軽減することが
できる。
Further, when a plurality of segments containing unnecessary data are continuously read, the necessary data is stored in the use fixed buffer and the unnecessary data is stored in the reusable buffer. The main memory resident rate of the search target data can be increased while effectively utilizing it. As a result, the overhead for reading data that does not exist in the main memory from the file can be reduced.

【0012】さらに、セグメント間を連続して読み込む
か、あるいはシークするかの判断の基準となる情報を、
外部から定義できる情報として与えているので、読み込
み装置の性能が異なる場合でも基準となる情報を変更す
ることで、装置の性能に最適な条件を設定することがで
きる。
Further, information serving as a criterion for deciding whether to continuously read or seek between the segments,
Since the information is given as information that can be defined externally, even if the performance of the reading device is different, it is possible to set the optimum condition for the performance of the device by changing the reference information.

【0013】[0013]

【実施例】以下、本発明の実施例を図面を参照しながら
説明する。図2は、本発明の実施例のシステム構成図で
ある。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 2 is a system configuration diagram of the embodiment of the present invention.

【0014】このシステムは、キーボード12から入力
される検索コマンドに従って2次記憶装置13から検索
条件を満足するデータを読み込み、結果をディスプレイ
装置14に表示するものである。
This system reads data satisfying the search condition from the secondary storage device 13 according to a search command input from the keyboard 12 and displays the result on the display device 14.

【0015】図2のファイル読み込み装置11の回路ブ
ロック図には、CPUにより実行されるメイン制御、検
索コマンドの受け付け、検索条件の解釈、セットアッ
プ、ページの読み込み、検索結果の表示等の各種処理
と、それらの処理で主記憶上に作成されるページ・アド
レス・リスト、ページ・アドレス・ハッシュ、ページ・
アドレス・セグメント等との関係を示してある。
The circuit block diagram of the file reading device 11 of FIG. 2 shows various processes such as main control executed by the CPU, acceptance of search commands, interpretation of search conditions, setup, page reading, display of search results, and the like. , Page address list, page address hash, page
The relationship with addresses, segments, etc. is shown.

【0016】先ず、ファイル読み込み装置11の全体の
動作を図3のフローチャートを参照して説明する。シス
テムの動作開始時にメイン制御処理によりセットアップ
処理(図3、S1)が実行される。このセットアップ処
理では、シークファクタ、空きページ管理情報、インデ
クス等を2次記憶装置13から主記憶に読み込む(S
2、S3、S4)。
First, the overall operation of the file reading device 11 will be described with reference to the flowchart of FIG. The setup process (FIG. 3, S1) is executed by the main control process when the operation of the system is started. In this setup processing, the seek factor, free page management information, index, etc. are read from the secondary storage device 13 into the main storage (S
2, S3, S4).

【0017】ここで、図4、図5及び図6を参照して空
きページ管理情報、インデクス並びにデータ・ページの
状態を説明する。空きページ管理情報には、図4に示す
ようにページアドレス毎にそのページが使用されている
か、空いているかを示す情報が格納されており(この例
では、使用されているとき「1」、空いているとき
「0」が書き込まれる)、この空きページ管理情報から
未使用のページを探すことができる。
Now, the states of the empty page management information, index and data page will be described with reference to FIGS. The free page management information stores information indicating whether the page is used or is empty for each page address as shown in FIG. 4 (in this example, when the page is used, “1”, When it is free, "0" is written), and an unused page can be searched from this free page management information.

【0018】また、インデクスには、図5に示すように
AからHのキー値がキーの昇順に格納されており、それ
ぞれのキー値に対応するデータのデータ・ページ・ファ
イル上でのページアドレスが、そのキー値に対応させて
記憶されている。
Further, as shown in FIG. 5, the key values A to H are stored in the index in ascending order of the keys, and the page address of the data corresponding to each key value on the data page file is stored. Is stored in association with the key value.

【0019】図6のデータ・ページの状態を示す図は、
ページアドレス順に各ページに格納されているデータの
キー値、あるいはそのページが空きであることを示す情
報が記憶されている。
The diagram showing the state of the data page of FIG.
A key value of data stored in each page in the order of page addresses or information indicating that the page is empty is stored.

【0020】図3に戻り、セットアップ処理が終了した
なら、ステップS5のデータ検索処理を実行する。この
データ検索処理では、キーボード12から検索コマンド
の入力を受け付け(S6)、入力された検索コマンドか
ら検索条件を抽出しその検索条件を解釈する(S7)。
そして、検索条件を満たすデータが格納されているペー
ジアドレスをインデクスから調べ、必要ページのページ
・アドレス・リストを作成する(S8)。
Returning to FIG. 3, when the setup process is completed, the data search process of step S5 is executed. In this data search process, input of a search command is accepted from the keyboard 12 (S6), search conditions are extracted from the input search command, and the search conditions are interpreted (S7).
Then, the page address where the data satisfying the search condition is stored is checked from the index, and a page address list of necessary pages is created (S8).

【0021】次のページ読み込み処理(S9)では、ペ
ージ・アドレス・リストで指定されるページをデータ・
ページ・ファイルから主記憶上のバッファに読み込む。
このとき、所望のページアドレスの内容がバッファに存
在するか否かを調べ、バッフアに存在しないページだけ
を読み込むようにしている。
In the next page reading process (S9), the page designated by the page address list is read as data.
Read from the page file into a buffer on main memory.
At this time, it is checked whether or not the content of the desired page address exists in the buffer, and only the page that does not exist in the buffer is read.

【0022】このようにして検索条件を満たす必要ペー
ジがバッファに読み込まれたなら、その検索結果をディ
スプレイ装置14に表示する(S10)。ここで、上記
ステップS9のページ読み込み処理の内容を図7のフロ
ーチャートを参照して説明する。
When the required page satisfying the search condition is read into the buffer in this way, the search result is displayed on the display device 14 (S10). Here, the contents of the page reading process of step S9 will be described with reference to the flowchart of FIG.

【0023】今、キーボード12から「SELECT * FROM
DATAPAGE WHERE KEY >=‘A’ANDKEY < =‘D’; 」
なる検索コマンドが入力されたものとする。これは、
‘A’≦KEY ≦‘D’なる値の範囲にあるキーを検索す
る要求である。
Now, from the keyboard 12, select "SELECT * FROM
DATAPAGE WHERE KEY> = 'A' AND KEY <= 'D';"
It is assumed that the search command is entered. this is,
It is a request to search for a key in the range of values'A '≤ KEY ≤'D'.

【0024】先ず、前回の検索要求で作成された使用固
定バッファを再利用可能バッファに移行させる(図7、
S11)。このとき、使用固定バッファのリンクから移
行するバッファは再利用可能バッファの最後にリンクさ
せる。
First, the fixed use buffer created by the previous retrieval request is transferred to the reusable buffer (FIG. 7,
S11). At this time, the buffer transitioning from the link of the fixed use buffer is linked to the end of the reusable buffer.

【0025】次に、検索条件を解析して作成されたペー
ジ・アドレス・リストから必要なページアドレスに対応
する主記憶上のバッファを探す(S12)。この処理で
は、先ずページ・アドレス・ハッシュを利用して必要な
ページアドレスに対応するバッファを探す(S13)。
Next, the buffer on the main memory corresponding to the required page address is searched from the page address list created by analyzing the search conditions (S12). In this process, first, a page address hash is used to search for a buffer corresponding to a required page address (S13).

【0026】ここで、ページ・アドレス・ハッシュと
は、ページアドレスとバッファとをハッシュ関数により
対応づけたものであり、例えばxをページアドレス、S
をハッシュ表の配列数( この場合「10」) 、%をxをS
で割ったときの余りを求める演算子としたときに、ハッ
シュ関数:H(x) =x%Sによりページアドレスとハッ
シュ表の配列番号とを対応づけている。
Here, the page address hash is a correspondence between a page address and a buffer by a hash function. For example, x is a page address and S is a page address.
Is the number of arrays in the hash table ("10" in this case),% is x
When used as an operator for calculating the remainder when divided by, the page address and the array number of the hash table are associated with each other by the hash function: H (x) = x% S.

【0027】図8は、ページ・アドレス・リストとペー
ジ・アドレス・ハッシュの説明図である。例えば、ペー
ジアドレス「10」と「20」は上記のハッシュ関数か
らH(x)=0となるので、ハッシュ表の配列の0番目に
対応し、そのページアドレスに対応するバッファ(図8
のキーB、キーDのデータが記憶されているバッファ)
が存在すれば、配列の0番目のリンクに登録される。
FIG. 8 is an explanatory diagram of the page address list and the page address hash. For example, since page addresses “10” and “20” are H (x) = 0 from the above hash function, they correspond to the 0th array in the hash table and the buffer corresponding to the page address (see FIG. 8).
The buffer that stores the data of key B and key D)
If exists, it is registered in the 0th link of the array.

【0028】従って、このページ・アドレス・ハッシュ
を参照することでページアドレスに対応するバッファを
簡単に探すことができる。なお、各バッファは、図8に
示すようにそのバッファが記憶しているデータのキー値
と、ページアドレスと、そのバッファが使用固定のバッ
ファか、再利用可能なバッファかを示すバッファ区分情
報とを持っている。
Therefore, the buffer corresponding to the page address can be easily found by referring to this page address hash. As shown in FIG. 8, each buffer has a key value of data stored in the buffer, a page address, and buffer classification information indicating whether the buffer is a fixed-use buffer or a reusable buffer. have.

【0029】図7に戻り、上記のページ・アドレス・ハ
ッシュを参照して必要なページアドレスとバッファとの
対応をとる(S14)。さらに、必要なページアドレス
に対応するバッファのバッファ区分情報を「1」に書き
替え、そのバッファを使用固定バッファの最後にリンク
させる(S15)。
Returning to FIG. 7, the required page address and the buffer are associated with each other by referring to the page address hash (S14). Further, the buffer classification information of the buffer corresponding to the required page address is rewritten to "1", and the buffer is linked to the end of the fixed fixed buffer (S15).

【0030】そして、必要なページアドレスに対応する
全てのバッファが主記憶上に存在するか否かを判別し
(S16)、存在する場合にはそこでページ読み込み処
理を終了する。
Then, it is determined whether or not all the buffers corresponding to the required page address are present in the main memory (S16), and if they are present, the page reading process is terminated.

【0031】一方、主記憶上に必要なページアドレスに
対応するバッファがそろっていない場合には、データを
連続して読み込むか、シークして読み込むかを決める為
に、ステップS17でページ・アドレス・セグメントを
作成する。
On the other hand, when the buffers corresponding to the required page addresses are not available in the main memory, the page address / address is determined in step S17 in order to decide whether to read the data continuously or by seeking. Create a segment.

【0032】図9は、ページ・アドレス・セグメントの
作成処理のフローチャートである。先ず、ページ・アド
レス・リストの中でバッファが存在しないページ・アド
レスをピックアップする(S31)。
FIG. 9 is a flowchart of the page address segment creation processing. First, a page address for which no buffer exists is picked up in the page address list (S31).

【0033】このとき、ページアドレスに対応するバッ
ファが存在するか否かは、図10(1) に示すページ・ア
ドレス・リストのバッファへのポインタが特定のバッフ
ァを指しているか、それとも「NULL」となっているかに
よって判断できる。
At this time, whether or not the buffer corresponding to the page address exists is determined by the pointer to the buffer in the page address list shown in FIG. 10 (1) pointing to a specific buffer or "NULL". It can be judged by whether or not.

【0034】図10(1) のページ・アドレス・リストの
ポインタは全て「NULL」となっているが、これは検索対
象キーA〜Dに対応するバッファが全て存在しない場合
を示している。
The pointers of the page address list in FIG. 10 (1) are all "NULL", which indicates the case where all the buffers corresponding to the search target keys A to D do not exist.

【0035】次に、ピックアップされたページアドレス
をソートしてページアドレス順に並べ替え(S32)、
ページアドレスが連続するものをセグメント化する(S
33)。
Next, the picked-up page addresses are sorted and rearranged in the order of page addresses (S32),
Segment continuous page addresses (S
33).

【0036】図10(2) 及び(3) は、ページアドレスが
連続するものをセグメント化したときの一例を示してい
る。この場合、1ページと2ページが連続していて、他
のページ、7、10、15、18、20、は連続してい
ないので、1ページと2ページが1つのセグメントとな
り、他のページはそれぞれ独立のセグメントとなる。
FIGS. 10 (2) and 10 (3) show an example of segmenting a page address sequence. In this case, page 1 and page 2 are continuous, and the other pages, 7, 10, 15, 18, 20 are not continuous, so page 1 and page 2 are one segment, and the other pages are Each will be an independent segment.

【0037】次に、上記の各セグメント間の不要ページ
とそのアドレス間隔情報を必要ページのセグメントのリ
ンクに挿入する(S34)。図10の(4) は、このとき
の状態の一例を示している。
Next, the unnecessary page between each segment and the address interval information are inserted into the link of the segment of the necessary page (S34). FIG. 10 (4) shows an example of the state at this time.

【0038】そして、セグメントと不要ページの間隔情
報からページ間隔が所定のシークファクタ以下の不要ペ
ージのアドレス間隔情報を除去し、その不要ページの両
側の必要ページのセグメントを1つのセグメントに同化
させてセグメントを再編成する(S35)。
Then, the address interval information of the unnecessary pages whose page intervals are equal to or less than a predetermined seek factor is removed from the interval information of the segments and the unnecessary pages, and the segments of the necessary pages on both sides of the unnecessary pages are combined into one segment. The segments are reorganized (S35).

【0039】ところで、ファイル上の離散したデータを
読み込む場合に、読み込む必要のないデータのアドレス
位置までヘッドが移動したら、次のアドレス位置までシ
ークして読み込みを行った方がアクセス時間が短い場合
と、不要データも連続して読み込みを行った方がアクセ
ス時間が短いときの2通りが考えられる。
By the way, when reading discrete data on a file, if the head moves to the address position of the data that does not need to be read, it may be shorter to access the data by seeking to the next address position. There are two possible methods when the unnecessary data is read continuously and the access time is shorter.

【0040】図11は、シークした場合と順次読み込み
を行った場合のアクセス時間のトレードオフの説明図で
あり、ページ間隔が一定値Pr 以下のときには、不要ペ
ージを順次読み込んだ方がシークするよりもアクセス時
間が短くなる。
FIG. 11 is an explanatory view of a trade-off of access time in the case of seeking and in the case of sequential reading. When the page interval is equal to or less than a constant value P r , the seek is performed by sequentially reading unnecessary pages. Access time is shorter than.

【0041】ステップS35で複数のセグメントを1つ
のセグメントに同化させるときの判断の基準となるシー
クファクタは、このときのページ間隔Pr で決まる値で
あり、本実施例ではシークファクタを「2」とし、不要
ページのページ間隔が2ページ以下のときには、その不
要ページの前後の必要ページを1つのセグメントに同化
させるようにしている。
The seek factor that serves as a criterion for determining when associating a plurality of segments into one segment in step S35 is a value determined by the page interval P r at this time, and in this embodiment, the seek factor is "2". When the page interval of unnecessary pages is 2 pages or less, necessary pages before and after the unnecessary page are combined into one segment.

【0042】例えば、図10の(4) に示すページ・アド
レス・セグメントを上記のシークファクタに基づいて再
編成すると、不要ページの8〜9ページ、不要ページの
19ページ及び不要ページの16〜17ページはそれぞ
れページ間隔が2ページ以下であるので、それらのペー
ジ間隔情報を除去し、前後の必要ページを1つのセグメ
ントにまとめることができる。
For example, if the page address segment shown in (4) of FIG. 10 is reorganized based on the above seek factors, 8-9 pages of unnecessary pages, 19 pages of unnecessary pages and 16-17 of unnecessary pages. Since each page has a page interval of 2 pages or less, the page interval information can be removed and the necessary pages before and after can be combined into one segment.

【0043】この結果、図10の(5)に示すように、1
〜2ページ、7〜10ページ、15〜20ページがそれ
ぞれ1つのセグメントとなり、ページ間隔が3ページ以
上有る不要ページの3〜6ページと不要ページの11〜
14ページが残る。
As a result, as shown in (5) of FIG.
~ 2 pages, 7-10 pages, 15-20 pages each become one segment, and 3-6 pages of unnecessary pages and 11-pages of unnecessary pages having a page interval of 3 pages or more.
14 pages remain.

【0044】以上のようにしてページ・アドレス・セグ
メントが作成されると、図7のステップS18のファイ
ルからのページ読み込み処理が実行される。この読み込
み処理では、上記のようにして作成したページ・アドレ
ス・セグメントを順次取り出し(S19)、先ずそのペ
ージ・アドレス・セグメントの先頭のページアドレスに
ファイルの読み込み位置をシークする(S20)。次
に、各セグメントの示すページ数分連続してデータを読
み込み(S21)、さらにページ別バッファの読み込
み、読み飛ばし処理を実行する(S23)。
When the page address segment is created as described above, the page reading process from the file in step S18 of FIG. 7 is executed. In this read processing, the page address segments created as described above are sequentially taken out (S19), and first the file read position is sought to the top page address of the page address segment (S20). Next, data is continuously read for the number of pages indicated by each segment (S21), and the page-by-page buffer is read and the skip processing is executed (S23).

【0045】図12は、上記ページ別バッファの読み込
み、読み飛ばし処理のフローチャートである。先ず、ペ
ージ・アドレス・セグメントの必要ページのセグメント
の最初のページアドレスを読み込み、そのページが必要
ページか、空きページか、それとも不要ページかを判別
する(S41)。このとき読み込むべきページが、必要
ページか否かの判別はページ・アドレス・リストを参照
することで行われ、空きページか否かの判別は空きペー
ジ管理情報(図4)を参照することで行われる。
FIG. 12 is a flow chart of the reading and skipping processing of the page buffer. First, the first page address of the segment of the required page of the page address segment is read, and it is determined whether the page is a required page, an empty page, or an unnecessary page (S41). At this time, whether or not the page to be read is a necessary page is determined by referring to the page address list, and whether or not it is a blank page is determined by referring to the blank page management information (Fig. 4). Be seen.

【0046】ステップS41の判別で読み込んだページ
が必要ページであった場合には、ステップS42に進み
そのページを格納する為のバッファを確保する(S4
2)。さらに、その確保したバッファに該当するページ
のデータを読み込み、そのバッファのバッファ区分を
「1」に書き替え、そのバッファのポインタを使用固定
バッファの最後にリンクさせる(S43)。
If the page read in the determination in step S41 is a required page, the process proceeds to step S42 to secure a buffer for storing the page (S4).
2). Further, the page data corresponding to the secured buffer is read, the buffer classification of the buffer is rewritten to "1", and the pointer of the buffer is linked to the end of the fixed fixed buffer (S43).

【0047】また、このバッファを効率良く探せるよう
に、前述したハッシュ関数H(x) に基づいてそのバッフ
ァをページ・アドレス・ハッシュに登録する(S4
4)。さらに、ページ・アドレス・リストの該当するペ
ージアドレスにそのバッファを指すポインタを設定する
(S45)。
In order to search this buffer efficiently, the buffer is registered in the page address hash based on the above-mentioned hash function H (x) (S4).
4). Further, a pointer pointing to the buffer is set to the corresponding page address in the page address list (S45).

【0048】一方、ステップS41の判別で、読み込ん
だページが空きページであれば、ステップS46に進み
そのページをバッファに格納せずそのまま読み飛ばす。
他方、ステップS41の判別で、読み込んだページが必
要ページでも、空きページでもなければ不要ページであ
り、この場合ステップS47に進み同一ページが再利用
可能バッファに存在するか否かを調べる。なお、同一ペ
ージがバッファ上に存在するか否かを調べるのは、ペー
ジ・アドレス・ハッシュにそのページが既に登録されて
いるか否を調べることで行う。
On the other hand, if it is determined in step S41 that the read page is an empty page, the process proceeds to step S46 and the page is skipped without being stored in the buffer.
On the other hand, if it is determined in step S41 that the read page is neither a necessary page nor an empty page, it is an unnecessary page. In this case, the process proceeds to step S47 to check whether the same page exists in the reusable buffer. Whether or not the same page exists in the buffer is checked by checking whether or not the page is already registered in the page address hash.

【0049】該当するページが既に主記憶上に存在する
ときには、そのページを読み込む必要がないのでそのま
ま読み飛ばす(ステップS48)。同一ページが主記憶
上に存在しないときには、不要ページを記憶する為のバ
ッファを確保する(S49)。
When the corresponding page already exists in the main memory, it is not necessary to read the page, so that the page is skipped (step S48). If the same page does not exist in the main memory, a buffer for storing unnecessary pages is secured (S49).

【0050】そして、その新たに確保したバッファに不
要ページを読み込み、そのバッファのバッファ区分を
「0」に設定し、同時にそのバッファのポインタを再利
用可能なバッファの最後にリンクさせる(S50)。
Then, the unnecessary page is read into the newly secured buffer, the buffer classification of the buffer is set to "0", and at the same time, the pointer of the buffer is linked to the end of the reusable buffer (S50).

【0051】さらに、S44と同様に、このバッファを
ページ・アドレス・ハッシュに登録する(S51)。な
お、不要ページを主記憶に読み込むことは、次の検索で
その不要ページが必要とされる場合があるので、検索対
象ページの主記憶常駐率を高めるうえで効果があるが、
他方その為に多くの主記憶領域が使われて主記憶領域が
不足することが考えられる。
Further, similar to S44, this buffer is registered in the page address hash (S51). It should be noted that reading unnecessary pages into the main memory is effective in increasing the resident ratio of the main page of the search target page, because the unnecessary pages may be required for the next search.
On the other hand, it is conceivable that many main memory areas are used for that purpose and the main memory area becomes insufficient.

【0052】そこで、本実施例では必要ページは使用固
定のバッファに格納し、不要ページを再利用可能なバッ
ファに格納するようにし、新たなバッファの領域が不足
したときには再利用可能バッファをその領域として利用
できるようにしている。
Therefore, in this embodiment, necessary pages are stored in a fixed-use buffer, unnecessary pages are stored in a reusable buffer, and when a new buffer area is insufficient, the reusable buffer is set to that area. As available.

【0053】さらに、今回の検索で使用固定バッファに
設定されたものも、次の検索時に全て再利用可能バッフ
ァに移行されるので、多くの検索対象ページを主記憶上
に常駐させて検索効率を高めながら、再利用可能バッフ
ァをあたかも新規に確保されたバッファ領域として使用
することができ、主記憶を効率的に利用することができ
る。
Further, even the ones set in the used fixed buffer in this search are all moved to the reusable buffer in the next search, so that many search target pages are made resident in the main memory to improve the search efficiency. While increasing, the reusable buffer can be used as if it were a newly secured buffer area, and the main memory can be efficiently used.

【0054】図13は、上述したバッファへの読み込み
動作の説明図である。先ず、シークファクタにより再編
成したページ・アドレス・セグメントを参照して検索す
るページが必要ページであるか否かを調べる。
FIG. 13 is an explanatory diagram of the above-mentioned buffer read operation. First, referring to the page address segment reorganized by the seek factor, it is checked whether the page to be searched is a required page.

【0055】例えば、図10のページ・アドレス・セグ
メントを参照すると、ページアドレス1〜2のセグメン
トは必要ページであるので、それらのページを格納する
為のバッファを確保し、データページファイル(図1
3)の該当するページの内容をそれらのバッファに順次
読み込む。さらに、それらのバッファの区分を「1」に
して使用固定バッファの最後にリンクさせる。
For example, referring to the page address segment of FIG. 10, since the segments of page addresses 1 and 2 are necessary pages, a buffer for storing those pages is secured and the data page file (see FIG.
The contents of the corresponding page of 3) are sequentially read into those buffers. Further, the division of those buffers is set to "1" and the buffer is linked to the end of the fixed use buffer.

【0056】ページアドレス3〜6のセグメントは不要
ページのセグメントであるので、読み込みは行わず、ペ
ージアドレス7〜10のセグメントは必要ページである
のでページアドレス7の位置にヘッドをシークしてそれ
らのページを連続して読み込む。
Since the segment of page addresses 3 to 6 is an unnecessary page segment, reading is not performed, and the segment of page addresses 7 to 10 is a required page. Therefore, the head is sought at the position of page address 7 to read those segments. Read pages continuously.

【0057】この場合、ページ7、10は必要ぺージで
あるのでそれぞれのページをバッファに格納し、それら
のバッファを使用固定バッファの最後にリンクさせる。
他方、ページ8、9は不要ページであるが、同様にバッ
ファに格納し、それらのバッファを再利用可能バッファ
の最後にリンクさせる。
In this case, since pages 7 and 10 are necessary pages, each page is stored in a buffer and those buffers are linked to the end of the fixed fixed buffer.
On the other hand, pages 8 and 9, which are unnecessary pages, are likewise stored in buffers and linked to the end of the reusable buffer.

【0058】ページ11〜14は空きページであるので
データの読み込みは行わない。次のページ15〜20の
セグメントは必要ページのセグメントであるのでページ
アドレス15の位置にヘッドをシークしてデータの読み
込み開始する。
Since pages 11 to 14 are empty pages, data is not read. Since the segments of the next pages 15 to 20 are necessary page segments, the head is sought at the position of page address 15 to start reading data.

【0059】この場合、ページ15は必要ページである
のでそのページの内容をバッファに格納し、そのバッフ
ァを使用固定バッファの最後にリンクさせる。ページ1
6は不要ページであるがそのページの内容をバッファに
格納し、そのバッファを再利用可能バッファの最後にリ
ンクさせる。次のページ17は空きページであるのでそ
のまま読み飛ばす。
In this case, since page 15 is a necessary page, the contents of the page are stored in the buffer and the buffer is linked to the end of the fixed use buffer. Page 1
Although 6 is an unnecessary page, the contents of the page are stored in a buffer and the buffer is linked to the end of the reusable buffer. Since the next page 17 is a blank page, it is skipped as it is.

【0060】ページ18は必要ページであるのでそのペ
ージの内容をバッファに格納して、使用固定バッファの
最後(この場合、ページ15が格納されているバッファ
の次)にリンクさせる。ページ19は空きページである
のでバッファに格納せずにそのまま読み飛ばす。次のペ
ージ20は必要ページであるのでそのページの内容をバ
ッファに格納し、そのバッファを使用固定バッファの最
後にリンクさせる。
Since page 18 is a necessary page, the contents of that page are stored in a buffer and linked to the end of the fixed use buffer (in this case, the page 15 is next to the buffer in which it is stored). Since page 19 is an empty page, it is skipped without being stored in the buffer. Since the next page 20 is a required page, the contents of that page are stored in a buffer, and that buffer is linked to the end of the used fixed buffer.

【0061】このように検索条件を満足する必要ページ
の間に不要ページ、あるいは空きページが存在する場合
に、それらのページを連続して読み込む場合とシークし
て読み込む場合のアクセス時間を計算し、連続して読み
込む場合のアクセス時間がシーク時間と等しいか、短い
ときには、それらのページを1つのセグメントに同化す
るようにしている。そして、上記のようにして作成した
セグメント単位で連続してファイルの読み込みを行うよ
うにしている。
As described above, when there is an unnecessary page or an empty page between the necessary pages which satisfy the search condition, the access time when the page is continuously read and when the seek page is read is calculated, When the access time when reading continuously is equal to or shorter than the seek time, those pages are assimilated into one segment. Then, the file is continuously read in units of the segments created as described above.

【0062】従って、ファイル上で離散したデータを読
み込む場合にも、最短時間で必要なデータを読み込むこ
とができる。また、連続して読み込んだデータの中で必
要なデータは使用固定バッファに、不要なデータは再利
用可能バッファにリンクさせるようにし、バッファ領域
が不足したときには再利用可能バッファを新たなバッフ
ァ領域として使用できるようにしたので、検索対象デー
タの主記憶常駐率を高めながら主記憶領域を効率良く利
用することができる。
Therefore, even when reading the discrete data on the file, the necessary data can be read in the shortest time. Also, link the necessary data in the continuous read data to the used fixed buffer and the unnecessary data to the reusable buffer, and use the reusable buffer as a new buffer area when the buffer area becomes insufficient. Since it can be used, the main memory area can be efficiently used while increasing the main memory resident rate of the search target data.

【0063】次に、バッファ領域を確保する場合の動作
を図14のフローチャートを参照して説明する。主記憶
領域は、バッファ以外にページ・アドレス・リストやペ
ージ・アドレス・ハッシュなどにも使用されているの
で、それらの領域を確保する為にもバッファ領域の最大
サイズ(バッファ領域の制限数)を予め見積もってお
き、バッファ領域が制限数に達したなら新たに設けるバ
ッファ領域として再利用可能バッファを利用するように
している。
Next, the operation for securing the buffer area will be described with reference to the flowchart of FIG. The main storage area is used not only for buffers but also for page address lists, page address hashes, etc., so the maximum size of the buffer area (the limit number of buffer areas) must be set to secure those areas. An estimate is made in advance, and if the number of buffer areas reaches the limit, a reusable buffer is used as a newly provided buffer area.

【0064】先ず、バッファ領域の制限数に達したか否
かを判別する(図14、S61)。制限数に達していな
ければ主記憶上に新たなバッファ領域を確保する(S6
2)。
First, it is judged whether or not the limit number of the buffer area is reached (FIG. 14, S61). If the number has not reached the limit, a new buffer area is secured in the main memory (S6).
2).

【0065】一方、制限数に達したときには、再利用可
能バッファの中で最も古いバッファを選び出す(S6
3)。本実施例では、使用固定バッファも再利用可能バ
ッファも最新で読み込まれたバッファ、あるいは最新で
必要ページと見なされたバッファをそれぞれのリンクの
最後につなぐようにしているので、リンクの先頭が最も
古いバッファとなっている。
On the other hand, when the limit number is reached, the oldest buffer among the reusable buffers is selected (S6).
3). In the present embodiment, both the fixed buffer used and the reusable buffer are connected to the latest read buffer or the latest regarded necessary page at the end of each link. It is an old buffer.

【0066】そこで、上記ステップS63では再利用可
能バッファの先頭のバッファを取り出すことで最も古い
バッファを選び出している。そして、次のステップS6
4でその選択したバッファを再利用可能バッファのリン
クから外す。これによりそのバッファの記憶されていた
ページアドレスの内容が主記憶上に存在しないことにな
るので、そのバッファをページ・アドレス・ハッシュか
ら除外する(S65)。
Therefore, in step S63, the oldest buffer is selected by extracting the head buffer of the reusable buffer. Then, the next step S6
At step 4, the selected buffer is unlinked from the reusable buffer. As a result, the content of the page address stored in the buffer does not exist in the main memory, so the buffer is excluded from the page address hash (S65).

【0067】さらに、そのリンクから外したバッファの
ポインタを新たに確保したバッファ領域のポインタとす
る(S66)。例えば、図13の説明図で、ページアド
レス18の内容を読み込もうとしたときにバッファ領域
が不足したとすると、再利用可能バッファの先頭にある
ページアドレス8のバッファがリンクから外されてペー
ジアドレス18の内容の格納用バッファとして再利用さ
れる。
Further, the pointer of the buffer removed from the link is set as the pointer of the newly secured buffer area (S66). For example, in the explanatory diagram of FIG. 13, if the buffer area runs short when trying to read the contents of the page address 18, the buffer of the page address 8 at the head of the reusable buffer is removed from the link and the page address 18 is deleted. It is reused as a buffer for storing the contents of.

【0068】上述したようにして、例えば「SELECT * F
ROM DATAPAGE WHERE KEY >=‘A’AND KEY<=‘D’;
」という検索要求が実行された後、「GET * FROM DATA
PAGE WHERE KEY > =‘E’AND KEY < =‘H’;」と
いう検索要求があったとする。
As described above, for example, "SELECT * F
ROM DATAPAGE WHERE KEY> = 'A' AND KEY <= 'D';
"GET * FROM DATA
Suppose there is a search request of "PAGE WHERE KEY> = 'E' AND KEY <= 'H';".

【0069】この場合、先の検索でキー値A〜Dのデー
タが必要データとして、キー値E、Fのデータが不要デ
ータとして主記憶上に存在するので、ページアドレス6
のキー値Gのデータと、ページアドレス21のキー値G
及びページアドレス24のキー値Hのデータとを2回の
シーク動作でデータ・ページ・ファイルからバッファに
読み込むだけで良い。
In this case, since the data of the key values A to D are present as the required data and the data of the key values E and F are present in the main memory as unnecessary data in the previous search, the page address 6
Key value G data of page address 21 and key value G of page address 21
And the data of the key value H of the page address 24 need only be read from the data page file into the buffer in two seek operations.

【0070】なお、上記実施例ではファイルからのデー
タの読み込みをページ単位で行っているが、これに限ら
ずレコード単位、あるいは所定の文書データを1つの単
位として読み込みを行っても良い。
In the above embodiment, the data is read from the file in page units. However, the present invention is not limited to this, and the data may be read in record units or predetermined document data as one unit.

【0071】また、不要部分も含めてデータを連続して
読み込むか、それともシークして読み込むかの判断の基
準となるシークファクタとしてシークと順次読み込みに
おけるアクセス時間のトレードオフとなるページ間隔を
用いているが、ページ間隔に限らず、例えばレコード
数、文書データ数、あるいは順次読み込み時間とシーク
時間などのように、連続読み込みとシークとの何れの方
がアクセス時間が短いかを判断できるような情報であれ
ば良い。
Further, as a seek factor which is a criterion for determining whether data is continuously read including unnecessary portions or read by seeking, a page interval which is a trade-off between seek time and access time in sequential reading is used. However, the information is not limited to the page interval, and can be used to determine whether the continuous read or seek is the shorter access time, such as the number of records, the number of document data, or sequential read time and seek time. If it is good.

【0072】[0072]

【発明の効果】本発明によれば、ファイル上に離散した
データを読み込む場合に、不要部分を含めて連続して読
み込んだときの時間と、シークして必要な部分だけを読
み込んだときの時間を予め見積もることで、常にアクセ
ス時間の最も短い方法でデータを読み込むことができ
る。また、読み込んだ必要ページは使用固定バッファ
に、不要ページは再利用可能バッファに格納し、バッフ
ァ領域が不足したときに再利用可能バッファを再使用す
るようにしたので、バッファの主記憶領域を有効に活用
しながら、データの主記憶駐在率を高め、ファイルアク
セスによるオーバヘッドを軽減させることができる。
According to the present invention, when reading discrete data on a file, the time required for continuous reading including unnecessary portions and the time required for seeking only necessary portions are read. By estimating in advance, the data can always be read by the method with the shortest access time. In addition, the required pages that have been read are stored in the fixed buffer for use and unnecessary pages are stored in the reusable buffer, and the reusable buffer is reused when the buffer area is insufficient. It is possible to increase the residence rate of data in the main memory and reduce the overhead due to file access.

【0073】さらに、連続して読み込むか、シークして
読み込むかの判断の基準となる情報を、ファイル読み込
み処理とは独立した情報として保持しているので、ファ
イル読み込み装置の性能によってデータの読み込み処理
を変更する必要が無く、それぞれの装置の最適な条件で
データの読み込みを行うことができる。
Further, since the information serving as a criterion for determining whether to continuously read or seek and read is held as information independent of the file reading process, the data reading process depends on the performance of the file reading device. It is possible to read data under the optimum conditions of each device without having to change.

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

【図1】本発明の原理ブロック図である。FIG. 1 is a principle block diagram of the present invention.

【図2】実施例のシステム構成図である。FIG. 2 is a system configuration diagram of an embodiment.

【図3】実施例の全体の動作を示すフローチャートであ
る。
FIG. 3 is a flowchart showing the overall operation of the embodiment.

【図4】空きページ管理情報のデータ構造を示す図であ
る。
FIG. 4 is a diagram showing a data structure of empty page management information.

【図5】インデクスのデータ構造を示す図である。FIG. 5 is a diagram showing a data structure of an index.

【図6】データ・ページの状態を示す図である。FIG. 6 is a diagram showing a state of a data page.

【図7】ページ読み込み処理のフローチャートである。FIG. 7 is a flowchart of a page reading process.

【図8】ページ・アドレス・リストとページ・アドレス
・ハッシュの説明図である。
FIG. 8 is an explanatory diagram of a page address list and a page address hash.

【図9】ページ・アドレス・セグメントの作成処理のフ
ローチャートである。
FIG. 9 is a flowchart of a page address segment creation process.

【図10】ページ・アドレス・セグメント作成の説明図
である。
FIG. 10 is an explanatory diagram of creating a page address segment.

【図11】シークと順次読み込みにおけるアクセス時間
のトレードオフの説明図である。
FIG. 11 is an explanatory diagram of a trade-off between access times in seek and sequential reading.

【図12】ページ別バッファ読み込み/読み飛ばし処理
のフローチャートである。
FIG. 12 is a flowchart of page-by-page buffer read / skip processing.

【図13】ページのバッファへの読み込み動作の説明図
である。
FIG. 13 is an explanatory diagram of an operation of reading a page into a buffer.

【図14】バッファ領域の確保処理のフローチャートで
ある。
FIG. 14 is a flowchart of a buffer area securing process.

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

1 ファイル 2 セグメント構成手段 3 データ読み込み手段 1 file 2 segment construction means 3 data reading means

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】ファイル(1)上に離散して存在する必要
データを検索して、該データをバッファに読み込むファ
イル読み込み装置において、 読み込むべき必要データをファイル(1)上でアドレス
が連続する単位でセグメント化するセグメント構成手段
(2)と、 前記各セグメント間のファイル(1)上での読み込み位
置を移動する場合に、セグメント間を連続して読み込む
場合とシークする場合のアクセス時間を見積もり、セグ
メント間を連続して読み込む方がアクセス時間が短いと
きには、不要データを含む複数のセグメントを順次バッ
ファに読み込むデータ読み込み手段(3)とを備えるこ
とを特徴とするファイル読み込み装置。
1. In a file reading device for searching for necessary data discretely existing on a file (1) and reading the data into a buffer, the necessary data to be read is a unit in which addresses are consecutive on the file (1). Segment segmentation means (2) for segmenting with, and when moving the read position on the file (1) between the respective segments, estimate the access time when reading continuously between segments and when seeking A file reading device comprising: a data reading means (3) for sequentially reading a plurality of segments including unnecessary data into a buffer when the access time is shorter when reading between the segments continuously.
【請求項2】前記データ読み込み手段(3)は、読み込
んだデータの内必要データを使用固定バッファに、不要
データをバッファ領域が不足したとき再利用される再利
用可能バッファに格納することを特徴とする請求項1記
載のファイル読み込み装置。
2. The data reading means (3) stores necessary data of the read data in a fixed buffer for use and unnecessary data in a reusable buffer which is reused when the buffer area becomes insufficient. The file reading device according to claim 1.
【請求項3】前記データ読み込み手段(3)は、セグメ
ント間を連続して読み込む方がアクセス時間が短いとき
に、該複数のセグメントを1つのセグメントに同化さ
せ、そのセグメント単位で前記ファイル(1)からのデ
ータの読み込みを行うことを特徴とする請求項1記載の
ファイル読み込み装置。
3. The data reading means (3) assimilates the plurality of segments into one segment when the access time is shorter to read continuously between the segments, and the file (1 2.) The file reading device according to claim 1, wherein the data is read from
【請求項4】前記データ読み込み手段(3)がアクセス
時間を見積もるときの基礎となる情報は、該手段が実行
するアクセス時間の見積もり処理とは独立して外部から
定義できる情報であることを特徴とする請求項1、2又
は3記載のファイル読み込み装置。
4. The information as a basis for estimating the access time by the data reading means (3) is information that can be externally defined independently of the access time estimation processing executed by the means. The file reading device according to claim 1, 2, or 3.
【請求項5】ファイル(1)上に離散して存在する必要
データを検索して、該データをバッファに読み込む場合
に、 読み込むべき必要データをファイル(1)上でアドレス
が連続する単位でセグメント化し、 前記各セグメント間のファイル(1)上での読み込み位
置を移動する場合に、該セグメント間を連続して読み込
む場合とシークする場合のアクセス時間を見積もり、セ
グメント間を連続して読み込む方がアクセス時間が短い
ときには、不要データを含む複数のセグメントを順次バ
ッファに読み込むことを特徴とするファイル読み込み方
法。
5. When retrieving necessary data discretely existing in a file (1) and reading the data into a buffer, the necessary data to be read is segmented in units of consecutive addresses on the file (1). When moving the read position on the file (1) between the respective segments, it is better to estimate the access time when continuously reading between the segments and when seeking, and to continuously read between the segments. When the access time is short, a file reading method is characterized in that a plurality of segments including unnecessary data are sequentially read into a buffer.
【請求項6】不要データを含む複数のセグメントをバッ
ファに順次読み込む場合に、読み込んだデータの内必要
データを使用固定バッファに、不要データをバッファ領
域が不足したとき再利用される再利用可能バッファに格
納することを特徴とする請求項5記載のファイル読み込
み方法。
6. A reusable buffer in which, when a plurality of segments containing unnecessary data are sequentially read into a buffer, necessary data of the read data is used as a fixed buffer and unnecessary data is reused when the buffer area is insufficient. 6. The file reading method according to claim 5, wherein the file is stored in.
【請求項7】セグメント間を連続して読み込む方がアク
セス時間が短いときに、該複数のセグメントを1つのセ
グメントに同化させ、そのセグメント単位で前記ファイ
ル(1)からのデータの読み込みを行うことを特徴とす
る請求項5又は6記載のファイル読み込み方法。
7. When the access time is shorter to read continuously between the segments, the plurality of segments are assimilated into one segment, and the data is read from the file (1) in the segment unit. 7. The file reading method according to claim 5, wherein:
JP4053216A 1992-03-12 1992-03-12 Device and method for reading file Withdrawn JPH05257610A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4053216A JPH05257610A (en) 1992-03-12 1992-03-12 Device and method for reading file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4053216A JPH05257610A (en) 1992-03-12 1992-03-12 Device and method for reading file

Publications (1)

Publication Number Publication Date
JPH05257610A true JPH05257610A (en) 1993-10-08

Family

ID=12936641

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4053216A Withdrawn JPH05257610A (en) 1992-03-12 1992-03-12 Device and method for reading file

Country Status (1)

Country Link
JP (1) JPH05257610A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016207096A (en) * 2015-04-27 2016-12-08 富士通株式会社 Hierarchical storage device, hierarchical storage system, hierarchical storage method, and hierarchical storage program
KR20210016186A (en) * 2019-08-01 2021-02-15 삼성전자주식회사 Storage device, memory system comprising the same, and operation method thereof
JP2021105812A (en) * 2019-12-26 2021-07-26 ファナック株式会社 Information collection device
US12229438B2 (en) 2019-08-01 2025-02-18 Samsung Electronics Co., Ltd. Storage device, memory system comprising the same, and operation method thereof

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016207096A (en) * 2015-04-27 2016-12-08 富士通株式会社 Hierarchical storage device, hierarchical storage system, hierarchical storage method, and hierarchical storage program
KR20210016186A (en) * 2019-08-01 2021-02-15 삼성전자주식회사 Storage device, memory system comprising the same, and operation method thereof
US12229438B2 (en) 2019-08-01 2025-02-18 Samsung Electronics Co., Ltd. Storage device, memory system comprising the same, and operation method thereof
JP2021105812A (en) * 2019-12-26 2021-07-26 ファナック株式会社 Information collection device

Similar Documents

Publication Publication Date Title
JPH1196145A (en) Document image data storage control method
JPH0628226A (en) Method and device for data processing
JP3251138B2 (en) Hash method
EP1850250A1 (en) Method and system for renewing an index
JPH05257610A (en) Device and method for reading file
US5717918A (en) Method for concurrently performing a physical sequential scan of a database into a database buffer which is queued until a preceding scan is completed
JP2675958B2 (en) Information retrieval computer system and method of operating storage device thereof
JPH0561758A (en) Information link device
KR20010056528A (en) Data tiling method for retrieving and handling large volume of data
JP3439364B2 (en) Storage and retrieval methods for undefined length data
JP4540556B2 (en) Data access method and program thereof
JP2507344B2 (en) Data registration method and data retrieval method in image file system
JPH09293008A (en) System for controlling sort work file space
JPH05314188A (en) Retrieval processing system for data having range
JPH05197757A (en) Filing system device search data management method
JP3398672B2 (en) Intermediate data storage device
KR20030006638A (en) Apparatus And Method of Cell-based Indexing of High-dimensional Data
JPH08190501A (en) Database data storage method
JPH0228846A (en) Data storing system
JPH03100841A (en) information processing equipment
JPH07210563A (en) Index processing method
JPH05250243A (en) Data processing system for extended storage device
JPH05307578A (en) Picture retrieval device
JP2004227090A (en) Display screen setting device, display screen setting program, and recording medium
JPH05313963A (en) Deciding system for storing block to data file

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990518