JPS62236050A - Join processing system - Google Patents

Join processing system

Info

Publication number
JPS62236050A
JPS62236050A JP61079673A JP7967386A JPS62236050A JP S62236050 A JPS62236050 A JP S62236050A JP 61079673 A JP61079673 A JP 61079673A JP 7967386 A JP7967386 A JP 7967386A JP S62236050 A JPS62236050 A JP S62236050A
Authority
JP
Japan
Prior art keywords
join
records
processing
partial
memory
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
JP61079673A
Other languages
Japanese (ja)
Inventor
Shunichiro Nakamura
俊一郎 中村
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP61079673A priority Critical patent/JPS62236050A/en
Publication of JPS62236050A publication Critical patent/JPS62236050A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To greatly shorten join processing time by dividing a join processing into plural CPU for parallel execution. CONSTITUTION:The 1st table for execution of joins is decentralized to local memories 7-10 and the 2nd table for joins is superposed on those memories 7-10 respectively. Here processors 3-6 perform the 1:1 comparison between the partial records of the 1st and 2nd tables and store successively the pairs of records satisfying the connecting conditions into the prescribed areas of a common memory device 1. Thus a low table undergone the join processing is finally produced on the device 1. As a result, the joint processing is possible in a short period without carrying out any sorting process in case one of both tables is especially large or small.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、情報処理の分野におけるリレーショナルデ
ータベースの分野に関するもので、特にその中のジョイ
ン演算の処理方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to the field of relational databases in the field of information processing, and particularly to a processing method for join operations therein.

〔従来の技術〕[Conventional technology]

まず、第6図乃至第8図を用いてリレーショナルデータ
ベースとそのジョイン演算を説明する。
First, a relational database and its join operation will be explained using FIGS. 6 to 8.

第6図はジョイン処理を行う第1の表を示し、ある会社
が購入する部品とその部品のメーカコードの対応を示し
た一覧表(部品表)である。
FIG. 6 shows the first table for performing the join process, and is a list (parts list) showing the correspondence between parts purchased by a certain company and the manufacturer codes of those parts.

また第7図は、ジョイン処理を行う第2の表を示し、メ
ーカコードに対応するメーカ名とそのメカの住所を示し
た一覧表(メーカ表)である。
FIG. 7 shows a second table for performing the join process, which is a list (manufacturer table) showing the manufacturer names corresponding to the manufacturer codes and the addresses of the mechanisms.

これら第6図及び@7図に示す第1.第2の表はリレー
ショナルデータベース(以下単にデータベースという)
中の1つの表(リレーシロン)として磁気ディスクに保
存され、データベースの検索等の要求があると、これら
の表が磁気ディスクからメモリ上に移されて処理が行わ
れるようになっている。
1 shown in these Figures 6 and @7. The second table is a relational database (hereinafter simply referred to as a database)
These tables are stored on a magnetic disk as one of the tables (relays), and when there is a request such as a database search, these tables are moved from the magnetic disk to the memory and processed.

なお本発明とは直接関係ないため以下これらの表がすで
にメモリ上にあるとして以下話を進める。
Since these tables are not directly related to the present invention, the following discussion will proceed assuming that these tables are already in the memory.

また第6図の部品表20において、たて方向の部品名、
メーカコードのことを“項目″、1C101型03等の
横方向の一行のことをレコードと呼ぶことにする。
In addition, in the parts table 20 in Fig. 6, the parts names in the vertical direction,
The manufacturer code will be referred to as an "item", and a horizontal line such as 1C101 type 03 will be referred to as a record.

リレーショナルデータベースにおけるジョイン演算とは
2つの表をある項目で結び付けて新しい表を作り出すこ
とであり、例えば第6図の部品表と第7図のメーカ表を
それぞれのメーカコード項目を結合項目として結合する
のがジョイン演算であり、その結果が第8図のジョイン
結果表となる。
A join operation in a relational database is to create a new table by linking two tables using a certain item. For example, the parts list in Figure 6 and the manufacturer table in Figure 7 are joined using their respective manufacturer code items as join items. This is a join operation, and the result is the join result table shown in FIG.

例えば部品表20でIC103型はメーカコード°01
′であり、これをメーカ表15からさがす1、    
とメーカコード01゛ はA社東京都であり、これを結
びつけたものが第8図のジョイン結果表21の第1行目
になる。
For example, in the parts list 20, the IC103 type has the manufacturer code °01.
', and search for this from manufacturer table 151.
and manufacturer code 01'' are company A Tokyo, and the result obtained by combining these becomes the first row of the join result table 21 in FIG.

なお、ジョイン演算は3つ以上の表を結合することもあ
るが分解して考えれば結局2つの表を結合することであ
る。
Note that a join operation may join three or more tables, but if you break it down, it means joining two tables.

次に第9図に示すジaイン処理装置を用いて上記ジョイ
ン演算を説明する。
Next, the above join operation will be explained using the a-in processing device shown in FIG.

第9図は従来のジジイン処理装置の構成を示し、図にお
いて、22はプロセッサ(以下CPUという)、23は
共通記憶装置(以下メモリという)である。
FIG. 9 shows the configuration of a conventional digital processing device. In the figure, 22 is a processor (hereinafter referred to as CPU) and 23 is a common storage device (hereinafter referred to as memory).

ここにおいて、第6図の部品表と第7図に示すメーカ表
とをジョイン演算して第8図に示すジョイン結果表を作
り出す場合、まず部品表及びメーカ表をその結合項目で
あるメーカコードでソートする。この例の場合にはメー
カ表はすてにメーカコードでソートされているため、部
品表のみをソートして第10図に示すソート済部品表2
4を作る。ソート済部品表24ができれば、これとメー
カ表15を上から順に見ていくことにより、容易に結合
操作が行え、第8図に示すジョイン結果表21を求める
ことができる。以上のシタイン処理で最も時間を使うの
はソート処理であり、部品表20のレコード数が多い場
合大量の時間を必要とする。
Here, when creating the join result table shown in Figure 8 by performing a join operation on the parts list shown in Figure 6 and the manufacturer table shown in Figure 7, first, the parts list and manufacturer table are entered by the manufacturer code that is the joined item. Sort. In this example, the manufacturer list is already sorted by manufacturer code, so only the parts list is sorted and the sorted parts list 2 shown in Figure 10 is used.
Make 4. Once the sorted parts table 24 is created, by looking at it and the manufacturer table 15 in order from the top, a join operation can be easily performed and the join result table 21 shown in FIG. 8 can be obtained. The most time-consuming process in the above-mentioned stein processing is the sorting process, which requires a large amount of time when the number of records in the parts list 20 is large.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

このように従来のジゴイン処理方式は、部品表とメーカ
表のレコード数が数百程度の大きさになるとソート処理
に非常に時間がかかる問題点があった。
As described above, the conventional gigoin processing method has the problem that the sorting process takes a very long time when the number of records in the parts list and manufacturer's list is about several hundred.

この発明は上記問題点を解決するためになされたもので
、特に一方の表が大きく、他方の表が小さい場合にソー
ト処理を行なわずに短い時間でシタイン処理の行なえる
方式を提供することを目的としている。
This invention was made in order to solve the above-mentioned problems, and it is an object of the present invention to provide a method that can perform stain processing in a short time without performing sort processing, especially when one table is large and the other table is small. The purpose is

〔問題点を解決するための手段〕[Means for solving problems]

このためこの発明は、ジョインを行う第1の表のデータ
を上記各ローカルメモリに分散して配置し、ジョインを
行う第2の表のデータを上記各ローカルメモリに重複し
て配置し、上記プロセッサが上記第1の表の部分レコー
ドと第2の表のレコドとをそれぞれ1対1に比較し、結
合条件がとれたペアを順次共通記憶装置の所定領域にス
トアしていくことにより、最終的に共通記憶装置上にシ
タイン処理された新しい表を作り出すようにしたことを
特徴とするものである。
Therefore, in the present invention, the data of the first table to be joined is distributed and arranged in each of the local memories, the data of the second table to be joined is redundantly arranged in each of the local memories, and the processor compares the partial records of the first table and the records of the second table on a one-to-one basis, and sequentially stores the pairs that meet the join condition in a predetermined area of the common storage device. The system is characterized in that a new table is created on the common storage device after the sine processing is performed.

〔作用〕[Effect]

この発明においては、ジョインを行う第1の表は各ロー
カルメモリに分散して配置され、ジョインを行う築2の
表は各ローカルメモリに重複して配置される。
In this invention, the first table to be joined is distributed and placed in each local memory, and the second table to be joined is redundantly placed in each local memory.

ここにプロセッサは、第1の表の部分レコードと第2の
表のレコードとをそれぞれ1:1に比較し、結合条件が
とれたベアを順次共通記憶装置の所定領域にストアして
いく。そして最終的に共通記憶装置上にジ町イン処理さ
れた新しい表を作り出す。
Here, the processor compares the partial records of the first table and the records of the second table on a 1:1 basis, and sequentially stores the bare records for which the join condition has been met in a predetermined area of the common storage device. Finally, a new processed table is created on the common storage.

〔実施例〕〔Example〕

最初に本発明の適用されるシタイン処理を説明する。 First, the stain processing to which the present invention is applied will be explained.

シタイン処理では、大きな表例えば致方レコードからな
る表を取扱う場合がソート処理に時間を要する。しかし
ながら実際のジジイン処理では、片方の表は大きいがも
う一方の表は小さい(数十レコード)というケースがか
なり多く、この場合にはソート処理を行わないで、すな
わち例えばメーカ表が数レコードといったように小さけ
れば、部品表をソートするよりもメーカ表の全レコード
と部品表の全レコードとの比較を行った方が速い。
In the stein processing, when dealing with a large table, for example, a table consisting of records, it takes time to sort the table. However, in actual Jijiin processing, there are quite a few cases where one table is large and the other table is small (several tens of records), and in this case, sorting is not performed. , it is faster to compare all the records in the manufacturer table with all the records in the parts list than to sort the parts list.

本発明はこの考えを利用したものである。The present invention utilizes this idea.

次に上記者えに基づいて本発明の一実施例を図面を参照
して説明する。
Next, an embodiment of the present invention will be described based on the above explanation with reference to the drawings.

第1図はこの発明の一実施例であるジョイン処理方式を
示す構成図である。第1図において、■は共通記憶装置
(以下共通メモリという)、2は共通バス、3〜6はそ
れぞれ第1 c p u、第20pu、第3 c p 
u、第4cpuである。各cpu3〜6はそれぞれ独立
したプロセッサである。7〜10はそれぞれ第10−カ
ルメモリ、第20−カルメモリ、第30−カルメモリ、
第40−カル外 メモリであり、それぞれ各cpu3〜6のローカルメモ
リである。各cpu3〜6が自分のローカルメモリ7〜
10にアクセスするか、共通メモリーにアクセスするか
はメモリアドレスの範囲でt&り分けられる。各cpu
3〜6が実tテするプログラムは通常ローカルメモリに
入っている。
FIG. 1 is a block diagram showing a join processing method according to an embodiment of the present invention. In FIG. 1, ■ is a common storage device (hereinafter referred to as common memory), 2 is a common bus, and 3 to 6 are 1st CPU, 20th PU, and 3rd CPU, respectively.
u, the fourth CPU. Each CPU3-6 is an independent processor. 7 to 10 are the 10th Cal Memory, the 20th Cal Memory, the 30th Cal Memory, respectively.
The 40th memory is a memory outside the CPU, and is a local memory of each of the CPUs 3 to 6. Each CPU3~6 has its own local memory7~
10 or the common memory is determined by the memory address range. each cpu
The programs 3 to 6 run are usually in local memory.

シロイン処理の実行が起動されると、まずジジインすべ
き2つの表の大きさが調べられる。片方の表のレコード
数が多く、もう一方の表のレコード数が少いと本発明の
ジョイン処理方式が起動される。以下にそのジョイン処
理方式を示す。
When execution of the input process is started, first the sizes of the two tables to be input are checked. When the number of records in one table is large and the number of records in the other table is small, the join processing method of the present invention is activated. The join processing method is shown below.

第2図は第6図の部品表20をレコード数がほぼ4等分
になるように分けたものであり、それぞれ部分部品表1
1.12.13.14である。これらの部分部品表は、
本発明とは直接関係がないため図示していない磁気ディ
スク装置等の外部入出力装置から、それぞれ各ローカル
メモリ7〜10にロードされる。榔1岡井第7図のメー
カ表15は丸ごと、各ローカルメモリ7〜10に重複し
てロードされる。右茫宍許大きい表である部品表の部分
表と小さい表であるメーカ表の全体が各ローカルメモリ
7〜IOにロードされると、各cpu3〜6はシロイン
処理を開始する。
Figure 2 shows the parts list 20 in Figure 6 divided into approximately four equal records, each with a partial parts list 1.
1.12.13.14. These partial bill of materials are
The data is loaded into each of the local memories 7 to 10 from an external input/output device such as a magnetic disk device, which is not shown since it is not directly related to the present invention. The entire manufacturer table 15 in FIG. 7 is loaded redundantly into each of the local memories 7 to 10. When the partial table of the parts list, which is a large table, and the entire manufacturer table, which is a small table, are loaded into each of the local memories 7 to IO, each of the CPUs 3 to 6 starts processing.

第4図は第1 cpu3のシロイン処理を示したもので
ある。第1 cpu3は第10−カルメモリ7にロード
されているプログラムにより、第10−カルメモリ7上
にある部分部品表11とメーカ表15に対しシロイン処
理を行う。即ち部分部品表11のレコードを1つづり取
り出し、このメーカコード項目と、メーカ表15のレコ
ードのメーカコード項目を順次比較する。一致した場合
には2つのレコードを結び付けてこれを共通メモリ1の
所定位置にストアしていく。例えば部分部品表11の一
行目のレコードのメーカコードは“03”であり、これ
をメーカ表15のレコードと比較していくと、メーカ表
の3番目のレコードと一致する。
FIG. 4 shows the sirloin treatment of the first CPU3. The first CPU 3 performs an injection process on the partial parts list 11 and manufacturer table 15 on the tenth memory 7 using the program loaded in the tenth memory 7 . That is, one record of the partial parts list 11 is taken out, and this maker code item is sequentially compared with the maker code items of the records of the maker table 15. If they match, the two records are linked and stored in a predetermined location in the common memory 1. For example, the manufacturer code of the first row record of the partial parts table 11 is "03", and when this is compared with the record of the manufacturer table 15, it matches the third record of the manufacturer table.

そこでこの2つのレコードを結び付け、IC101型C
社大阪府というレコードを作り、共通メモリ1上の部分
ジョイン結果表16に入れていく。以上の操作を部分部
品表11のすべてのレコードに対して行うことにより、
第4図に示す部分ジョイン結果表16が得られる。以上
の処理は第2、第3.第4Cpu4.5.6においても
同様に行われる。
So, by linking these two records, IC101 type C
Create a record called Company Osaka Prefecture and enter it into the partial join result table 16 on the common memory 1. By performing the above operations on all records in the partial parts list 11,
A partial join result table 16 shown in FIG. 4 is obtained. The above processing is performed in the second and third steps. The same process is performed in the fourth CPU 4.5.6.

第5図はそれぞれのCpuが並行してジaイン処理を行
い、部分ジョイン結果表16.17゜18.19を共通
メモリ1にストアしていくことを示したものである。す
べてのcpuが前記比較操作を終了するとジョイン処理
は終了する。即ち共通メモリ1上の4つの部分シロイン
結果表を集めたものが求める結果である。
FIG. 5 shows that each CPU performs a-in processing in parallel and stores partial join result tables 16.17.about.18.19 in the common memory 1. When all CPUs finish the comparison operation, the join process ends. That is, the result obtained is a collection of four partial result tables on the common memory 1.

さてここで、従来の方式と本発明による方式の処理時間
を比較する。従来の方式では、その処理時間はほとんど
大きい表のソート時間で決まる。
Now, the processing times of the conventional method and the method according to the present invention will be compared. In the conventional method, the processing time is determined mostly by the time taken to sort a large table.

ソートアルゴリズムとしてクイックソートアルゴリズム
を使った場合、レコード数をNとするとその平均比較回
数は1.39NlolλNであることが知られている。
It is known that when a quick sort algorithm is used as a sorting algorithm, the average number of comparisons is 1.39NlolλN, where N is the number of records.

これを時間と考えて、これと同じ時間単位を使うと本発
明で各Cpuが部分部品表のルコードとメーカ表のルコ
ードを比較し、もし一致したら共通メモリに部分ジ目イ
ン結果表をストアする平均時間は約“0.8゛  と見
積られる。
Considering this as time, and using the same time unit, in the present invention, each CPU compares the code in the partial parts list with the code in the manufacturer table, and if they match, stores the partial result table in the common memory. The average time is estimated to be approximately "0.8".

本発明のジョイン処理の時間はほぼ各cpuが行う部分
ジョイン処理の時間に等しく、それは小さい表(メーカ
表)のレコード数をn、大きい表(部品表)のレコード
数をNとすると千・n・0.8となる。N=2=163
84.n=20とすると、 1.39N島λN=1.39xNx14=49.5N”
1−−n ・0.8 = 4 N となり本発明のジョイン処理方式の方が約5倍速いこと
がわかる。
The time for the join processing of the present invention is approximately equal to the time for the partial join processing performed by each CPU, which is 1,000·n, where n is the number of records in the small table (manufacturer table) and N is the number of records in the large table (parts list).・It becomes 0.8. N=2=163
84. If n=20, 1.39N islands λN=1.39xNx14=49.5N"
1--n.0.8 = 4 N, and it can be seen that the join processing method of the present invention is about 5 times faster.

なお本発明は、実施例で示したようなcpuが4個の場
合に限らず、一般に複数のcpuの場合について通用で
きることは明らかである。なお上記実施例では部分ジョ
イン結果表を共通メモリにストアすることになっている
が、例えばこれを共通ディスクにストアするようにして
もよい。又部、    分部品表が大きすぎてローカル
メモリに全部入らない場合、ないしは各部分ジョイン結
果表が大きすぎて共通メモリに全部入らない場合には、
部分部品表を何回かに分けてローカルメモリに読み込む
ようにし、その都度実施例で示したものと同様の処理を
行い、この結果できた部分ジョイン結果表をその都度磁
気ディスクに書き込むということを繰り返すようにすれ
ばよい。
It is clear that the present invention is applicable not only to the case of four CPUs as shown in the embodiment, but also to the case of a plurality of CPUs in general. In the above embodiment, the partial join result table is stored in the common memory, but it may be stored in the common disk, for example. Also, if the partial parts table is too large to fit in the local memory, or if each partial join result table is too large to fit in the common memory,
The partial parts list is read into the local memory several times, the same processing as shown in the example is performed each time, and the resulting partial join result table is written to the magnetic disk each time. Just try to repeat it.

又本実施例では複数のcpuと共通メモリを共通バスで
接続しているが、必ずしもバスで接続する必要はなく、
例えば各cpuを共通記憶装置にチャネルで結合するよ
うにしてもよい。又実施例では大きい表のレコードが小
さい表のレコードのどれか1つと結合する例を示したが
、大きい表のレコードが小さい表の複数のレコードと結
合する場合についても適用できることは明らかである。
Also, in this embodiment, a plurality of CPUs and a common memory are connected by a common bus, but it is not necessary to connect them by a bus.
For example, each CPU may be coupled to a common storage device by a channel. Furthermore, in the embodiment, an example was shown in which a record of a large table is joined to one of the records of a small table, but it is clear that the present invention can also be applied to cases where a record of a large table is joined to a plurality of records of a small table.

又実施例ではリレーシフナルデータベースのジョイン演
算の場合を示したが、他の分野で同様の処理を行う場合
についても本発明が適用できることは明らかである。
Furthermore, although the embodiments have been described in connection with a join operation for a relay differential database, it is clear that the present invention can be applied to cases in which similar processing is performed in other fields.

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

以上のように、この発明によればジョインを行う第1の
表のデータを上記各ローカルメモリに分散して配置し、
ジョインを行う第2の表のデータを上記各ローカルメモ
リに重複して配置し、上記プロセッサが上記第1の表の
部分レコードと第2の表のレコードとをそれぞれ1対l
に比軸し、結合条件がとれたベアを順次共通記憶装置の
所定領域にストアしていくことにより、最終的に共通記
憶装置上にジョイン処理された新しい表を作り出すよう
にしたので、各cpuがジコイン処理を分担して並列実
行することにより、ジョイン処理のための処理時間を大
幅に短縮するという優れた効果を奏するものである。
As described above, according to the present invention, the data of the first table to be joined is distributed and arranged in each of the local memories,
The data of the second table to be joined is placed redundantly in each local memory, and the processor divides the partial records of the first table and the records of the second table one pair, respectively.
By sequentially storing the bare data for which the join condition has been met in a predetermined area of the common storage device, a new joined table is finally created on the common storage device, so each CPU By sharing the zicoin processing and executing it in parallel, this has the excellent effect of significantly shortening the processing time for the join processing.

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

第1図はこの発明の一実施例であるジョイン処理方式を
示す構成図、第2図は部分部品表を示す図、第3図はロ
ーカルメモリの内容を示す図、第4図は第1 cpuの
部分ジョイン処理を示す図、第5図は各cpuのジョイ
ン処理を示す図、第6図は部品表を示す図、第7図はメ
ーカ表を示す図、第8図はジョイン結果表を示す図、第
9図は従来のジョイン処理方式を示す図、第10図はソ
ート済部品表を示す図である。 1は共通記憶装置、3は第1cpu、4は第2cpu、
5は第3cpu、5は第4 Cp u、 7は第10−
カルメモリ、8は第20−カルメモリ、9は第30−カ
ルメモリ、lOは第40−カルメモリ、11〜14は部
分部品表、15はメーカ表、16〜19は部分ジョイン
結果表、20は部品表。 なお図中、同一符号は同一、又は相当部分を示す。 代理人  大  岩  増  m<ほか2名)第70 第9図 第8図 創○図 手続補正書(自発 昭和  年  月  日 2、発明の名称 ジツイン処理方式 3、補正をする者 代表者志岐守哉 4、代理人 i、補正の対象 発明の詳細な説明の欄。 3、補正の内容 +11明細書第4頁第6行目「共通記憶装置」とあ5の
を「記憶装置」と補正する。 以上
Fig. 1 is a block diagram showing a join processing method that is an embodiment of the present invention, Fig. 2 is a diagram showing a partial parts list, Fig. 3 is a diagram showing the contents of local memory, and Fig. 4 is a diagram showing the first CPU. Figure 5 shows the join process for each CPU, Figure 6 shows the parts list, Figure 7 shows the manufacturer list, and Figure 8 shows the join result table. 9 are diagrams showing a conventional join processing method, and FIG. 10 is a diagram showing a sorted parts list. 1 is a common storage device, 3 is a first CPU, 4 is a second CPU,
5 is the 3rd CPU, 5 is the 4th CPU, 7 is the 10th CPU
8 is the 20th Cal memory, 9 is the 30th Cal memory, IO is the 40th Cal memory, 11 to 14 are partial parts lists, 15 is a manufacturer table, 16 to 19 are partial join result tables, and 20 is a parts list. In the figures, the same reference numerals indicate the same or equivalent parts. Agent Masu Oiwa (M and 2 others) No. 70 Figure 9 Figure 8 Creation ○ Drawing procedure amendment (spontaneous, Showa year, month, day 2, name of the invention, Jitwin processing method 3, representative of the person making the amendment, Moriya Shiki) 4. Agent i, column for detailed explanation of the invention to be amended. 3. Contents of amendment + 11 Amend item 5 to read "common storage device" in line 6 of page 4 of the specification as "storage device."that's all

Claims (1)

【特許請求の範囲】 各々ローカルメモリを持った複数個のプロセッサとこれ
ら複数個のプロセッサからアクセス可能な共通記憶装置
とを有し、2つの表をある項目で結び付けて新しい表を
作り出すジョイン処理方式において、 ジョインを行う第1の表のデータを上記各ローカルメモ
リに分散して配置し、ジョインを行う第2の表のデータ
を上記各ローカルメモリに重複して配置し、上記プロセ
ッサが上記第1の表の部分レコードと第2の表のレコー
ドとをそれぞれ1対1に比較し、結合条件がとれたペア
を順次共通記憶装置の所定領域にストアしていくことに
より、最終的に共通記憶装置上にジョイン処理された新
しい表を作り出すようにしたことを特徴とするジョイン
処理方式。
[Claims] A join processing method that has a plurality of processors each having a local memory and a common storage device that can be accessed by the plurality of processors, and creates a new table by linking two tables using a certain item. The data of the first table to be joined is distributed and placed in each of the local memories, the data of the second table to be joined is redundantly placed in each of the local memories, and the processor By comparing the partial records of the first table and the records of the second table on a one-to-one basis, and sequentially storing the pairs that meet the join conditions in a predetermined area of the common storage device, the partial records of the second table are finally stored in the common storage device. A join processing method characterized by creating a new table that is joined above.
JP61079673A 1986-04-07 1986-04-07 Join processing system Pending JPS62236050A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61079673A JPS62236050A (en) 1986-04-07 1986-04-07 Join processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61079673A JPS62236050A (en) 1986-04-07 1986-04-07 Join processing system

Publications (1)

Publication Number Publication Date
JPS62236050A true JPS62236050A (en) 1987-10-16

Family

ID=13696706

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61079673A Pending JPS62236050A (en) 1986-04-07 1986-04-07 Join processing system

Country Status (1)

Country Link
JP (1) JPS62236050A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7930271B2 (en) 2000-10-09 2011-04-19 Maximum Availability Ltd. Method and apparatus for data processing

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7930271B2 (en) 2000-10-09 2011-04-19 Maximum Availability Ltd. Method and apparatus for data processing
US8818939B2 (en) 2000-10-09 2014-08-26 Maximum Availability Ltd. Method and apparatus for data processing

Similar Documents

Publication Publication Date Title
US5333318A (en) Creating and searching a quad linked list in a trunked communication system
US5579515A (en) Method of checking index integrity in a DB2 database
EP0066061A2 (en) Relational algebra engine
US20020065793A1 (en) Sorting system and method executed by plural computers for sorting and distributing data to selected output nodes
Belli et al. Specification of fault-tolerant system issues by predicate/transition nets and regular expressions-approach and case study
US11797487B2 (en) Maintaining stable record identifiers in the presence of updated data records
JPH03156571A (en) Join processing system for relational data base
JPS62236050A (en) Join processing system
Snyder An Inquiry into the Benefits of Multigauge Parallel Computation.
CN109255011A (en) A kind of Search Hints method and electronic equipment based on artificial intelligence
US6163783A (en) Check data operation for DB2
JP2538630B2 (en) Automatic test item selection system
CN104573098A (en) Large-scale object recognition method based on Spark system
JPS63282838A (en) Name collation processing system
US11599530B2 (en) Method of processing data in a database by simultaneously processing row data of key pairs which include a key of a first table in the database, and a matching key and a unique row of a second table in the database
US11599529B2 (en) Method of batch processing data that is stored in multiple tables as a plurality of rows of data by reading out and batch processing data from only a portion of a row from each of tables that is to be used in batch processing logic
JP3263414B2 (en) Receipt check method
CN112965967B (en) Data uniqueness checking method and device during batch modification
JPS63138440A (en) Data base comparing system
Kuwabara New Data Structure for Many-to-Many Relations to Reduce Data Size, Recording Time, and Search Time
JP2002297897A (en) Method and program for storing data
JP2697630B2 (en) Level-by-level development method for material requirements planning
JPH02259828A (en) File mergence processing system
CN116467326A (en) Data updating method and device based on real matrix
JP2514023B2 (en) Programmable controller control method