JPH05204728A - Intelligent fetch system for data base retrieval - Google Patents

Intelligent fetch system for data base retrieval

Info

Publication number
JPH05204728A
JPH05204728A JP4011745A JP1174592A JPH05204728A JP H05204728 A JPH05204728 A JP H05204728A JP 4011745 A JP4011745 A JP 4011745A JP 1174592 A JP1174592 A JP 1174592A JP H05204728 A JPH05204728 A JP H05204728A
Authority
JP
Japan
Prior art keywords
input
data
blocks
block
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
JP4011745A
Other languages
Japanese (ja)
Inventor
Shigeru Manchu
茂 万仲
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.)
Hitachi Software Engineering Co Ltd
Hitachi Ltd
Original Assignee
Hitachi Software Engineering Co Ltd
Hitachi 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 Hitachi Software Engineering Co Ltd, Hitachi Ltd filed Critical Hitachi Software Engineering Co Ltd
Priority to JP4011745A priority Critical patent/JPH05204728A/en
Publication of JPH05204728A publication Critical patent/JPH05204728A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To shorten response time by decreasing the number of times for commanding retrieval in the case of retrieving a data base. CONSTITUTION:A retrieving command from a data base user 1 is analyzed by a retrieving command analyzing function 2 and a physical storage position, where an objective record exists, is decided by an input block decider 2. It is discriminated whether the decided block position is the same as the storage position calculated last time or not and as the result, the rate of reading as serial blocks in the past is registered on an integral coefficient/input history table 12. Then, the blocks having high possibility to be serially read are transferred to a main storage device 10 as the serial blocks according to one retrieving command. Therefore, when extracting plural blocks from the data base to the main storage device 10, the number of times for instructing inputs can be reduced.

Description

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

【0001】[0001]

【産業上の利用分野】デ−タベ−スの検索に係り、デ−
タベ−スをより高速に検索できるデ−タベ−ス検索のイ
ンテリジェントフェッチ方式に関するものである。
[Industrial application] Searching for a database
The present invention relates to an intelligent fetch method of database search that can search a database at a higher speed.

【0002】[0002]

【従来の技術】従来、目的とするデ−タをデ−タベ−ス
から読み出すとき、その当該デ−タのみを磁気ディスク
から読み出すか、あるいは、ひとつのデ−タ取り出し指
令の構文上から予め全デ−タ(又は部分的に纏まってい
るデ−タ)を読み出すようにしている。前者の場合に
は、必ず入力動作が伴っており、また、後者の場合に
は、1回の入力動作で、ある一定数の複数デ−タが読み
出される。
2. Description of the Related Art Conventionally, when the desired data is read from the database, only the relevant data is read from the magnetic disk, or the syntax of one data fetch command is used in advance. All data (or partially collected data) is read out. In the former case, an input operation is always involved, and in the latter case, a certain number of plural data are read out by one input operation.

【0003】なお、この種の技術としては、例えば、特
開昭57−48136号公報、特開昭58−3032号
公報、特開昭58−56145公報等に開示される。
Incidentally, this type of technique is disclosed in, for example, JP-A-57-48136, JP-A-58-3032, and JP-A-58-56145.

【0004】[0004]

【発明が解決しようとする課題】上記従来の技術では、
時間的に各々独立したデ−タ取り出し指令で検索するデ
−タ群の読み出しを、効率的に行なうことが難しかっ
た。
SUMMARY OF THE INVENTION In the above conventional technique,
It has been difficult to efficiently read out a data group to be searched by a data fetching command that is independent in terms of time.

【0005】本発明の目的は、現デ−タ取り出し指令で
の読み出しの契機において、その後に受けつけるであろ
うデ−タ取り出し指令で入力すべきデ−タの物理配置
を、過去の入力履歴から物理的連続性を予想して、予め
まとめて一回の入力動作で複数のデ−タを読み出す時
に、そのときのデ−タ数をいくつにするかを決定し、さ
らに、物理的連続性があるレベル以下になったときにも
との単一入力に戻すことにより、時間的に各々独立した
デ−タ取り出し指令で検索するデ−タ群の読み出しを、
予めまとめて読み出すことによって入力動作の回数を削
減し、個々のデ−タ取り出し指令に要する応答時間短縮
を図るものである。
An object of the present invention is to use the past input history to determine the physical layout of data that should be input by the data fetch command that will be received after the read by the current data fetch command. When predicting physical continuity and reading a plurality of data in a single input operation in advance, it is determined what the number of data at that time is to be. By returning to the original single input when the level becomes lower than a certain level, the reading of the data group to be searched by the data fetch command which is independent in terms of time is performed.
By collectively reading in advance, the number of input operations is reduced, and the response time required for each data fetch command is shortened.

【0006】[0006]

【課題を解決するための手段】上記目的は、現デ−タ取
り出し指令でのデ−タの読み出しの契機において、その
後に受けつけるであろうデ−タ取り出し指令で読み出す
べきデ−タの物理配置を、過去の入力履歴から物理的連
続性を予想して、予めまとめて1回の入力動作で複数の
デ−タを読み出す時に、そのときのデ−タ数をいくつに
するかを決定する加速機能と、物理的連続性があるレベ
ル以下になったときにもとの単一入力に戻す減速機能を
備えることにより達成される。
SUMMARY OF THE INVENTION The above object is the physical arrangement of data to be read by a data fetch command which will be received after the current data fetch command is triggered. Is an acceleration that predicts the physical continuity from the past input history and reads out a plurality of data in a single input operation in advance, and decides the number of data at that time. This is achieved by providing a function and a deceleration function that restores the original single input when the physical continuity falls below a certain level.

【0007】[0007]

【作用】過去何回か読み出したデ−タの磁気ディスク装
置上の物理配置を記憶しておき、今から読み出す真に必
要とするデ−タとともにさらに今後必要になるであろう
デ−タを予想して予め読み出しておくことにより、入力
動作の回数を削減することができる。
The physical layout of the data read several times in the past on the magnetic disk device is stored, and the data that will be read from now on and the data that will be needed in the future will be stored. By anticipating and reading in advance, the number of input operations can be reduced.

【0008】[0008]

【実施例】以下、本発明の一実施例を、図面を用いて詳
細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described in detail below with reference to the drawings.

【0009】まず、本実施例における用語を説明する。First, terms used in this embodiment will be described.

【0010】ブロック: 磁気ディスクから、メモリへ
の最小転送単位とし、1回の入力動作で入力できる。ま
た1回の入力動作で、複数のブロックも入力できる機能
を有す。ブロックには複数のレコ−ドが格納される。な
お、1回の入力動作で読み込む複数のデ−タがディスク
上物理的に連続している場合と、していない場合とでは
連続している方がより速い。これはディスク駆動装置の
ア−ムの機械的動作、及びディスクの回転待ち時間が最
も小さいからである。
Block: A minimum transfer unit from the magnetic disk to the memory, which can be input by one input operation. It also has the function of inputting multiple blocks with one input operation. A plurality of records are stored in the block. It is faster if a plurality of data read by one input operation are physically continuous on the disk and if they are not continuous. This is because the arm mechanical operation of the disk drive and the rotational waiting time of the disk are the smallest.

【0011】順整列 : ある利用者が発する検索指令
で入力すべきレコ−ドの所在するブロックが磁気ディス
ク装置上で、下位から上位へ完全に乱れなく並んで格納
されている様子をいう。
Order Alignment: A state in which blocks in which a record to be input by a search command issued by a user is located are stored side by side on the magnetic disk device from the lower level to the upper level without any disturbance.

【0012】準順整列: ほぼ順整列に近い並びをして
いる様子をいう。
Quasi-order arrangement: A state in which the arrangement is almost close to the order arrangement.

【0013】逆整列 : ある利用者が発する検索指令
で入力すべきレコ−ドの所在するブロックが磁気ディス
ク装置上で、上位から下位へ完全に乱れなく並んで格納
されている様子をいう。
Reverse Alignment: A state in which blocks in which a record to be input by a search command issued by a user is located are stored side by side on the magnetic disk device from the upper level to the lower level without being completely disturbed.

【0014】準逆整列: ほぼ逆整列に近い並びをして
いる様子をいう。
Quasi-reverse alignment: A state in which the alignment is almost nearly reverse.

【0015】非整列 : ある利用者が発する検索指令
で入力すべきレコ−ドの所在するブロックが磁気ディス
ク装置上で、一様に分布してランダムに格納されている
様子をいう。
Non-alignment: A state in which blocks in which a record to be input by a search command issued by a user is located are uniformly distributed and randomly stored on the magnetic disk device.

【0016】整列関数: 上記の整列している様子を、
定量化する算術関数であり、ある値域をもつ。その最大
値を順整列、最小値を逆整列、その中間値を非整列とす
る。準な整列を表す値は個々に決められる。
Alignment function:
It is an arithmetic function to quantify and has a certain range. The maximum value is ordered, the minimum value is reversed, and the intermediate value is unaligned. The value representing the quasi-alignment is determined individually.

【0017】整列係数: 整列関数によって求められた
値。
Alignment coefficient: A value obtained by an alignment function.

【0018】閾値 : 複数ブロック入力を適用する
範囲は準順整列から順整列までである。整列係数で、あ
る特定な値以上ならば複数ブロック入力を行う。それ以
下ならば、単一ブロック入力を行う。この特定な値を閾
値と呼び、準順整列の境界点である。
Threshold: The range to which the multiple block input is applied is from quasi-ordered to forward-ordered. If the alignment coefficient is a certain value or more, multiple blocks are input. If it is less than that, single block input is performed. This specific value is called a threshold value and is a boundary point of quasi-ordered alignment.

【0019】次に、本発明を実現するためのインテリジ
ェントフェッチ方式について説明する。
Next, an intelligent fetch method for realizing the present invention will be described.

【0020】インテリジェントフェッチ方式とは、過去
何回か読み出したデ−タの磁気ディスク装置上の物理配
置を記憶しておき、今から読み出す真に必要とするデ−
タとともにさらに今後必要になるであろうデ−タをも予
想して予め読み出しておく方式である。
The intelligent fetch method stores the physical layout of the data read several times in the past on the magnetic disk device, and reads the data that is actually needed from now on.
This is a method of predicting data that will be needed in the future as well as the data and reading it in advance.

【0021】以下に、このインテリジェントフェッチ方
式を実現するために、デ−タベ−ス利用者がDBMSに
デ−タ検索指令を発し結果を返すまでの具体的手段を、
図1により説明する。図1は内部機器の制御の流れを示
す図である。
In order to implement this intelligent fetch system, the specific means for the database user to issue a data search command to the DBMS and return the result will be described below.
This will be described with reference to FIG. FIG. 1 is a diagram showing a flow of control of internal equipment.

【0022】デ−タベ−ス利用者1からのレコ−ド検索
指令により、このレコ−ド検索指令を検索指令解析機能
2で解析し、その結果に基づいて入力ブロック決定器3
により目的とするレコ−ドが所在するブロックの物理格
納位置を決定する。整列関数器4にブロックの物理格納
位置を渡して整列係数を得る。この時、整列係数/入力
履歴表12に今の格納位置を登録する。入力器5により
磁気ディスク装置8からデ−タベ−ス(ブロック)9を
主記憶装置10に入力するときのブロック数を加速/減
速器6を使って調整する。このように得られたブロック
中のレコ−ド11をレコ−ド条件判定器7で判定し、要
求されたレコ−ドをデ−タベ−ス利用者1に対して返答
する。
In response to a record search command from the database user 1, this record search command is analyzed by the search command analysis function 2 and the input block determiner 3 is based on the result.
Determines the physical storage position of the block where the target record is located. The physical storage position of the block is passed to the alignment function unit 4 to obtain the alignment coefficient. At this time, the current storage position is registered in the alignment coefficient / input history table 12. The number of blocks when the data base (block) 9 is input from the magnetic disk device 8 to the main storage device 10 by the input device 5 is adjusted by using the acceleration / deceleration device 6. The record 11 in the block thus obtained is judged by the record condition judging device 7, and the requested record is returned to the database user 1.

【0023】次に、インテリジェントフェッチ方式の処
理の流れを、図2を用いて説明する。 あるデ−タベ−
ス利用者1にとって、レコ−ド検索指令を初めて発する
時に、ステップ101でnを0で初期化する。(nは入
力する連続するブロック数を2のn乗で求める。)2回
目以降のレコ−ド検索指令ではステップ101は実行し
ない。ステップ102で、磁気ディスク装置8から入力
すべきブロックの物理的格納位置を求める。その求めた
ブロック位置が、直前回で同じくステップ102で求め
た格納位置と同じかどうかをステップ103で判定す
る。即ち、求めたいレコ−ドが同一ブロック内にあれば
このステップ103の判定でyesとなり、異なるブロ
ックにあればnoとなる。
Next, the processing flow of the intelligent fetch method will be described with reference to FIG. A certain database
When the user 1 issues a record search command for the first time, n is initialized to 0 in step 101. (N is the number of consecutive blocks to be input and is calculated by the nth power of 2.) Step 101 is not executed in the second and subsequent record search commands. In step 102, the physical storage position of the block to be input from the magnetic disk device 8 is obtained. In step 103, it is determined whether or not the obtained block position is the same as the storage position similarly obtained in step 102 immediately before. That is, if the desired record is in the same block, the determination in step 103 is yes, and if it is in a different block, it is no.

【0024】ステップ104で整列係数/入力履歴表1
2に当該ブロック格納位置を登録する。ステップ105
では、登録してある過去の一連のブロック格納位置を整
列関数器4にかけて整列係数を求める。このように求め
た整列係数がある決められた閾値より大きいときは複数
ブロック入力する。そうでなければ複数ブロック入力し
ないで単一ブロック入力する。今まで複数ブロック入力
していたものが、ステップ106の判定でnoになる事
を減速という。これを加速/減速器6が実行する。
Alignment coefficient / input history table 1 in step 104
The block storage position is registered in 2. Step 105
Then, the past series of registered block storage positions are applied to the alignment function unit 4 to obtain the alignment coefficient. When the alignment coefficient thus obtained is larger than a predetermined threshold value, a plurality of blocks are input. Otherwise, enter a single block instead of entering multiple blocks. It is called deceleration that what has been input in a plurality of blocks until now becomes no in the determination in step 106. The accelerating / decelerating device 6 executes this.

【0025】加速するときは、ステップ110,ステッ
プ111で入力するときの連続ブロック数を決定する。
ブロック数は2のべき乗として、「1,2,4,8,1
6,32、..」と段階的に進めていく。ある特定値を
上限値としてその値に達した段階でステップ110はこ
れ以上行わない。このようにある特定値が続いている状
態の時を定速という。
When accelerating, the number of continuous blocks to be input at step 110 and step 111 is determined.
The number of blocks is a power of 2 and is "1, 2, 4, 8, 1
6, 32 ,. . I will proceed step by step. When a certain value is set as the upper limit and the value is reached, step 110 is not performed any more. When a certain specific value continues in this way, it is called constant speed.

【0026】減速するときはステップ107で、整列係
数/入力履歴表を初期化する。ステップ108でnを−
1にすることでステップ110でnが0となり単一入力
ができる。
When decelerating, in step 107, the alignment coefficient / input history table is initialized. In step 108, n-
By setting to 1, n becomes 0 in step 110, and a single input can be made.

【0027】ステップ106の判定でyes,noにか
かわらず、以前に複数ブロック入力ですでに主記憶装置
に読み込まれているかどうかステップ109で判定し、
yesならば入力する必要はない。この点においてディ
スク装置への入力動作を減らすことができ応答時間の短
縮が実現できる。反対にnoのときは主記憶装置にない
のでステップ112で入力する。その時1回の入力動作
で2のn乗個のブロックを入力する。
Regardless of yes or no in the determination in step 106, it is determined in step 109 whether or not a plurality of block inputs have been already read in the main memory,
If yes, there is no need to enter. In this respect, the input operation to the disk device can be reduced and the response time can be shortened. On the other hand, if the answer is no, it is not in the main storage device and is input in step 112. At that time, 2 n blocks are input by one input operation.

【0028】このように2のn乗個のブロックを入力し
たい時に単一ブロック入力を2のn乗回入力動作にかけ
る合計時間よりも、1回の入力動作で2のn乗個のブロ
ックを読み込む時間の方がより短いというディスク駆動
装置のハ−ド特性を利用して時間短縮を図るものであ
る。
As described above, when it is desired to input 2 n power blocks, 2 n power blocks can be input in one input operation rather than the total time for inputting a single block input to 2 n power input operations. The time is shortened by utilizing the hard characteristic of the disk drive device that the reading time is shorter.

【0029】主記憶装置に読み込まれているブロックの
中のレコ−ドが検索条件を満たすかステップ113で判
定して、yesならステップ114で、デ−タベ−ス検
索利用者にレコ−ドを返答する。
At step 113, it is judged whether the record in the block read in the main storage device satisfies the retrieval condition. If yes, at step 114, the record is given to the database retrieval user. reply.

【0030】このような一連の処理を評価すべきレコ−
ドが存在する間繰り返す。さらに当該利用者から新たな
検索指令が発せられたときは、ステップ102から実行
する。
A record for evaluating such a series of processes.
Repeat as long as there is. Further, when a new search command is issued from the user, the process is executed from step 102.

【0031】次に、図3により本発明のインテリジェン
トフェッチ方式による具体例を示す。図3は、デ−タベ
−ス利用者が発する一連の検索指令が、インテイジェン
トフェッチ方式によりどの契機に、どこから何ブロック
を入力するかを整列関数を使用して求めた整列係数と対
比した図である。21は入力ブロック決定器で決定した
一連のブロック番号、22は整列係数軸、23は連続ブ
ロック数軸、24は準順整列から正整列までの範囲、2
5は連続ブロック入力範囲、26は単一ブロック入力範
囲、27は1回の入力動作で入力するブロックの番号、
28は整列関数の定義である。
Next, FIG. 3 shows a specific example of the intelligent fetch method of the present invention. FIG. 3 compares a series of search commands issued by a database user with the alignment coefficient obtained by using the alignment function at which occasion and from what block the input by the intelligent fetch method is performed. It is a figure. 21 is a series of block numbers determined by the input block determiner, 22 is an alignment coefficient axis, 23 is a continuous block number axis, 24 is a range from quasi-order alignment to normal alignment, 2
5 is a continuous block input range, 26 is a single block input range, 27 is a block number to be input in one input operation,
28 is a definition of the alignment function.

【0032】磁気ディスク装置上に配置されたブロック
を物理格納順に1,2,3,..と連続なブロック番号
を付与する。それに対してデ−タベ−ス利用者が発する
検索指令により決まる入力すべきブロック番号が、時間
軸上に書かれてある。
The blocks arranged on the magnetic disk device are arranged in the physical storage order of 1, 2, 3 ,. . And consecutive block numbers are given. On the other hand, the block number to be input, which is determined by the search command issued by the database user, is written on the time axis.

【0033】まず最初のブロック番号1,2の入力は、
図4で示す整列関数の定義により整列係数が0のため
に、単一ブロック入力となる。ブロック番号3では、整
列係数が1になるので連続ブロック入力となる。この時
前回がブロック数が1であったので、ここでは2倍して
2ブロック入力を行う。
First of all, the input of the first block numbers 1 and 2 is
According to the definition of the alignment function shown in FIG. 4, since the alignment coefficient is 0, it becomes a single block input. In block number 3, since the alignment coefficient is 1, it becomes a continuous block input. At this time, the number of blocks was 1 at the previous time, so here, the number of blocks is doubled to input 2 blocks.

【0034】ブロック番号4では、既に入力済みの為こ
こでは入力しなくても良い。ブロック番号5では整列係
数が1であるので、さらに2倍して4ブロック入力を行
う。ブロック番号8までは、入力動作をしなくてもよ
い。
Since the block number 4 has already been entered, it need not be entered here. Since the alignment coefficient is 1 in block number 5, it is further doubled to input 4 blocks. It is not necessary to perform the input operation up to the block number 8.

【0035】ブロック番号12,14,9,11,1
2,13,14においては、整列係数が閾値と決めた
0.4を下回るためこの間に行う入力動作は全て単一ブ
ロック入力で行う。ブロック番号15で整列係数が閾値
より大きくなったので連続ブロック入力が行なわれる。
この時のブロック数は前回で1に戻ったので、ここでは
2倍して2となる。その後、ブロック番号17の時は2
倍して4ブロック入力、21の時はさらに2倍して8ブ
ロック入力が行なわれる。
Block numbers 12, 14, 9, 11, 1
In Nos. 2, 13 and 14, since the alignment coefficient is less than the threshold value of 0.4, all input operations performed during this period are performed by single block input. At block number 15, the alignment coefficient becomes larger than the threshold value, so continuous block input is performed.
Since the number of blocks at this time has returned to 1 the previous time, it is doubled to 2 here. After that, when the block number is 17, 2
4 blocks are input by doubling, and when 21 is input, doubling is further performed and 8 blocks are input.

【0036】本実施例では20種ブロックの入力で12
回の入力動作が行われ27種ブロックが実際に入力され
る。従来の方法では20回の入力動作が行われ20種ブ
ロックの入力である。
In this embodiment, 12 types of blocks are used to input 12 blocks.
The input operation is performed twice, and 27 types of blocks are actually input. In the conventional method, the input operation is performed 20 times and the input of 20 kinds of blocks is performed.

【0037】なお、本実施例ではデ−タベ−スを磁気デ
ィスク装置としたが、光ディスク装置等の大規模記憶装
置であってもよい。
Although the database is a magnetic disk device in this embodiment, it may be a large-scale storage device such as an optical disk device.

【0038】以上述べたように、従来は、取り出したい
デ−タが主記憶上にないときはN個のブロックを入力す
るのに常にN回の入力動作が必要であったが、本実施例
のインテリジェントフェッチ方式では、全くランダムな
位置からの入力では、同じくN回であるが、ほとんど物
理連続している位置からの入力の場合は、N/M回(M
は1回で入力するブロック数の最大)で行えるという効
果がある。
As described above, conventionally, when the data to be taken out is not in the main memory, N times of input operation is always required to input N blocks. In the intelligent fetch method of No. 3, when the input is from a completely random position, the same is N times, but when the input is from an almost physically continuous position, N / M (M
Has the effect that it can be performed with the maximum number of blocks input at one time.

【0039】また、N個が3M個ずつそれぞれ部分的に
連続していると、N・(3+log M)/3M回に削減できる
という効果がある。
Further, if the number of N pieces is 3M and each of them is partially continuous, there is an effect that the number can be reduced to N. (3 + log M) / 3M times.

【0040】さらに、M個連続、M個ランダムというパ
タ−ンの繰返しでN個の取り出しではN・(M+1+log
M)/2M 回に削減できるという効果がある。
Further, in the case of repeating the pattern of M continuous and M random patterns, N. (M + 1 + log
There is an effect that it can be reduced to M) / 2M times.

【0041】[0041]

【発明の効果】インテリジェントな入力により、近い将
来すぐに欲しくなるデ−タを予めメモリに存在させるこ
とになるので、後発の検索指令はディスクから入力する
ことなく、すぐにメモリ参照ができ入力時間が短縮され
るので、デ−タベ−ス利用者に速く検索結果を返すこと
ができ、より良いサ−ビス提供ができる。
By the intelligent input, the data which is desired soon will be made to exist in the memory in advance, so that the subsequent retrieval command can be referred to the memory immediately without inputting it from the disk. Since the search result is shortened, the search result can be returned to the database user quickly and a better service can be provided.

【0042】[0042]

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

【図1】デ−タベ−ス利用者がDBMSにデ−タ検索指
令を発し結果を返すまでの内部機器の制御の流れを示す
図である。
FIG. 1 is a diagram showing a control flow of an internal device until a data base user issues a data search command to a DBMS and returns a result.

【図2】インテリジェントフェッチを行う処理の流れを
示すフロ−チャ−トである。
FIG. 2 is a flowchart showing a flow of processing for performing intelligent fetch.

【図3】インテイジェントフェッチ方式により、どの契
機に、どこから何ブロックを入力するかを整列関数を使
用して求めた整列係数と対比した図である。
FIG. 3 is a diagram comparing in what triggers and from what block from what, by an intelligent fetch method, an alignment coefficient obtained by using an alignment function.

【図4】図3で使用する整列関数の定義とそれを用いた
計算結果としての整列係数を示す図である。
FIG. 4 is a diagram showing a definition of an alignment function used in FIG. 3 and an alignment coefficient as a calculation result using the alignment function.

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

2…検索指令解析機能、3…入力ブロック決定器、4…
整列関数器、5…入力器、6…加速/減速器、7…レコ
ード条件判定器。
2 ... Search command analysis function, 3 ... Input block determiner, 4 ...
Alignment function unit, 5 ... input unit, 6 ... acceleration / deceleration unit, 7 ... record condition determination unit.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】デ−タベ−スからある任意条件のデ−タを
読み出す時、該デ−タベ−スに格納されるデ−タの物理
的格納位置を入力履歴として記憶する第1の手段と、該
第1の手段に記憶された入力履歴に基づいて、最近読み
出したデ−タ群が、完全に、あるいはある程度格納位置
が物理的に連続していると判断した時、以後読み出すデ
−タ群も物理的に連続しているであろうと予想して、物
理連続している一群のデ−タを1回の読み出し動作で予
め該デ−タベ−スから読み出しておく第2の手段を備え
デ−タベ−ス検索の時間短縮を図ることを特徴とするデ
−タベ−ス検索のインテリジェントフェッチ方式。
1. A first means for storing the physical storage position of the data stored in the data base as an input history when the data under a certain arbitrary condition is read out from the data base. Based on the input history stored in the first means, when the recently read data group is judged to be completely or to some extent physically consecutive storage positions, the data to be read thereafter is read. A second means for preliminarily reading a group of physically continuous data from the data base in a single read operation, expecting that the data group will also be physically continuous. An intelligent fetch method for database retrieval, which is characterized by shortening the time required for database retrieval.
【請求項2】前記第2の手段は、格納位置の連続性の学
習により、1回の読み出し動作で読み出すデ−タ数を変
更する第3の手段を有することを特徴とする請求項1記
載のデ−タベ−ス検索のインテリジェントフェッチ方
式。
2. The second means comprises a third means for changing the number of data read by one read operation by learning the continuity of the storage positions. An intelligent fetch method for database search.
【請求項3】前記第3の手段は、各デ−タベ−ス利用
者、各デ−タベ−ススキ−マ別に各々学習することを特
徴とする請求項2記載のデ−タベ−ス検索のインテリジ
ェントフェッチ方式。
3. The database retrieval according to claim 2, wherein said third means learns for each database user and each database schema. Intelligent fetch method.
JP4011745A 1992-01-27 1992-01-27 Intelligent fetch system for data base retrieval Pending JPH05204728A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4011745A JPH05204728A (en) 1992-01-27 1992-01-27 Intelligent fetch system for data base retrieval

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4011745A JPH05204728A (en) 1992-01-27 1992-01-27 Intelligent fetch system for data base retrieval

Publications (1)

Publication Number Publication Date
JPH05204728A true JPH05204728A (en) 1993-08-13

Family

ID=11786562

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4011745A Pending JPH05204728A (en) 1992-01-27 1992-01-27 Intelligent fetch system for data base retrieval

Country Status (1)

Country Link
JP (1) JPH05204728A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0784842A (en) * 1993-09-14 1995-03-31 Nec Corp Relative record batch read system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63310020A (en) * 1987-06-12 1988-12-19 Hitachi Ltd Data base subschema looking-ahead system
JPH01309149A (en) * 1988-06-07 1989-12-13 Fujitsu Ltd Input/output control system
JPH0218645A (en) * 1988-07-07 1990-01-22 Ricoh Co Ltd Memory control system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63310020A (en) * 1987-06-12 1988-12-19 Hitachi Ltd Data base subschema looking-ahead system
JPH01309149A (en) * 1988-06-07 1989-12-13 Fujitsu Ltd Input/output control system
JPH0218645A (en) * 1988-07-07 1990-01-22 Ricoh Co Ltd Memory control system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0784842A (en) * 1993-09-14 1995-03-31 Nec Corp Relative record batch read system

Similar Documents

Publication Publication Date Title
EP0250705B1 (en) Method and apparatus for retrieval of symbol strings from data
EP0295876A2 (en) Parallel associative memory
KR19990041374A (en) Surface search method in terrain tracking device
US6973446B2 (en) Knowledge finding method
EP0232386A1 (en) A pattern addressable memory.
JPH05204728A (en) Intelligent fetch system for data base retrieval
AU2005226042B2 (en) System and method for blocking key selection
CN114758191A (en) Image identification method and device, electronic equipment and storage medium
Ching-Jong A new node selection strategy in the branch-and-bound procedure
JP3110210B2 (en) Data analysis support method
KR920006794B1 (en) Method for searching an association matrix
US20020112207A1 (en) Method and system for inferring fault propagation paths in combinational logic circuit
JPH0552607A (en) Method for supporting faulty operation of plant and its device, and method for learning faulty operation and its device
Obuchowicz Adaptation in a time-varying landscape using an evolutionary search with soft selection
JPS6266326A (en) Array processing system for japanese data
JPH01315029A (en) Test method for postscript type optical disk device
JP2578777B2 (en) Set-occurrence storage order determining device for multi-tier database
JPH0580977A (en) Data processor
CN117216099A (en) Multimode database-oriented acceleration query method and system
CN116992929A (en) Network architecture determining method, device and storage medium
JPS63282835A (en) Information retrieving system
CN1372267A (en) Method and device for controlling interdependent sequence in multi-quene structure
Landrum A recursive algorithm to prevent deadlock in flexible manufacturing systems
JPH05108664A (en) Parts evolution processor
KR20190028890A (en) Binary Tree based High-Speed Multi-Class Circuit Device