JPH02268368A - Data processor - Google Patents

Data processor

Info

Publication number
JPH02268368A
JPH02268368A JP1091107A JP9110789A JPH02268368A JP H02268368 A JPH02268368 A JP H02268368A JP 1091107 A JP1091107 A JP 1091107A JP 9110789 A JP9110789 A JP 9110789A JP H02268368 A JPH02268368 A JP H02268368A
Authority
JP
Japan
Prior art keywords
data
file
main memory
area
processed
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
JP1091107A
Other languages
Japanese (ja)
Inventor
Susumu Matsuda
進 松田
Kazuo Togo
東郷 一生
Takao Iwasaki
孝夫 岩崎
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP1091107A priority Critical patent/JPH02268368A/en
Priority to US07/413,729 priority patent/US5247665A/en
Publication of JPH02268368A publication Critical patent/JPH02268368A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To efficiently execute the arithmetic processing of high level by generating partial elements of a result file in the record order indicated by identifiers and storing them in an external storage. CONSTITUTION:When a processing object and operation are indicated to a CPU 1, the CPU 1 writes a file of the processing object in a first area constituting an input buffer I-BUF of a main storage 4. A control part 53 in a relation arithmetic processing device 5 extracts a key K1 from each record of file data stored in the first area and adds an identifier R1 to generate input data and writes it an a buffer memory 52. When this processing is set to the mode where the file is taken in with a partial element as the unit because the file cannot be stored in the buffer, the next partial element is taken into the buffer I-BUF at the time of terminating key extraction of each partial element stored in the buffer I-BUF. Thus,the output file according to the result identifier array is generated to quickly execute the data processing without requiring the arithmetic processing.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は、ソート及びリレーショナルデータベースに於
ける関係演算を演算処理対象に含むデータベースを対象
とした複雑な演算処理が実行可能なデータ処理装置に関
する。
[Detailed Description of the Invention] [Objective of the Invention] (Industrial Application Field) The present invention is capable of performing complex arithmetic processing on a database that includes sorting and relational operations in a relational database. The present invention relates to a data processing device.

(従来の技術) 従来、データベースを対象としたデータ処理機構として
、特願昭62−24751号に示される「選択装置」が
存在する。この「選択装置」は、入出力チャネル或いは
ディスク制御装置内に置かれ、大容量データファイルと
して用いられる磁気ディスク装置から読出されたデータ
を直接に受けて、条件を満足するデータを選びだす、所
謂オンザフライ処理による効率的なデータ検索機構を実
現している。
(Prior Art) Conventionally, there is a "selection device" disclosed in Japanese Patent Application No. 62-24751 as a data processing mechanism for databases. This "selection device" is placed in the input/output channel or disk control device, and directly receives data read from a magnetic disk device used as a large-capacity data file, and selects data that satisfies conditions. It realizes an efficient data retrieval mechanism using on-the-fly processing.

しかしながら上記した装置に於いては以下のような問題
を残していた。即ち、上記した装置構成に於いては、単
純な選択処理のみを対象としたとき、例え対象ファイル
が複数の磁気ディスク装置に分散して置かれていても、
各磁気ディスク装置の選択結果の情報を合算することに
より所望の選択結果を得ることができる。しかし、ソー
トあるいはリレーショナルデータベース(以下RDBと
称す)に於ける関係演算等の複雑な演算を対象とした場
合は、上記したような複数の磁気ディスク装置の結果の
情報を単純に合算する程度の処理では所望の結果情報を
得ることができず、対象となるデータ各々の再度の演算
処理が必要となる。
However, the above-mentioned device still has the following problems. That is, in the above device configuration, when only a simple selection process is targeted, even if the target files are distributed across multiple magnetic disk devices,
A desired selection result can be obtained by adding up the information on the selection results of each magnetic disk device. However, when the target is complex operations such as sorting or relational operations in a relational database (hereinafter referred to as RDB), processing that simply adds up the information of the results of multiple magnetic disk devices as described above is required. In this case, it is not possible to obtain the desired result information, and it is necessary to perform calculation processing again on each target data.

更に、上記した従来の装置構成に於いては、選択装置に
磁気ディスク装置が直結される接続構成であり、磁気デ
ィスク装置より読取ったデータを直接、選択装置内のバ
ッファに記憶する手段を採っていることから、キ一部の
抽出処理速度とディスクの読込み処理速度とが相互に影
響し、これに伴いファイルの形式、抽出キー数(マルチ
キーのキー数)等に制約を受けて、この面からも処理性
能、処理速度等が制約を受けるという問題があった。
Furthermore, in the conventional device configuration described above, the magnetic disk device is directly connected to the selection device, and a means is adopted in which data read from the magnetic disk device is directly stored in a buffer within the selection device. Therefore, the extraction processing speed of some keys and the disk read processing speed interact with each other, and due to this, there are restrictions on file format, number of extraction keys (number of keys for multi-key), etc. There was also the problem that processing performance, processing speed, etc. were restricted.

又、ソータ等の専用ハードウェアをシステムバス上に設
けてなるデータ処理装置に於いては、処理対象となるフ
ァイルの全てを主記憶上に置き、専用ハードウェアによ
り処理した結果の情報を主記憶に貯えた後、CPUの制
御の下に外部記憶に格納していた。この際、処理対象フ
ァイルが大きくなって主記憶に納まらないときは、その
ファイルを主記憶に納まる所定データ量に分割して主記
憶に取込み、分割した部分データ毎に演算を行なって後
、更にその各部分データ毎の演算結果データを対象に演
算を行なうことにより、最終結果の出力ファイルを得る
ことができる。しかしながらこのようなデータ処理手段
に於いては、扱うデータ量が多くなればなる程、ディス
ク等の外部記憶へのアクセス回数及び演算の回数が増え
、処理スピードが大幅に低下してしまう。
In addition, in a data processing device that has dedicated hardware such as a sorter on the system bus, all files to be processed are stored in the main memory, and information resulting from processing by the dedicated hardware is stored in the main memory. After storing the information in the memory, it was stored in an external memory under the control of the CPU. At this time, if the file to be processed becomes too large to fit in the main memory, the file is divided into a predetermined amount of data that can fit in the main memory, is imported into the main memory, and after performing calculations on each divided partial data, By performing calculations on the calculation result data for each partial data, an output file of the final result can be obtained. However, in such data processing means, as the amount of data to be handled increases, the number of accesses to external storage such as a disk and the number of calculations increase, resulting in a significant reduction in processing speed.

(発明が解決しようとする課題) 上述したように従来の装置構成に於いては、単純な選択
処理のみを対象としたとき対象ファイルが複数の磁気デ
ィスク装置に分散して置かれていても各磁気ディスク装
置の選択結果の情報を合算することにより所望の選択結
果を得ることができるが、ソートあるいはRDBに於け
る関係演算等の複雑な演算を対象とした場合は各磁気デ
ィスク装置より得たデータ各々の再度の演算処理が必要
となることから、処理の繁雑化及びこれに伴う処理性能
の低下を招き実用に供し得ない。
(Problems to be Solved by the Invention) As mentioned above, in the conventional device configuration, when only a simple selection process is targeted, even if the target files are distributed across multiple magnetic disk devices, each The desired selection result can be obtained by summing up the information on the selection results of the magnetic disk drives, but when the target is complex calculations such as sorting or relational calculations in RDB, information obtained from each magnetic disk drive can be obtained. Since it is necessary to perform arithmetic processing on each piece of data again, the processing becomes complicated and the processing performance decreases accordingly, making it impossible to put it into practical use.

又、データベースを対象としたソータ等の専用ハードウ
ェアをシステムバス上に設けてなるデータ処理装置に於
いて、処理対象ファイルが主記憶に納まらないとき、そ
のファイルを複数の処理単位に分割し、部分データ単位
で演算を行なって後、更にその各部分データ毎の演算結
果データを対象に演算を行ない、最終結果の出力ファイ
ルを得ようとしたときは、外部記憶へのアクセス回数及
び演算回数が増え、処理スピードが大幅に低下してしま
うという問題があった。
In addition, in a data processing device equipped with dedicated hardware such as a sorter for databases on the system bus, when a file to be processed does not fit in the main memory, the file is divided into multiple processing units, If you perform an operation on a unit of partial data and then perform an operation on the operation result data of each partial data to obtain the final result output file, the number of accesses to external storage and the number of operations will be reduced. There was a problem in that the processing speed was significantly reduced.

本発明は上記実情に鑑みなされたもので、ソートあるい
はRDBに於ける関係演算等の複雑な演算を対象とした
高度のデータ処理を簡単な制御で効率良く実行できるも
ので、特に対象ファイルが複数の磁気ディスク装置に分
散されている場合、処理すべきデータ量が主記憶容量を
越える場合等に於いて、上記したような高度の演算処理
を能率良く実行できるデータベース処理機構を提供する
ことを目的とする。
The present invention was developed in view of the above circumstances, and is capable of efficiently executing advanced data processing for complex operations such as sorting or relational operations in RDB with simple control. The purpose of the present invention is to provide a database processing mechanism that can efficiently perform the above-mentioned high-level arithmetic processing when the amount of data to be processed exceeds the main memory capacity, etc. shall be.

[発明の構成] (課題を解決するための手段及び作用)本発明は、処理
対象ファイルのデータ量が主記憶容量を越えるとき、処
理対象ファイルの部分要素毎に、キーの抽出と同キーに
識別子を付加する処理を行ない、これを繰返すことによ
って得られた処理対象ファイル全ての識別子とキーをベ
アにしたデータ列に対して、ソート、マージ等の演算処
理を行なう。この結果、得られた識別子列と対象ファイ
ルの論理情報及び物理情報から、上記識別子列で示され
るレコードを含む複数のデータブロックを主記憶上へ読
込み、このデータから上記識別子列で示されるレコード
類に結果ファイルの部分要素を作成して、これを外部記
憶へ出力する。この処理を上記結果識別子列の全ての識
別子について行なうことにより、対象ファイルのデータ
量が主記憶の容量を越える場合でも、ソートあるいはR
DBに於ける関係演算等の処理を高速に能率良(実行で
きる。
[Structure of the Invention] (Means and Effects for Solving the Problems) When the amount of data of a file to be processed exceeds the main memory capacity, the present invention extracts a key and extracts the same key for each partial element of the file to be processed. A process of adding an identifier is performed, and arithmetic processes such as sorting and merging are performed on the data string that is bare of the identifiers and keys of all the files to be processed obtained by repeating this process. As a result, from the obtained identifier string and the logical information and physical information of the target file, multiple data blocks containing records indicated by the above identifier string are read into the main memory, and from this data, the records indicated by the above identifier string are Create partial elements of the result file and output them to external storage. By performing this process on all the identifiers in the above result identifier string, even if the amount of data in the target file exceeds the main memory capacity, sorting or R
Processing such as relational calculations in the DB can be executed quickly and efficiently.

(実施例) 以下図面を参照して本発明の詳細な説明する。(Example) The present invention will be described in detail below with reference to the drawings.

第1実施例 第1図は本発明の第1実施例を示すブロック図である。First example FIG. 1 is a block diagram showing a first embodiment of the present invention.

第1図に於いて、■はシステム全体の制御を司るCPU
であり、ここではシステムバス(S−Bus )6に接
続された入出力チャネル2,2.・・・、関係演算処理
装置5等を制御対象下に置き、ソートあるいはRDBに
於ける関係演算等を対象としたデ−夕処理時に於いて、
入出力チャネル2,2.・・・に接続された磁気ディス
ク装置3,3.・・・より対象ファイルを読出し、主記
憶4上の入力バッファ(1−BUF)となる第1の領域
に書込む制御機能をもつ。この際、処理対象ファイルが
上記人力バッファ(1−BUF)のサイズを越えるとき
は、処理対象ファイルを主記憶4上の入力バッファサイ
ズを単位とした複数の部分要素に分けて上記人力バッフ
ァ(I−BUF)に読込み、後述するキー抽出処理が終
了する度に、残る次の部分要素を取込む。又、CPUI
は、処理対象ファイルに関する情報(ファイル形式、ブ
ロック長、レコード長等を含むファイル情報)とそのフ
ァイルに対する演算指示等を関係演算処理装置5へ送付
する制御機能と、関係演算処理装置5で得られた主記憶
4上の第2の領域に格納された結果識別子列(R1゜R
j、・・・)と上記対象ファイルの論理情報及び物理情
報をもとに演算結果レコードのディスク内位置情報列(
DAi 、 DAj 、・・・)を得る処理手段と、同
ディスク内位置情報列(DAi 、 DAj 、・・・
)に従うレコードを取出すためのディスクアドレス生成
手段と、同アドレスに従う磁気ディスク装置3.3゜・
・・の読出しデータから上記ディスク内位置情報を先頭
位置とするレコードデータを切出し、主記憶4の予め定
められた第3の領域に上記位置情報列順に記憶してゆぐ
処理手段と、同第3の領域に記憶された演算結果のレコ
ード列が所定データ量となったとき、予め定められた磁
気ディスク装置3上の出カフアイル格納、領域に格納す
るための入出力チャネル2への手続きを行なう処理手段
とをもつ。
In Figure 1, ■ is the CPU that controls the entire system.
Here, input/output channels 2, 2 . . . are connected to a system bus (S-Bus) 6. . . . When the relational calculation processing device 5 and the like are placed under control and data processing is performed for sorting or relational calculations in RDB, etc.,
Input/output channels 2, 2. The magnetic disk devices 3, 3 . . . . . . has a control function of reading the target file and writing it into the first area which becomes the input buffer (1-BUF) on the main memory 4. At this time, if the file to be processed exceeds the size of the human buffer (1-BUF), the file to be processed is divided into a plurality of partial elements whose unit is the input buffer size in the main memory 4, and -BUF), and every time the key extraction process described below is completed, the next remaining partial element is read. Also, CPUI
is a control function that sends information regarding the file to be processed (file information including file format, block length, record length, etc.) and calculation instructions for the file to the relational processing unit 5, and The result identifier string (R1゜R
j,...) and the logical information and physical information of the target file above, calculate the in-disk position information string of the operation result record (
DAi, DAj, . . .), and a processing means for obtaining the same disc position information sequence (DAi, DAj, . . .);
) and a magnetic disk device 3.3゜ that follows the same address.
. . . processing means for extracting record data having the above-mentioned in-disk position information as the leading position from the read data, and storing it in a predetermined third area of the main memory 4 in the order of the above-mentioned position information string; When the record string of the calculation results stored in the area 3 reaches a predetermined amount of data, procedures are performed to store it in the output file on the predetermined magnetic disk device 3 and to the input/output channel 2 for storing it in the area. and a processing means.

2はシステムバス6上に接続された入出力チャネル(l
1O−C1()であり、CPUIの制御の下に、制御対
象下にある入出力装置番アクセス制御するもので、ここ
では複数の磁気ディスク装置3,3゜・・・をアクセス
制御対象下におく。
2 is an input/output channel (l) connected to the system bus 6.
1O-C1(), which controls access to the input/output device numbers under the control target under the control of the CPUI.Here, multiple magnetic disk devices 3, 3... are under the access control target. put.

3.3.・・・はそれぞれ入出力チャネル2の制御対象
下に置かれた磁気ディスク装置(DISK)であり、デ
ータベースを構成する各種ファイル構造のデータ群が格
納される。尚、図中、A、Bは処理対象ファイル(入力
ファイル)、Rは出力ファイル格納領域に格納された出
力ファイルを示している。
3.3. ... are magnetic disk devices (DISK) placed under the control of the input/output channel 2, and data groups of various file structures constituting the database are stored. In the figure, A and B indicate files to be processed (input files), and R indicates an output file stored in the output file storage area.

4はシステムバス8上に接続された主記憶(HEM)で
あり、ここでは処理対象ファイル又はその部分要素を格
納するための入力バッファ(1−BUF)となる第1の
領域と、この第1の領域に格納される処理対象ファイル
に関する情報(ファイル形式、ブロック長、レコード長
等を含むファイル情報)並びに演算指示、演算結果等の
各情報、上記処理対象ファイルの演算結果に従う結果識
別子列、同結果怠別子列に従うディスク内位置情報列等
を貯える第2の領域と、演算結果のレコード列でなる部
分出力データを貯える第3の領域とが設けられる。
4 is a main memory (HEM) connected to the system bus 8, which includes a first area serving as an input buffer (1-BUF) for storing a file to be processed or a partial element thereof; Information about the file to be processed stored in the area (file information including file format, block length, record length, etc.), information such as calculation instructions, calculation results, result identifier string according to the calculation result of the above file to be processed, etc. A second area for storing an in-disk position information sequence according to a resultant identifier sequence, and a third area for storing partial output data consisting of a record sequence as a result of an operation are provided.

5はシステムバス6上に接続された関係演算処理装置(
ROPU)であり、上記主記憶4の第2の領域に格納さ
れた処理対象ファイルに関する情報及び演算指示に従い
上記主記憶4上の入力バッファ(I−BUF)となる第
1の領域に格納された処理対象ファイル(又はその部分
要素)のレコードから処理対象となるキー(キーフィー
ルド) Klを抽出し、そのキーをもつレコードのファ
イル内での通し番号(レコード番号)を識別子R1とし
て上記キーに1に付加する処理手段と、そのキーに1と
識別子R1の組でなる°、処理対象ファイルの対象レコ
ード全てについてのデータを入力データ(旧)として内
部のバッファ(バッファメモリ52)に格納する手段と
、このバッファ(バッファメモリ52)に貯えられたキ
ーに1と識別子R1の組でなる入力データ(旧)のキー
値を対象に上記演算指示に従う演算を実行する演算処理
機能と、その演算結果として得られたデータ列から順に
識別子Riを抽出して、その識別子列(結果識別子列)
を上記主記憶4上の第2の領域に格納する処理機能とを
有してなるもので、演算部51.バッファメモリ52、
制御部53等の構成要素でなる。これら構成要素のうち
、制御部53は、主記憶4の第2の領域に格納された処
理対象ファイルに関する情報及び演算指示に従い上記主
記憶4上の第1の領域に格納された処理対象ファイル又
はその部分要素の各レコードから処理対象となるキーK
lを抽出し、そのキーをもつレコードのファイル内での
通し番号(レコード番号)を識別子Rtとして上記キー
に1に付加し、そのキ一部に1と識別子1?Iの組でな
る入力データ(DI)を生成して、処理対象ファイルの
対象レコード全ての人力データ(DI)をバッファメモ
リ52上に構成する。又、演算部51より受けた結果識
別子列でなる出力データ(DO)を上記主記憶4上の第
2の領域に格納する。演算部51はバッファメモリ52
より読出した入力データ(DI)のキー値を対象に上記
演算指示に従う演算を実行する。更に、その演算結果と
して得たバッファメモリ52上のデータ列から順に識別
子R1を抽出し、これを出力データ(Do)として制御
部53に送出する。この出力データ(Do)は制御部5
3を介して主記憶4上の第2の領域に格納される。
5 is a relational processing unit (
ROPU) and is stored in the first area that becomes the input buffer (I-BUF) on the main memory 4 according to the information and calculation instructions regarding the file to be processed stored in the second area of the main memory 4. Extract the key (key field) Kl to be processed from the record of the file to be processed (or its partial element), and set the serial number (record number) within the file of the record with that key to 1 as the identifier R1 in the above key. a processing means for adding data, a key consisting of a pair of 1 and an identifier R1, and means for storing data regarding all target records of a file to be processed in an internal buffer (buffer memory 52) as input data (old); An arithmetic processing function that executes an arithmetic operation according to the above arithmetic instruction on the key value of the input data (old) consisting of a pair of key 1 and identifier R1 stored in this buffer (buffer memory 52), and obtains the result of the arithmetic operation. The identifier Ri is extracted in order from the data string, and the identifier string (result identifier string) is
It has a processing function of storing . buffer memory 52,
It consists of components such as a control section 53. Among these components, the control unit 53 controls the processing target file stored in the first area of the main memory 4 or Key K to be processed from each record of the subelement
l is extracted, and the serial number (record number) of the record with that key in the file is added to the above key as an identifier Rt, and 1 and the identifier 1? are added to a part of the key. Input data (DI) consisting of a set of I is generated, and manual data (DI) of all target records of the processing target file are configured on the buffer memory 52. Further, output data (DO) consisting of a result identifier string received from the arithmetic unit 51 is stored in a second area on the main memory 4. The calculation unit 51 has a buffer memory 52
The calculation according to the above calculation instruction is performed on the key value of the input data (DI) read from the input data (DI). Further, the identifier R1 is sequentially extracted from the data string on the buffer memory 52 obtained as a result of the calculation, and sent to the control unit 53 as output data (Do). This output data (Do) is
3 and is stored in the second area on the main memory 4.

ここで上記第1図を参照して本発明の第1実施例に於け
る動作を説明する。
The operation of the first embodiment of the present invention will now be described with reference to FIG. 1 above.

CPUIはシステムバス6を介して図示しない′端末側
の入力機構よりソート(昇順/降順)又は関係演算等の
処理対象及び演算指示を受けると、システムバス6及び
入出力チャネル2を介して処理対象となるファイルを磁
気ディスク装置3,3゜・・・より読込み、主記憶4上
の入力バッファ(!−BUF)を構成する第1の領域に
書込む(第1図Sl参照)。
When the CPU receives processing targets and calculation instructions such as sorting (ascending/descending) or relational calculations from an input mechanism on the terminal side (not shown) via the system bus 6, the CPU receives the processing targets via the system bus 6 and the input/output channel 2. A file is read from the magnetic disk devices 3, 3°, . . . and written into the first area constituting the input buffer (!-BUF) on the main memory 4 (see Sl in FIG. 1).

この際、処理対象ファイルが上記人力バッファ(1−B
UF)のメモリサイズを越えるときは、そのバッファサ
イズに相当するデータ量でなる部分要素に分けて上記入
力バッファ(1−BUF)に取込む。又、処理対象ファ
イルが、システムバス8につながる複数の入出力チャネ
ル2,2.・・・の各制御対象下にある磁気ディスク装
置3,3゜・・・に分散して置かれているときは、CP
U1が処理対象ファイルのファイル構成に従い選択的に
入出力チャネルを指定してアクセス指示を出し、入出力
チャネル2の制御の下に、その読出した対象ファイルの
データが主記憶4に格納される。
At this time, the file to be processed is the manual buffer (1-B
When the memory size exceeds the memory size of the input buffer (1-BUF), the data is divided into partial elements each having an amount of data corresponding to the buffer size and taken into the input buffer (1-BUF). Further, the files to be processed are connected to a plurality of input/output channels 2, 2 . When the magnetic disk drives 3, 3゜, etc. under the control of... are distributed, the CP
U1 selectively specifies an input/output channel according to the file structure of the file to be processed and issues an access instruction, and the data of the read target file is stored in the main memory 4 under the control of the input/output channel 2.

CPUIは上述の如くして処理対象ファイル又はその部
分要素を主記憶4上の入力バッファ(1−BUF)を構
成する第1の領域に読込むと、その対象ファイルに関す
る情報(ファイル形式、ブロック長、レコード長等を含
むファイル情報)と、そのファイルに対する演算指示と
、演算結果に従う結果識別子列、演算結果のレコード列
でなる部分出力データ等を格納するための主記憶4上の
各領域指定情報とを含む各種の情報を関係演算処理装置
5に送出し、関係演算処理装置5に起動をかける。
When the CPUI reads the file to be processed or its partial elements into the first area constituting the input buffer (1-BUF) on the main memory 4 as described above, the CPU reads information regarding the file (file format, block length, etc.). (file information including record length, etc.), calculation instructions for the file, result identifier string according to the calculation result, and each area designation information in the main memory 4 for storing partial output data consisting of the record string of the calculation result, etc. It sends various types of information including information to the relational arithmetic processing device 5, and activates the relational arithmetic processing device 5.

関係演算処理装置5はCPUIより上記各情報を受ける
と、その指示に従って演算部51の動“作モードのセッ
トアツプを行ない、キーの抽出処理を含む上記指示に従
うソート又はRDBに於ける関係演算処理を実行する。
When the relational calculation processing unit 5 receives the above information from the CPUI, it sets up the operation mode of the calculation unit 51 according to the instructions, and performs sorting or relational calculation processing in the RDB according to the above instructions, including key extraction processing. Execute.

即ち、関係演算処理装置5内の制御部53は、主記憶4
上の入力バッファ(1−BUF)を構成する第1の領域
に格納されたファイルデータの各レコードから指定キー
に従うキー(キーフィールド)K1を抽出し、その抽出
したキーに1各々に、当該キーをもつレコードのファイ
ル内での通し番号(レコード番号)を識別子R1として
付加して、その抽出したキーKlと識別子R1を組にし
た入力データ(DI)を生成し、同データをバッファメ
モリ52に書込む(第1図82参照)。
That is, the control unit 53 in the relational arithmetic processing device 5 controls the main memory 4
Extract the key (key field) K1 according to the specified key from each record of the file data stored in the first area constituting the input buffer (1-BUF) above, and write one key field to each of the extracted keys. The serial number (record number) of the record in the file with the file name is added as an identifier R1, input data (DI) is generated in which the extracted key Kl and identifier R1 are combined, and the same data is written to the buffer memory 52. (See Figure 1, 82).

この際、制御部53はバッファメモリ52へのデータ送
出に同期して、そのデータがキーKlであるか識別子^
1であるかを示すフラグを各データに付加する。
At this time, the control unit 53 synchronizes with the sending of data to the buffer memory 52 and checks whether the data is the key Kl or not using the identifier ^
A flag indicating whether it is 1 is added to each data.

このキー抽出処理に於いて、処理対象ファイルが一度に
入力バッファ(1−BUF)に納まらず部分要素単位で
入力バッファ(I−BUF)に取込む処理モードである
ときは、上記人力バッファ(1−BUF)に貯えられた
部分要素のキー抽出処理が終了する度に、次の処理対象
となる部分要素が入力バッファ(1−BUF)に取込ま
れる。
In this key extraction process, if the processing target file does not fit into the input buffer (1-BUF) at once and is in the processing mode where it is imported into the input buffer (I-BUF) in units of partial elements, the above-mentioned manual buffer (1-BUF) -BUF) Each time the key extraction process for the partial element stored in the input buffer (1-BUF) is completed, the next partial element to be processed is taken into the input buffer (1-BUF).

このような部分要素毎の十−抽出処理が処理対象ファイ
ルの終了まで繰返し実行される。
Such extraction processing for each partial element is repeatedly executed until the end of the file to be processed.

上記したような、キー抽出処理による、抽出キーKlと
識別子R1を組にした入力データ(DI)のバラフアメ
モリ52への書込みが、処理対象ファイルのすべての対
象レコードについて実行されることにより、バッファメ
モリ52上には、処理対象ファイルすべてに対しての、
キーに1と識別子R1をペアにしたデータ列が構成され
る。
By writing the input data (DI), which is a pair of extraction key Kl and identifier R1, into the buffer memory 52 through the key extraction process as described above for all target records of the processing target file, the buffer memory 52, for all files to be processed,
A data string is configured in which the key is a pair of 1 and the identifier R1.

この処理対象ファイルすべてに対しての入力データ(D
I)でなるデータ列がバッファメモリ52上に構成され
ると、制御部53は演算部51に起動をかける。
Input data (D
When the data string consisting of I) is constructed on the buffer memory 52, the control section 53 activates the calculation section 51.

演算部51はバッファメモリ52より入力データ(旧)
を上記フラグとともに順次読込み、上記CPUIからの
演算指示に従う演算を各抽出キーに対して実行する。そ
して、この演算の結果として得られたデータ列から順に
識別子^1. A2.・・・を抽出し、この結果識別子
列でなる出力データ(Do)を制御部53に送出する。
The calculation unit 51 receives input data (old) from the buffer memory 52.
are sequentially read together with the above-mentioned flags, and the calculations according to the calculation instructions from the CPUI are executed for each extraction key. Then, identifiers ^1. A2. . . . and output data (Do) consisting of the resulting identifier string is sent to the control unit 53.

制御部53は演算部51より受けた結果識別子列でなる
上記出力データ(DO)を上記主記憶4上の予め指定さ
れた第2の領域へ格納し、処理対象ファイル全てに対し
ての演算が終了して、その結果識別子列が第2の領域上
に構成されると、その旨をCPUIに通知する(第1図
83参照)。
The control unit 53 stores the output data (DO) consisting of the result identifier string received from the calculation unit 51 in a prespecified second area on the main memory 4, and performs calculations on all files to be processed. When the process is finished and the resultant identifier string is constructed on the second area, this is notified to the CPUI (see FIG. 1, 83).

CPUIは、関係演算処理装置5の制御部53から上記
演算終了通知を受けると、主記憶4の第2の領域上に於
いて、上記結果識別子列(R1,Rj。
When the CPUI receives the notification of the completion of the calculation from the control unit 53 of the relational calculation processing device 5, it stores the result identifier string (R1, Rj) in the second area of the main memory 4.

・・・)と処理対象ファイルの論理情報及び物理情報を
もとに、演算結果レコードのディスク内位置情報列(D
Ai 、 DAj 、・・・)を得、更にこのディスク
内位置情報列(DAI 、 oAj、・・・)をもとに
、演算結果のレコード格納領域が含まれるディスクアド
レス得て、同アドレスに従い磁気ディスク装置3゜3、
・・・を読出し制御し、その読出しデータから上記ディ
スク内位置情報を先頭位置とするレコードデータ(演算
結果のレコード)を切出して、上記ディスク内位置情報
列(DAI 、 oA、+ 、・・・)順に主記憶4の
予め定められた出力バッファを構成する第3の領域に格
納する(第1図84参照)。
...) and the logical and physical information of the file to be processed, the in-disk location information string (D
Ai, DAj,...), and based on this disk position information sequence (DAI, oAj,...), obtain the disk address that includes the record storage area of the calculation result, and then perform magnetic recording according to the same address. Disk device 3゜3,
. . , and extracts record data (record of the calculation result) whose head position is the disc location information from the read data, and reads the disc location information string (DAI, oA, +, . . . ) from the read data. ) are sequentially stored in the third area constituting a predetermined output buffer of the main memory 4 (see FIG. 1 84).

そしてCPUIは、出力バッファを構成する第3の領域
に記憶された演算結果のレコード列が同バッファサイズ
で決まる所定データ量になると、同第3の領域に積まれ
た演算結果のレコード列を予め定められた磁気ディスク
装置3上の出力ファイル格納領域(R)に格納すべく、
対応する入出力チャネル2へ格納手続きを行なう。これ
により上記人出力チャネル2の制御の下に、出力バッフ
ァを構成する第3の領域に格納された演算結果のレコー
ド列でなる部分出力データが磁気ディスク装置3上の出
力ファイル格納領域(R)に格納される(第1図85)
Then, when the record string of the operation results stored in the third area constituting the output buffer reaches a predetermined data amount determined by the buffer size, the CPU In order to store the output file in the specified output file storage area (R) on the magnetic disk device 3,
Perform the storage procedure to the corresponding input/output channel 2. As a result, under the control of the human output channel 2, the partial output data consisting of the record string of the calculation results stored in the third area constituting the output buffer is transferred to the output file storage area (R) on the magnetic disk device 3. (Fig. 1 85)
.

このような処理が、処理対象ファイルの全てを対象とし
たディスク内位置情報列(DAl 、 DAj 。
Such processing generates an in-disk location information sequence (DAl, DAj) for all files to be processed.

・・・)に対して繰返し実行される。) is executed repeatedly.

このようにして、結果識別子列に従う出力ファイルを作
成することにより、主記憶4に一度に入り切れない大量
の処理対象ファイルを対象とした、ソートあるいはRD
Bに於ける関係演算等の複雑な演算処理を、主記憶4の
作業領域で定まるデータ量を単位とした部分演算、更に
はマージ等の演算処理を必要とせず、高速にかつ能率よ
く実行できる。
In this way, by creating an output file according to the result identifier string, it is possible to sort or RD a large number of processing target files that cannot be stored in the main memory 4 at once.
Complex arithmetic processing such as relational arithmetic operations in B can be executed quickly and efficiently without the need for partial arithmetic operations based on the amount of data determined in the work area of the main memory 4, or even arithmetic processing such as merging. .

尚、上記実施例に於いては、CPUIが、関係演算処理
装置5の制御部53から上記演算終了通知を受けて、主
記憶4の第2の領域に置かれた結果識別子列(R1,R
j、・・・)をもとに、磁気ディスク装置3上の出力フ
ァイル格納領域(R)に、演算結果の順に配列されたレ
コード列でなる出力ファイルを構成したが、この処理機
能を入出力チャネル2又は関係演算処理装置5にもたせ
ることにより、CPU負荷を軽減できる。
In the above embodiment, the CPU, upon receiving the above calculation completion notification from the control unit 53 of the relational calculation processing unit 5, stores the result identifier string (R1, R
j, ...), an output file consisting of a record string arranged in the order of the calculation results was constructed in the output file storage area (R) on the magnetic disk device 3. By providing the channel 2 or the relational arithmetic processing unit 5, the CPU load can be reduced.

上記したような実施例の構成としたことにより、ソート
あるいはRDBに於ける関係演算等の複雑な演算を対象
とした高度のデータ処理を簡単な制御で効率良く実行で
き、特に対象ワアイルが互いに独立した制御下にある複
数の磁気ディスク装置に分散されている場合、処理すべ
きデータ量が主記憶4のワークエリアサイズを越える場
合等に於いて、上記したような高度の演算処理を能率良
く実行できる。
With the configuration of the embodiment described above, advanced data processing for complex operations such as sorting or relational operations in RDB can be efficiently executed with simple control, and especially when the target files are independent of each other. When the amount of data to be processed exceeds the work area size of the main memory 4, the high-level arithmetic processing described above can be efficiently executed. can.

第2実施例 次に、第2図を参照して本発明、の第2実施例を説明す
る。
Second Embodiment Next, a second embodiment of the present invention will be described with reference to FIG.

この第2実施例は、上記第1実施例が、結果識別子列(
R1,Rj、・・・)をもとにルーコードずつ磁気ディ
スク装置3,3.・・・より演算結果のレコードを切出
し、主記憶4の出力バッファに格納してゆく構成である
のに対し、ここではディスク内位置情報列(DAI 、
 DAJ 、・・・)から対象レコードの分布状態を調
べ、1個又は複数個のレコードが含まれる効率の良いデ
ータ入力単位を決定し、この入力入力単位に従い磁気デ
ィスク装置3,3.・・・よりデータを取出して、同デ
ータから演算結果のレコード列を得る構成としたもので
、これにより、上記第1実施例に比し磁気ディスク装置
3,3゜・・・のアクセス回数を削減して処理の高速化
を図っている。
This second embodiment is different from the first embodiment in that the result identifier string (
R1, Rj, . . . ), the magnetic disk drives 3, 3 . ...The record of the calculation result is cut out and stored in the output buffer of the main memory 4, whereas in this case, the disk position information string (DAI,
DAJ, . . . . and obtains a record string as a calculation result from the same data. This reduces the number of accesses to the magnetic disk drives 3, 3, . . . compared to the first embodiment. We are trying to reduce the number and speed up the processing.

第2図に示す第2実施例に於いて、処理裡対象ファイル
の、全てを対象とした結果識別子列(R1゜Rj、・・
・)からディスク内位置情報列(DAI 、 DAj 
In the second embodiment shown in FIG. 2, a result identifier string (R1゜Rj, . . .
) to the disc position information string (DAI, DAj
.

・・・)を得るまでの動作は上記した第1実施例と同様
である。
) is the same as in the first embodiment described above.

この第2実施例に於いて、CPUIは、第2図に示す如
く、上記ディスク内位置情報列(DAD。
In this second embodiment, the CPUI, as shown in FIG.

DAj 、・・・)を参照して磁気ディスク装置3,3
゜・・・上の対象レコードの分布状態を調べ、効率の良
いデータの入力単位(1回のアクセスで読込むデータの
セクタ長)を決定して、この入力入力単位に従い、磁気
ディスク装置3,3.・・・よりデータを取出して、同
データを主記憶4の特定の領域(この第2実施例では第
3の領域とする)に格納するとともに、その各レコード
の主記憶4上の先頭アドレス列を生成する。そしてこの
対象レコードの先頭アドレス列をもとに上記主記憶4上
の第3の領域から、演算結果に従う1対象レコードを切
出しく抽出し)、主記憶4上の出力バッファを構成する
第4の領域に演算結果の順に貯える。この出力バッファ
に貯えられた演算結果に従うレコード列でなる部分出力
データは出力バッファサイズを単位に磁気ディスク装置
3上の出力ファイル格納領域(R)に格納される。
DAj,...) to the magnetic disk devices 3, 3.
゜... Check the distribution state of the target records above, determine an efficient data input unit (sector length of data read in one access), and according to this input input unit, the magnetic disk device 3, 3. ..., and stores the same data in a specific area of the main memory 4 (in this second embodiment, the third area), and the start address string of each record in the main memory 4. generate. Then, based on the start address string of this target record, one target record according to the calculation result is extracted from the third area on the main memory 4, and the fourth record that constitutes the output buffer on the main memory 4 is extracted. Store the calculation results in the area in order. Partial output data consisting of a record string according to the calculation result stored in this output buffer is stored in the output file storage area (R) on the magnetic disk device 3 in units of output buffer size.

このような処理が、処理対象ファイルの全てを対象とし
たディスク内位置情報列(DAI 、 DAj 。
Such processing generates in-disk location information sequences (DAI, DAj) for all files to be processed.

・・・)に対して繰返し実行される。) is executed repeatedly.

このようにして、結果識別子列に従う出力ファイルを作
成する構成としたことにより、主記憶4に一度に入り切
れない大量の処理対象ファイルを対象とした、ソートあ
るいはRDBに於ける関係演算等の複雑な演算処理を、
磁気ディスク装置3゜3、・・・のアクセス頻度を抑え
て、能率よく高速に実行することができる。
In this way, by creating an output file according to the result identifier string, it is possible to perform complicated relational operations such as sorting or RDB related operations on a large number of processing target files that cannot be stored in the main memory 4 at once. calculation processing,
The frequency of access to the magnetic disk devices 3, 3, . . . can be suppressed and execution can be performed efficiently and at high speed.

尚、この第2実施例に於いても、結果識別子列(R1,
Rj、・・・)から出力ファイルを構成する処理機能の
一部又は全部を、入出力チャネル2又は関係演算処理装
置5にもたせることにより、CPU負荷を軽減できる。
Note that also in this second embodiment, the result identifier string (R1,
Rj, . . . ) to the input/output channel 2 or the relational arithmetic processing unit 5, the CPU load can be reduced.

又、上記各実施例では、処理対象ファイルのレコードか
ら指定されたキー(キーフィールド)を抽出し、その抽
出キーをもつレコードの上記ファイル内での通し番号を
識別子として上記キーに付加して、キーと識別子のペア
でなる入力データ(旧)を得ていたが、この識別子は処
理対象ファイル内での通し番号に限らず、要は、結果と
して、対象レコードの外部記憶上に於ける位置を知るこ
とのできる情報であればよい。
Furthermore, in each of the above embodiments, a specified key (key field) is extracted from a record of a file to be processed, and the serial number of the record with that extraction key in the file is added as an identifier to the key, and the key is Input data (old) consisting of a pair of identifiers was obtained, but this identifier is not limited to a serial number within the file to be processed.In short, it is necessary to know the position of the target record in external storage as a result. Any information that can be used is sufficient.

又、上記各実施例では主記憶4上の入力バッファ(第1
の領域)を単一バッファ構成としているが、この人力バ
ッファ(第1の領域)をダブルバッファで構成し、磁気
ディスク装置3,3.・・・からのデータの取込みとキ
ーの抽出処理が並行して行なえるようにしてもよい。
Further, in each of the above embodiments, the input buffer (first
area) has a single buffer configuration, but this manual buffer (first area) is configured with a double buffer, and the magnetic disk drives 3, 3 . . . . and key extraction processing may be performed in parallel.

[発明の効果] 以上詳記したように本発明によれば、単一又は複数の外
部記憶に置かれた処理対象ファイルに対し、ソート及び
リレーショナルデータベースに於ける関係演算を演算処
理対象に含むデータベースを対象とした所定の演算処理
を実行するデータ処理装置に於いて、処理対象ファイル
のデータ量が主記憶容量を越えるとき、処理対象ファイ
ルの部分要素毎に、キーの抽出と同キーに識別子を付加
する処理を行ない、これを繰返すことによって得られた
処理対象ファイル全ての識別子とキーをベアにしたデー
タ列に対して、ソート、マージ等の’am処理を行ない
、この結果、得られた識別子列と対象ファイルの論理情
報及び物理情報から、上記識別子列で示されるレコード
を含む複数のデータブロックを主記憶上へ読込み、この
データから上記識別子列で示されるレコード類に結果フ
ァイルの部分要素を作成して、これを外部記憶へ出力し
、この処理を上記結果識別子列の全ての識別子について
行なう構成としたことにより、対象ファイルのデータ量
が主記憶の容量を越える場合でも、ソートあるいはRD
Bに於ける関係演算等の処理を高速に能率良く実行でき
る。
[Effects of the Invention] As detailed above, according to the present invention, a database that includes sorting and relational operations in a relational database as processing targets for processing target files placed in a single or multiple external memories. In a data processing device that executes predetermined arithmetic processing for a file, when the amount of data in the file to be processed exceeds the main memory capacity, a key is extracted and an identifier is assigned to the same key for each partial element of the file to be processed. Perform 'am' processing such as sorting and merging on the data string with the bare identifiers and keys of all the files to be processed obtained by repeating this process, and as a result, the obtained identifier Read multiple data blocks containing records indicated by the above identifier column into the main memory from the logical information and physical information of the column and the target file, and from this data write partial elements of the result file to the records indicated by the above identifier column. By creating a configuration in which the file is created, outputted to external storage, and this process is performed for all identifiers in the result identifier column, even if the amount of data in the target file exceeds the capacity of the main memory, sorting or RD processing is possible.
Processing such as relational calculations in B can be executed quickly and efficiently.

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

第1図は本発明の第1実施例を示すブロック図、第2図
は本発明の第2実施例を示すブロック図である。 ■・・・CPU、2.2  ・・・・・・入出力チャネ
ル(l1O−CI)  3 、3 、・−・・・・磁気
ディスク装置(DISK)  4・・・主記憶(HEM
)  5・・・関係演算処理装置(1?0PU) 、6
・・・システムバス(S−BLIS )、51・・・演
算部、 52・・・バラ フ アメモリ、 53・・・制御部。
FIG. 1 is a block diagram showing a first embodiment of the invention, and FIG. 2 is a block diagram showing a second embodiment of the invention. ■... CPU, 2.2... Input/output channel (l1O-CI) 3, 3,... Magnetic disk device (DISK) 4... Main memory (HEM
) 5...Relational arithmetic processing unit (1?0PU), 6
. . . system bus (S-BLIS), 51 . . . arithmetic unit, 52 .

Claims (2)

【特許請求の範囲】[Claims] (1)、単一又は複数の外部記憶に置かれた処理対象フ
ァイルに対し、ソート及びリレーショナルデータベース
に於ける関係演算を演算処理対象に含むデータベースを
対象とした所定の演算処理を実行するデータ処理装置で
あって、上記処理対象ファイルのデータ量が主記憶内で
一度に処理できるデータサイズを越えるとき、上記処理
対象ファイルを複数の部分要素に分け、部分要素単位で
上記主記憶の第1の領域に取込む手段と、上記ファイル
に関する、ブロック長、レコード長、キー位置、キー長
等を含む論理情報、及び演算種を含む演算指令を受けて
、上記論理情報に従い上記主記憶上の第1の領域に格納
された処理対象ファイルのレコードから処理対象となる
キーを抽出し、同キーをもつレコードの上記ファイル内
での通し番号又は相対位置情報を識別子として上記キー
に付加する手段と、同手段による処理を上記処理対象フ
ァイルの全てに対して実行し、その結果、得られたキー
と識別子の組を入力データとして同データのキー値を対
象に上記演算指令に従う演算を実行し、その演算結果に
従う順序で配列した識別子列を上記主記憶の第2の領域
に格納する手段と、上記主記憶の第2の領域に格納され
た識別子列と上記対象ファイルの論理情報及び外部記憶
アドレスを含む物理情報から演算結果レコードの外部記
憶上の位置情報列を得る手段と、上記位置情報列に従う
上記外部記憶のリードアクセスにより上記外部記憶より
上記位置情報列に従うレコードを上記主記憶の第3の領
域に取込み所定量単位で予め定められた外部記憶の出力
ファイル格納領域に格納する手段とを具備し、上記位置
情報列の全てについて該当レコードを外部記憶の出力フ
ァイル格納領域に格納することを特徴としたデータ処理
装置。
(1) Data processing that executes predetermined arithmetic processing on databases that include sorting and relational operations in relational databases on files to be processed stored in single or multiple external storages. In the device, when the amount of data of the file to be processed exceeds the data size that can be processed at once in the main memory, the file to be processed is divided into a plurality of partial elements, and each partial element is stored in the first part of the main memory. In response to receiving a calculation instruction including a means for importing into an area, logical information including block length, record length, key position, key length, etc., and an operation type regarding the file, the data is stored in the first memory in the main memory according to the logical information. means for extracting a key to be processed from a record of a file to be processed stored in an area of and adding a serial number or relative position information within the file of a record having the same key as an identifier to the key; The process is executed on all of the files to be processed above, and as a result, using the obtained key and identifier pair as input data, the operation according to the above operation instruction is executed on the key value of the same data, and the operation result is means for storing, in a second area of the main memory, an identifier string arranged in an order according to the above; means for obtaining a positional information string on an external storage of a calculation result record from the information; and a read access to the external storage according to the positional information string to transfer a record according to the positional information string from the external storage to a third area of the main memory. and means for storing in a predetermined output file storage area of the external storage in units of a predetermined amount of captured data, and stores corresponding records for all of the position information strings in the output file storage area of the external storage. Data processing equipment.
(2)、単一又は複数の外部記憶に置かれた処理対象フ
ァイルに対し、ソート及びリレーショナルデータベース
に於ける関係演算を演算処理対象に含むデータベースを
対象とした所定の演算処理を実行するデータ処理装置で
あって、上記処理対象ファイルのデータ量が主記憶内で
一度に処理できるデータサイズを越えるとき、上記処理
対象ファイルを複数の部分要素に分け、部分要素単位で
上記主記憶の第1の領域に取込む手段と、上記ファイル
に関する、ブロック長、レコード長、キー位置、キー長
等を含む論理情報、及び演算種を含む演算指令を受けて
、上記論理情報に従い上記主記憶上の第1の領域に格納
された処理対象ファイルのレコードから処理対象となる
キーを抽出し、同キーをもつレコードの上記ファイル内
での通し番号又は相対位置情報を識別子として上記キー
に付加する手段と、同手段による処理を上記処理対象フ
ァイルの全てに対して実行し、その結果、得られたキー
と識別子の組を入力データとして同データのキー値を対
象に上記演算指令に従う演算を実行し、その演算結果に
従う順序で配列した識別子列を上記主記憶の第2の領域
に格納する手段と、上記主記憶の第2の領域に格納され
た識別子列と上記対象ファイルの論理情報及び物理情報
から演算結果レコードの外部記憶上の位置情報列を得る
手段と、上記位置情報列から対象となる1又は複数のレ
コードが含まれる外部記憶データの入力単位を決定し、
その各入力単位のデータを上記位置情報列に従う順序で
上記外部記憶から上記主記憶の第3の領域へ読込む手段
と、上記主記憶の第3の領域に置かれたデータの各レコ
ードの先頭アドレスを上記結果識別子列の順序で得る手
段と、上記アドレス列の順序で上記主記憶の第3の領域
からレコードデータを抽出し、結果ファイルの論理情報
に従って主記憶の第4の領域に出力データを構成する手
段と、上記主記憶の第4の領域に構成された出力データ
を結果ファイルの外部記憶アドレスを含む物理情報に従
って予め定められた外部記憶の出力ファイル格納領域へ
出力する手段とを具備し、上記処理対象ファイル全てに
ついての出力データを外部記憶の出力ファイル格納領域
に格納することにより、主記憶内で処理できるデータ量
を越える処理対象ファイルに演算処理を施した出力ファ
イルを得ることを特徴としたデータ処理装置。
(2) Data processing that executes predetermined arithmetic processing on databases that include sorting and relational operations in relational databases on files to be processed stored in single or multiple external storages. In the device, when the amount of data of the file to be processed exceeds the data size that can be processed at once in the main memory, the file to be processed is divided into a plurality of partial elements, and each partial element is stored in the first part of the main memory. In response to receiving a calculation instruction including a means for importing into an area, logical information including block length, record length, key position, key length, etc., and an operation type regarding the file, the data is stored in the first memory in the main memory according to the logical information. means for extracting a key to be processed from a record of a file to be processed stored in an area of and adding a serial number or relative position information within the file of a record having the same key as an identifier to the key; The process is executed on all of the files to be processed above, and as a result, using the obtained key and identifier pair as input data, the operation according to the above operation instruction is executed on the key value of the same data, and the operation result is means for storing in a second area of the main memory an identifier string arranged in an order according to the following; and a calculation result record from the identifier string stored in the second area of the main memory and the logical information and physical information of the target file. means for obtaining a positional information string on an external storage; and determining an input unit of external storage data that includes one or more target records from the positional information string;
means for reading the data of each input unit from the external storage into the third area of the main memory in the order according to the position information string; and the beginning of each record of the data placed in the third area of the main memory. means for obtaining addresses in the order of the result identifier string, extracting record data from the third area of the main memory in the order of the address string, and outputting data to a fourth area of the main memory according to logical information of the result file; and means for outputting the output data configured in the fourth area of the main memory to a predetermined output file storage area of the external storage according to physical information including an external storage address of the result file. However, by storing the output data for all of the above-mentioned processing target files in the output file storage area of external storage, it is possible to obtain an output file in which arithmetic processing is performed on the processing target files that exceed the amount of data that can be processed in the main memory. Featured data processing equipment.
JP1091107A 1988-09-30 1989-04-11 Data processor Pending JPH02268368A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP1091107A JPH02268368A (en) 1989-04-11 1989-04-11 Data processor
US07/413,729 US5247665A (en) 1988-09-30 1989-09-28 Data base processing apparatus using relational operation processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1091107A JPH02268368A (en) 1989-04-11 1989-04-11 Data processor

Publications (1)

Publication Number Publication Date
JPH02268368A true JPH02268368A (en) 1990-11-02

Family

ID=14017303

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1091107A Pending JPH02268368A (en) 1988-09-30 1989-04-11 Data processor

Country Status (1)

Country Link
JP (1) JPH02268368A (en)

Similar Documents

Publication Publication Date Title
US5247665A (en) Data base processing apparatus using relational operation processing
US20090271366A1 (en) Methods and Systems for Improving Hash Table Performance
O'Neil et al. Bitmap index design choices and their performance implications
JPH0652225A (en) Method and system for retrieving file
WO2015145647A1 (en) Storage device, data processing method, and storage system
JPH0744324A (en) Input and output control system for external storage
KR101833996B1 (en) System and method for searching data
JPH02268368A (en) Data processor
JPH03202934A (en) Data processor
JPS593567A (en) Buffer number setting system of tree structure
JPH02257284A (en) Data processor
JP2586610B2 (en) File creation method
JPH04250568A (en) Record retrieval device
JPS62121532A (en) Data retrieving method
JPH02168353A (en) Data base processing mechanism
JPS63291145A (en) Method for managing file
JPS61278932A (en) Method of processing data addition
JPH08235044A (en) Journal retrieval systm
JPH03225412A (en) File data read system
JP2747009B2 (en) Record addition method for indexed sequential files
JPH04264674A (en) Method and device for retrieving file
JP3871971B2 (en) Outline line extraction apparatus, method and program
JPH02252061A (en) Image filing device
JPH0275018A (en) Merge processing method
JPH0371262A (en) Data processor