JPS63143627A - Associative summarizing arithmetic unit - Google Patents

Associative summarizing arithmetic unit

Info

Publication number
JPS63143627A
JPS63143627A JP61291103A JP29110386A JPS63143627A JP S63143627 A JPS63143627 A JP S63143627A JP 61291103 A JP61291103 A JP 61291103A JP 29110386 A JP29110386 A JP 29110386A JP S63143627 A JPS63143627 A JP S63143627A
Authority
JP
Japan
Prior art keywords
group
processing
aggregate
aggregation
phase
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
JP61291103A
Other languages
Japanese (ja)
Inventor
Ryohei Nakano
良平 中野
Kazumi Saito
和巳 斉藤
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP61291103A priority Critical patent/JPS63143627A/en
Publication of JPS63143627A publication Critical patent/JPS63143627A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To attain rapid processing by executing expansive summarizing operation highly in parallel by means of an associative memory device about group identifying processing and rapidly executing said operation by means of an exclusive circuit about summarized value calculating processing. CONSTITUTION:Associative processing is constituted of two phases consisting of a registration phase (phase 1) for registering a group in the associative memory device 3 and a group identification and summarized value calculation phase (phase 2). In the phase 1, different data (group) in data with group-by property (data for summarized operation) are found out and registered by retrieving the device 3. In the phase 2, data to be summarized are identified in each group by retrieving the device 3 and the summarized value of an entry to a summarized value table 5 corresponding to the obtained group number is calculated. In the phase 2, the group identification processing and summarized value calculating processing are regularly executed by pipeline processing.

Description

【発明の詳細な説明】 「産業上の利用分野」 この発明はりレーションでグループ−バイ(group
−by )属性と集約属性を指定する関係データベース
の各種の集約(aggregate )演算を高速に実
行する連想集約演算装置に関するものである。
[Detailed Description of the Invention] "Industrial Application Field"
The present invention relates to an associative aggregation arithmetic device that quickly executes various aggregation operations on a relational database that specifies (-by) attributes and aggregation attributes.

「従来の技術」 この発明では、従来から知られている関係データベース
の集約演算だけでなく、従来提案されていなかった拡張
集約演算をも対象とするので、まずそれについて説明す
る。普通に知られている集約演算は、同じリレーション
においてグループ−バイ(group−by )属性と
集約属性とを指定していた。例えばりレーンヨンがアル
バイト従業員(氏名1年令2部課名)において、″部課
毎に、アルバイト従業員数を求めよ′″という検索は1
部課名をgroup−by属性とし、アルバイト従業員
数を集約属性とすれば良い。これを関係代数では、アル
バイト従業員〈部課名、 count >のように表記
する。
"Prior Art" This invention deals with not only aggregation operations for relational databases that have been known in the past, but also extended aggregation operations that have not been proposed in the past, so this will be explained first. Commonly known aggregation operations specify group-by attributes and aggregate attributes in the same relation. For example, when Lane Yon searches for part-time employees (name 1 year old 2 departments/sections), the search for ``Find the number of part-time employees for each department'' is 1.
The department name may be used as a group-by attribute, and the number of part-time employees may be used as an aggregate attribute. In relational algebra, this is written as part-time employee <department name, count>.

これに対し、この発明で導入する拡張集約演算は、集約
値を求めるリレーションと別のリレーションでgrou
p−by属性を指定する。例えばりレーションがアルバ
イト従業員(氏名1年令、部課名)、組織(部課名1人
数、課長名)において、上と同様の検索は、組織りレー
ションの課名をgroup−by属性として、アルバイ
ト従業員リレーションの部課名をキー属性とし、アルバ
イト従業員数を集約属性とする。これを関係代数では。
On the other hand, the extended aggregation operation introduced in this invention uses the relation for which the aggregate value is obtained and another relation.
Specify the p-by attribute. For example, if the ration is a part-time employee (name: 1 year old, department/section name) and an organization (department/section name: 1 person, section manager name), the same search as above can be performed using the section name of the organization ration as the group-by attribute. The department name of the employee relationship is the key attribute, and the number of part-time employees is the aggregate attribute. This is expressed in relational algebra.

アルバイト従業員〔部課名、 count ) (組織
〔部課名〕) のように表記する。拡張集約演算と従来の集約演算との
違いは、上記例からも分かるようにgroup−by属
性を集約値を求めるリレーションからもってくるかどう
かである。この違いは上記例でいえば、(部課名inア
ルバイト従業員)と(部課名i口組織)の違いであり、
すなわちアルバイト従業員のいない部課名の分だけ異な
る。従来の集約演算では。
Part-time employee [department/section name, count) (organization [department/section name]). As can be seen from the above example, the difference between the extended aggregation operation and the conventional aggregation operation is whether the group-by attribute is derived from the relation for which the aggregate value is to be obtained. In the example above, this difference is the difference between (department/section name in part-time employee) and (department/section name in organization),
In other words, it differs by the name of the department or section that does not have part-time employees. In traditional aggregation operations.

アルバイト従業員のいない部課名は現れないが、拡張集
約演算では、そのような部課名も従業員数0としてタプ
ルを構成する。このように拡張集約演算は従来の集約演
算では欠落するようなデータを残すことができる。
Department/section names without part-time employees do not appear, but in the extended aggregation calculation, such department/section names also constitute a tuple with the number of employees as 0. In this way, extended aggregation operations can leave data that would be missing in conventional aggregation operations.

集約演算(勿論、従来の集約演算)を処理する従来の専
用装置としては2例えば°’ACMTransacti
ons  on  Database  System
s ” (pp、214−242.Vol、9.NO,
2,1984)に掲載されている” A Parall
el Pipelined Re1ational Q
ueryProcessor ”における集約パイプ(
aggregationpipe )がある。この従来
の集約演算装置では、第8図に示すように、まず集約演
算対象データ(group−by属性、集約属性)をg
roup−by属性で積分け(ソート)しておき、その
後、group−by属性に着目して、集約値計算を専
用回路を用いて行う。
Conventional dedicated devices for processing aggregate operations (of course conventional aggregate operations) include 2, for example:
ons on Database System
s” (pp, 214-242. Vol, 9. NO,
2, 1984)” A Parall
el Pipelined Re1ational Q
aggregation pipe (
aggregationpipe). In this conventional aggregation device, as shown in FIG.
Integration (sorting) is performed based on the group-by attribute, and then, focusing on the group-by attribute, aggregate value calculation is performed using a dedicated circuit.

すなわち従来技術では大量データの効率的なソート機構
が必要であるとともに、ソート処理の処理負荷が無視で
きない問題としてあった。
In other words, in the prior art, an efficient sorting mechanism for large amounts of data is required, and the processing load of the sorting process cannot be ignored.

この発明の目的は、従来の集約演算装置が必須の経路と
していたソート処理のための特殊な処理機構及び処理負
荷問題を解決し、従来の集約演算だけでなく拡張集約演
算をも高速に処理できる集約演算装置を提供することに
ある。
The purpose of this invention is to solve the problem of a special processing mechanism and processing load for sort processing, which was an essential route for conventional aggregation processing devices, and to be able to process not only conventional aggregation operations but also extended aggregation operations at high speed. The object of the present invention is to provide an integrated computing device.

「問題点を解決するための手段」 この発明によれば集約演算要求元とデータのやりとりを
行う入出力系と、集約値計算処理を制御する処理制御系
と、連想メモ!ILsIを多数連動可能とした連想メモ
リ装置と、中間段階の集約値を格納する集約値テーブル
と1.集約値を計算する集約値計算回路とからなる。
"Means for Solving Problems" According to the present invention, there is an input/output system that exchanges data with an aggregate calculation request source, a processing control system that controls aggregate value calculation processing, and an associative memo! 1. An associative memory device that is capable of linking a large number of ILsI, an aggregated value table that stores aggregated values at intermediate stages, and 1. and an aggregate value calculation circuit that calculates an aggregate value.

従来の集約演算装置は第8図に示したように、まず集約
演算対象データ(group−by属性、集約属性)を
group−by属性でソートしておき、その後。
As shown in FIG. 8, the conventional aggregation calculation device first sorts the data to be subjected to aggregation calculation (group-by attribute, aggregation attribute) according to the group-by attribute, and then sorts it.

group−by属性に着目して集約値計算を専用回路
を用いて行う。これに対してこの発明の集約演算装置は
データのソート処理を前提としないので、ソート処理機
構が不要である他、集約演算機構も従来の集約演算装置
のものとは次のように大きく異なる。すなわちグループ
を識別するのに、従来技術ではgroup−by属性値
の比較器を用いていたのに対し、この発明においては連
想メモリLSIを多数連動可能とした連想メモリ装置を
内蔵していること、集約値を計算するのに、従来技術で
は集約器(aggregation unit )と重
複値除去器(dupl icateremover )
を用いているのに対し、この発明では専用の簡単な集約
値計算回路を用いていること。
Focusing on the group-by attribute, aggregate value calculation is performed using a dedicated circuit. On the other hand, since the aggregation processing device of the present invention does not presuppose data sorting processing, a sorting processing mechanism is not required, and the aggregation processing mechanism is also significantly different from that of the conventional aggregation processing device as follows. That is, to identify a group, the conventional technology uses a comparator of the group-by attribute value, whereas the present invention has a built-in associative memory device that can link a large number of associative memory LSIs. To calculate the aggregate value, the prior art uses an aggregation unit and a duplication remover.
In contrast, this invention uses a dedicated simple aggregate value calculation circuit.

中間段階の集約値を格納するのに、従来技術ではカレン
トな集約値を格納するレジスタを用いているのに対し、
この発明ではランダムアクセスメモリで構成される集約
値テーブルを用いていることである。
Conventional technology uses a register to store the current aggregated value to store the aggregated value at an intermediate stage.
The present invention uses an aggregate value table made up of random access memory.

またこの発明においては、従来の集約演算装置が行えた
同一リレーションでgroup−by属性と集約属性を
指定する従来から知られている関係データベースの集約
(aggregate )演算だけでなく、group
−by属性を別リレーションで指定する拡張集約演算を
も、グループ識別処理に関しては連想メモリ装置を用い
て高並列に実行し、集約演算機構に関しては専用回路を
用いて高速に実行し、更に両者をパイプライン処理する
ことにより、高速に処理することが可能である。
In addition, the present invention not only performs aggregation operations on relational databases that have been known in the past, such as specifying group-by attributes and aggregate attributes in the same relation, but also performs group-by
For extended aggregation operations that specify the -by attribute in a separate relation, the group identification processing is executed in high parallelism using an associative memory device, and the aggregation operation mechanism is executed at high speed using a dedicated circuit. Pipeline processing allows high-speed processing.

「実施例」 第1図はこの発明の実施例の全体を示す図であって、入
出力系1は集約演算要求元から集約対象データを受信し
たり、集約結果を集約演算要求元へ送信し、処理制御系
2は集約値計算処理の制御を司る。この処理制御系2に
入出力系1の他に、連想メモリLSIを多数連動可能な
ように構成した連想メモリ装置3、集約値を次々に計算
する専用の集約値計算処理4.集約[直の計算結果を格
納するためのランダムアクセスメモリで構成される集約
値テーブル5が接続される。
Embodiment FIG. 1 is a diagram showing the entire embodiment of the present invention, in which the input/output system 1 receives data to be aggregated from an aggregation calculation request source and sends aggregation results to the aggregation calculation request source. , the processing control system 2 controls the aggregate value calculation processing. In addition to the input/output system 1 of the processing control system 2, an associative memory device 3 configured to be able to link a large number of associative memory LSIs, and a dedicated aggregate value calculation process 4 for calculating aggregate values one after another. An aggregate value table 5 consisting of a random access memory for storing the results of aggregation [direct calculations] is connected.

第2図は第1図中の集約値計算回路4の具体例を示す。FIG. 2 shows a specific example of the aggregate value calculation circuit 4 in FIG.

回路への入力データは領域11〜15に格納され、領域
111の内容は領域12.13の各内容と比較器16.
17でそれぞれ比較され、領域11の内容は領域14の
内容と加算器18iで加算され、領域15の内容は加算
器18bで領域19の定数値II 131と加算される
。比較器16゜17は加算器18a、18bの各出力が
それぞれ領域20〜23に回路からの出力データとして
格納される。
Input data to the circuit is stored in areas 11-15, and the contents of area 111 are combined with the contents of areas 12, 13 and comparator 16.
17, the contents of area 11 are added to the contents of area 14 by adder 18i, and the contents of area 15 are added to the constant value II 131 of area 19 by adder 18b. In the comparators 16 and 17, each output from the adders 18a and 18b is stored in areas 20 to 23, respectively, as output data from the circuit.

以下、従来の集約演算と拡張集約演算に分けてこの発明
の実施例の動作を具体例をまじえながら説明する。具体
例に用いるリレーションを第3図に示す。
Hereinafter, the operation of the embodiment of the present invention will be explained by dividing it into a conventional aggregation operation and an extended aggregation operation, using specific examples. The relations used in the specific example are shown in FIG.

(a)  従来の集約演算における動作集約演算要求元
から集約演算要求が集約対象データとともに、入出力系
1に到着する。例えば、前出の例 アルバイト従業員〈部課名、 count )を第3図
のデータに適用した場合、°゛アルバイト従業員″リレ
ーションの“部課塩″′属性のデータが上から順に入っ
て来る。′fなわち“衣料″′、収食品″、“食品″′
、・・・という具合である。
(a) Operation in conventional aggregation calculations An aggregation calculation request arrives at the input/output system 1 together with data to be aggregated from an aggregation calculation request source. For example, when the above-mentioned example of part-time employee (department name, count) is applied to the data in FIG. 3, the data of the "department name" attribute of the "part-time employee" relation is entered in order from the top. ``Clothing'', ``food'', ``food''
,... and so on.

処理制御系2は、入出力系1からgroup−by属性
のデータを一つずつ受は取り、連想メモリ装置3を検索
する。検索の結果、一致がなかった場合には、そのgr
oup−by属性のデータを連想メモリ装置3に登録す
る。連想メモリ装置3に登録するグループに順に1から
グループ番号を振る。group−by属性のデータは
固定長とすると。
The processing control system 2 receives the group-by attribute data one by one from the input/output system 1 and searches the associative memory device 3. If there is no match as a result of the search, the gr
The data of the oup-by attribute is registered in the associative memory device 3. Group numbers are sequentially assigned to the groups to be registered in the associative memory device 3 starting from 1. Assume that the group-by attribute data has a fixed length.

グループ番号は連想メモリのアドレス(一連番号)をg
roup−by属性のデータが使用する連想メモリのワ
ード数で割ることにより簡単に計算できる。前記登録処
理と並行して、登録するグループ番号に対応する集約値
テーブル5のエントリを初期設定(ゼロクリア)し、集
約値計算回路4にそれを送出し、そこで集約値計算を行
い出力されて来る結果(該当グループの中間段階の新た
な集約値)を再度集約値テーブル5の同じエントリに書
き込む。
The group number is the address (sequence number) of the associative memory.
It can be easily calculated by dividing the data of the roup-by attribute by the number of words of the associative memory used. In parallel with the registration process, the entry in the aggregate value table 5 corresponding to the group number to be registered is initialized (zero cleared) and sent to the aggregate value calculation circuit 4, where the aggregate value is calculated and output. The result (new intermediate stage aggregate value for the group) is written again to the same entry in the aggregate value table 5.

前記検索の結果、一致があった場合には、そのグループ
番号を知り、対応する集約値テーブル5のエントリ(該
当グループの中間段階の集約値が入っている)を読み出
し、集約値計算回路4にそれを送出し、そこで集約値計
算を行い出力されて来る結果(該当グループの中間段階
の新たな集約値)を再度集約値テーブル5の同じエント
リに書き込む。
If there is a match as a result of the search, the group number is known, the corresponding entry in the aggregated value table 5 (containing the intermediate aggregated value of the group) is read out, and the aggregated value calculation circuit 4 is loaded. Then, the aggregate value is calculated and the output result (new aggregate value at the intermediate stage of the group) is written again into the same entry in the aggregate value table 5.

集約値計算回路4の動作を第2図で説明する。The operation of the aggregate value calculation circuit 4 will be explained with reference to FIG.

集約属性のデータは領域11に入力する。集約値テーブ
ル5のエントリのデータは最少値、最大値、和、カウン
トの順に入力用領域12,13゜14.15に入力する
。入力されたデータは比較器16.17、加算器18a
、18bで計算され、計算結果は算少値、最大値、和、
カウントの順に各々出力用領域20.21.22.23
から出力される。
Aggregate attribute data is input into area 11. The entry data of the aggregate value table 5 is input into the input areas 12, 13, 14, and 15 in the order of minimum value, maximum value, sum, and count. The input data is sent to comparators 16, 17 and adder 18a.
, 18b, and the calculation results are the arithmetic value, the maximum value, the sum,
Output area 20, 21, 22, 23 respectively in order of count
is output from.

前出の例では、まず″衣料″が処理され、検索後、連想
メモリ装置3に登録されるとともに、カウント値は1″
′になる。次に6食品″′が処理され、検索後、やはり
連想メモリ装置3に登録されるとともに、カウント値は
I I+になる。
In the above example, "clothing" is first processed, and after being searched, it is registered in the associative memory device 3, and the count value is 1".
'become. Next, 6 foods "" are processed, and after being searched, they are also registered in the associative memory device 3, and the count value becomes I I+.

次に“食品″が処理され、検索後、グループ番号=2が
判り、カウント値は2′″になる。次に“食品″が処理
され、検索後、やはりグループ番号=2が判り、カウン
ト値は3”になる。
Next, "Food" is processed, and after searching, group number = 2 is found, and the count value becomes 2''.Next, "Food" is processed, and after searching, group number = 2 is also found, and the count value is becomes 3”.

このようにして集約値計算処理が進んだ結果、連想メモ
リ装置3、集約値テーブル5の内容は第4図に示すよう
になる。また集約値計算処理の進行のタイムチャートを
第5図に示す。連想メモリ装置3への登録処理は最初の
group−by属性のデータ(″衣料″5 ″食品″
″、パ会計”)を処理する時(第1.第2、第9データ
処理時)に行うことが分かる。またグループ識別/登録
処理と集約値計算処理がパイプライン処理されているこ
とも分かる。
As a result of the aggregate value calculation process progressing in this manner, the content of the associative memory device 3 and aggregate value table 5 becomes as shown in FIG. Further, a time chart of the progress of the aggregate value calculation process is shown in FIG. The registration process in the associative memory device 3 involves the initial group-by attribute data ("Clothing" 5 "Food"
It can be seen that this is done when processing (1st, 2nd, and 9th data processing). It can also be seen that group identification/registration processing and aggregate value calculation processing are pipelined.

集約値計算処理が終了した後、処理制御系2は入出力系
lを経由して、集約演算結果を集約演算要求元へ返送す
る。
After the aggregate value calculation process is completed, the processing control system 2 returns the aggregate calculation result to the aggregate calculation request source via the input/output system 1.

(b)  拡張集約演算における動作 拡張集約演算における動作は、従来の集約演算における
動作と比べ、集約値計算処理の動作のみが異なるのでそ
れのみを記’to集約値計算処理の動作はグループの連
想メモリ装置3への登録フェーズ(フェーズ1)とグル
ープ識別+集約匝計算フェーズ(フェーズ2)の2フエ
ーズから構成される。
(b) Operation in extended aggregation operation The operation in extended aggregation operation differs from the operation in conventional aggregation operation only in the operation of aggregate value calculation processing, so only that will be described. It consists of two phases: a registration phase in the memory device 3 (phase 1) and a group identification + aggregation calculation phase (phase 2).

フェーズ1ではgroup−by属性のデータの中で相
異なるデータ(グループ)を連想メモリ装置3を検索し
て見出し登録して行く。前出の例アルバイト従業員〔部
課名、 count 〕(組織〔部課名〕) を第3図のデータに適用した場合、フェーズ1では“食
品″、″衣料″、6人事″、′会計”のデータが、第6
図に示すように連想メモリ装置3へ登録される。
In phase 1, the associative memory device 3 is searched for different data (groups) among the group-by attribute data, and the headings are registered. If we apply the previous example of part-time employees [department name, count] (organization [department name]) to the data in Figure 3, in Phase 1, we will have ``food'', ``clothing'', 6 personnel, and ``accounting''. Data is the 6th
As shown in the figure, it is registered in the associative memory device 3.

フェーズ2では集約対象のデータに対し、既にグループ
が登録された連想メモリ装置3を検索してグループ識別
を行い、そこで見出したグループ番号に対応する集約値
テーブル5のエントリに対し集約値計算を行う。前出の
例では、“アルバイト従業員″リレーンヨンのゝ゛部部
課″属性のデータ、″衣料″、″食品71%食品”、・
・・を順に処理して、第6図の集約値テーブルの内容を
得る。
In phase 2, for the data to be aggregated, the associative memory device 3 in which groups have already been registered is searched for group identification, and an aggregate value is calculated for the entry in the aggregate value table 5 corresponding to the group number found there. . In the above example, data on the "department/department" attribute of "part-time employee" Relayon, "clothing", "food 71% food", etc.
. . are processed in order to obtain the contents of the aggregated value table shown in FIG.

両フェーズの処理の進行のタイムチャートを第7図に示
す。フェーズ2において、グループ識別処理と集約値計
算処理が規則的にパイプライン処理されていることが分
かる。
FIG. 7 shows a time chart of the progress of processing in both phases. It can be seen that in Phase 2, group identification processing and aggregate value calculation processing are regularly pipelined.

また第4図と第6図を比較することにより、拡張集約演
算は、従来の集約演算では欠落していた“人事課のタプ
ルを生成していることが分かる。
Furthermore, by comparing FIG. 4 and FIG. 6, it can be seen that the extended aggregation operation generates the tuple of "Human Resources Department" that was missing in the conventional aggregation operation.

「発明の効果」 以上説明したように、この発明によれば同一リレーショ
ンでgroup−by属性と集約属性を指定する従来か
ら知られている関係データベースの集約(aggreg
ate )演算及びgroup−by属性を別すレーン
ヨンで指定する拡張集約演算を、グループ識別処理に闇
しては連想メモリ装置を用いて高並列に実行し 集約値
計算処理に関しては専用回路を用いて高速に実行し、更
に両者をパイプライン処理することにより、高速に処理
することが可能となり、従来の集約演算装置が必須の経
路としていたソート処理のための特殊な処理機構及び処
理負荷問題を解決することが可能となる。
"Effects of the Invention" As explained above, according to the present invention, the aggregation (aggregation) of conventionally known relational databases that specifies group-by attributes and aggregate attributes in the same relation
ate) Extended aggregation operations specified by different lanes for operations and group-by attributes are executed in high parallelism using an associative memory device in the case of group identification processing, and a dedicated circuit is used for aggregate value calculation processing. By executing at high speed and pipeline processing both, it is possible to process at high speed, and solves the problem of special processing mechanism and processing load for sort processing, which was an essential route for conventional aggregation processing units. It becomes possible to do so.

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

第1図はこの発明の実施例を示すブロック図。 第2図は第1図中の集約演算結果4の具体例を示すブロ
ック図、第3図は説明で使用するりレーションの具体例
を示す図、第4図はこの発明による従来の集約演算にお
ける動作結果を示す図、第5図はこの発明による従来の
集約演算における動作タイムチャートを示す図、第6図
はこの発明による拡張集約演算における動作結果を示す
図、第7図はこの発明による拡張集約演算における動作
タイムチャートを示す図、第8図は従来の集約演算装置
を示すブロック図である。 特許出願人  日本電信電話株式会社 代  理  人   草  野     卓木 1 (
転) 集約演算@末元 十 2図 集約@演算同誌4 ;+73回 坩4図 逍杷メモtJ装置          集/F94直テ
ーフ゛ルロq 間
FIG. 1 is a block diagram showing an embodiment of the invention. FIG. 2 is a block diagram showing a specific example of the aggregation result 4 in FIG. 1, FIG. 3 is a diagram showing a specific example of the calculation used in the explanation, and FIG. FIG. 5 is a diagram showing the operation time chart in the conventional aggregation operation according to the present invention. FIG. 6 is a diagram showing the operation result in the extended aggregation operation according to the present invention. FIG. 7 is a diagram showing the operation result in the extended aggregation operation according to the present invention. FIG. 8 is a block diagram showing a conventional aggregation operation device. Patent applicant: Nippon Telegraph and Telephone Corporation Agent: Takuki Kusano 1 (
) Aggregate calculation @ Suemoto 10 2 figures aggregation @ Calculation same magazine 4;

Claims (1)

【特許請求の範囲】[Claims] (1)集約演算要求元とデータのやりとりを行う入出力
系と、 集約演算処理を制御する処理制御系と、 連想メモリLSIを多数連動可能とした連想メモリ装置
と、 中間段階の集約値を格納する集約値テーブルと、 集約値を計算する集約値計算回路とから構成され、 同一リレーションでグループ−バイ属性と集約属性を指
定する集約演算と、グループ−バイ属性を別リレーショ
ンで指定する拡張集約演算とを、グループ識別処理に関
しては前記連想メモリ装置を用いて並列に実行し、 集約値計算処理に関しては前記集約値計算回路を用いて
実行し、更に両者をパイプライン処理するよう前記処理
制御系が構成されている連想集約演算装置。
(1) An input/output system that exchanges data with the aggregate calculation request source, a processing control system that controls aggregate calculation processing, an associative memory device that can link a large number of associative memory LSIs, and stores aggregated values at intermediate stages. It consists of an aggregate value table that calculates the aggregate value, and an aggregate value calculation circuit that calculates the aggregate value, and performs an aggregate operation that specifies a group-by attribute and an aggregate attribute in the same relation, and an extended aggregation operation that specifies the group-by attribute in a separate relation. The processing control system executes the group identification processing in parallel using the associative memory device, the aggregate value calculation processing using the aggregate value calculation circuit, and pipeline processing of both. Associative aggregation computing device configured.
JP61291103A 1986-12-05 1986-12-05 Associative summarizing arithmetic unit Pending JPS63143627A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61291103A JPS63143627A (en) 1986-12-05 1986-12-05 Associative summarizing arithmetic unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61291103A JPS63143627A (en) 1986-12-05 1986-12-05 Associative summarizing arithmetic unit

Publications (1)

Publication Number Publication Date
JPS63143627A true JPS63143627A (en) 1988-06-15

Family

ID=17764487

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61291103A Pending JPS63143627A (en) 1986-12-05 1986-12-05 Associative summarizing arithmetic unit

Country Status (1)

Country Link
JP (1) JPS63143627A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015528603A (en) * 2012-08-20 2015-09-28 オラクル・インターナショナル・コーポレイション Aggregation / grouping operation: Hardware implementation of hash table method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015528603A (en) * 2012-08-20 2015-09-28 オラクル・インターナショナル・コーポレイション Aggregation / grouping operation: Hardware implementation of hash table method

Similar Documents

Publication Publication Date Title
US6339777B1 (en) Method and system for handling foreign key update in an object-oriented database environment
JP3072708B2 (en) Database search method and apparatus
US6912540B2 (en) Chaining database records that represent a single customer or multiple customers living in a household
JPH04213765A (en) Method for combining tables of associated database controlling apparatus and computer system therefor
JPS62128332A (en) Data processor
JPH07104871B2 (en) Join processing method in relational database
JPH02130673A (en) Data retrieving system
JPS63143627A (en) Associative summarizing arithmetic unit
JP3617672B2 (en) Parallel processor system
CN107203550A (en) A kind of data processing method and database server
JPH04253295A (en) Pos system
JP2000222434A (en) Combination retrieval method
JPH04156624A (en) High speed accessing systme in knowledge base systme
CA2268699C (en) Method for the organizational indexing, storage, and retrieval of data according to data pattern signatures
JPH0352068A (en) Logical operation system
JPH02247773A (en) Business form data base system
JPH0227477A (en) Information retrieving device
Harada et al. Event analyzer: A tool for sequential data processing
JPH03137772A (en) Data base utilizing system
JPH06103307A (en) Retrieval speeding-up method for structured data base
JPS63128429A (en) Method and device for parallel join processing
JPH05165891A (en) Data registration/retrieval system of data base
JPH03245233A (en) Label retrieving system
JPH02181874A (en) Data base device and method for managing data base
JPS63131227A (en) Data processing system