JP2000222434A - Combination retrieval method - Google Patents

Combination retrieval method

Info

Publication number
JP2000222434A
JP2000222434A JP11026987A JP2698799A JP2000222434A JP 2000222434 A JP2000222434 A JP 2000222434A JP 11026987 A JP11026987 A JP 11026987A JP 2698799 A JP2698799 A JP 2698799A JP 2000222434 A JP2000222434 A JP 2000222434A
Authority
JP
Japan
Prior art keywords
index
key value
field
data
entry
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
JP11026987A
Other languages
Japanese (ja)
Inventor
Koichi Hoshino
耕一 星野
Sukeyoshi Segata
祐喜 瀬形
Mamoru Ichikawa
守 市川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Software Engineering Co Ltd
Hitachi Ltd
Original Assignee
Hitachi Software Engineering Co Ltd
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Software Engineering Co Ltd, Hitachi Ltd filed Critical Hitachi Software Engineering Co Ltd
Priority to JP11026987A priority Critical patent/JP2000222434A/en
Publication of JP2000222434A publication Critical patent/JP2000222434A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To speed up the retrieval of data obtained by combining plural tables while using a field different from a combination field as a retrieving condition by previously preparing an index having the storing position information of data in plural tables for every key value of the combination field. SOLUTION: The method for previously determining a field to be a retrieval condition and a field for combining plural tables, previously preparing an index having the key value of a field to be combined for every key value of the filed to be the retrieving condition and having the storing position information of data in plural tables having a combination key value in each key value of the field to be combined and using the index in the combination retrieval is adopted.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は複数のテーブルを結
合する検索方法に関し、特に検索条件としたフィールド
と複数のテーブルを結合するフィールドが異なる場合の
結合検索方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a retrieval method for joining a plurality of tables, and more particularly to a retrieval method when a field used as a retrieval condition and a field for joining a plurality of tables are different.

【0002】[0002]

【従来の技術】従来技術のリレーショナルデータベース
システムにおいて、複数のテーブルを結合させて検索を
行う方法としては、特開平2−93766号公報にある
ように、複数のテーブルを結合するフィールドのキー値
と前記結合するフィールドのキー値を有する複数のテー
ブルのデータの格納位置情報を有するインデクスを用意
し、前記インデクスを用いることにより結合処理を行う
方法がある。
2. Description of the Related Art In a conventional relational database system, as a method of performing a search by connecting a plurality of tables, as disclosed in Japanese Patent Application Laid-Open No. 2-93766, a key value of a field connecting a plurality of tables is used. There is a method in which an index having storage position information of data of a plurality of tables having a key value of the field to be joined is prepared, and the joining process is performed by using the index.

【0003】[0003]

【発明が解決しようとする課題】上述した従来の結合検
索方式では、複数のテーブルを結合するフィールドと異
なるフィールドのキー値を検索条件とする場合、検索条
件のキー値の検索を高速化するためには検索条件とする
フィールドにも別のインデクスを作成しておく必要があ
り、前記検索条件とするフィールドに用意されたインデ
クスを使用し検索条件のキー値を有するデータを取り出
すことにより、結合フィールドのキー値を決定した後、
結合キー値から複数のテーブルのデータ格納位置情報を
有するインデクスを使用することにより、複数のテーブ
ルのデータの格納位置が決定されるため、結果として2
本のインデクスを探索する必要があった。
In the above-described conventional join search method, when a key value of a field different from a field joining a plurality of tables is used as a search condition, the search of the key value of the search condition is speeded up. It is necessary to create another index in the field used as the search condition, and by using the index prepared in the field used as the search condition, extracting the data having the key value of the search condition, After determining the key value of
By using an index having data storage location information of a plurality of tables from the join key value, the storage location of the data of the plurality of tables is determined.
We had to search for the book index.

【0004】本発明の目的は、検索条件とするフィール
ドと複数のテーブルを結合するフィールドが定型化して
いる結合検索の場合、検索条件とするフィールドのキー
値毎に結合するフィールドのキー値を有し、結合するフ
ィールドのキー値毎の複数のテーブルのデータの格納位
置情報を有するインデクスを用意しておき、前記インデ
クスのみを使用し結合検索を行うことで、複数のテーブ
ルを結合するフィールドと検索条件とするフィールドが
異なる場合の結合検索を高速化することにある。
An object of the present invention is to provide a combined search in which a field used as a search condition and a field connecting a plurality of tables have a fixed form. In addition, an index having data storage position information of a plurality of tables for each key value of a field to be joined is prepared, and a join search is performed using only the index. An object of the present invention is to speed up a joint search when fields used as conditions are different.

【0005】[0005]

【課題を解決するための手段】前記の目的を解決するた
め、検索条件とするフィールドと複数のテーブルを結合
させるフィールドを決定しておき、検索条件とするフィ
ールドのキー値毎に結合するフィールドのキー値を有
し、結合するフィールドのキー値毎に結合キー値を有す
る複数テーブルのデータの格納位置情報を有するインデ
クスを用意しておき、結合検索時は前記インデクスを使
用することを特徴とする。
In order to solve the above-mentioned object, a field to be used as a search condition and a field to be connected to a plurality of tables are determined in advance, and a field to be connected to each key value of the field to be used as a search condition is determined. An index having a key value and having storage location information of data of a plurality of tables having a join key value for each key value of a field to be joined is prepared, and the index is used at the time of join search. .

【0006】[0006]

【発明の実施の形態】以下、本発明の実施の形態を図面
を用いて具体的に説明する。
Embodiments of the present invention will be specifically described below with reference to the drawings.

【0007】図1は、本発明の一実施例におけるリレー
ショナルデータベースシステムを含むオンラインシステ
ム構成を示したものである。
FIG. 1 shows an online system configuration including a relational database system according to an embodiment of the present invention.

【0008】図1において、電子計算機10にはオンラ
イン処理で使用するオンライン端末11およびデータベ
ース12を格納する外部記憶装置13が接続されてい
る。電子計算機10には、端末11からの入力によって
トランザクション制御をするオンライン管理プログラム
14、トランザクション処理を行う業務プログラム1
5、業務プログラム15からの要求により、データベー
ス12が格納されている外部記憶装置13に対してデー
タの格納、取り出しを行うデータベース管理プログラム
16が接続されている。
In FIG. 1, an online terminal 11 used for online processing and an external storage device 13 for storing a database 12 are connected to the computer 10. The computer 10 includes an online management program 14 for performing transaction control based on an input from the terminal 11 and a business program 1 for performing transaction processing.
5. In response to a request from the business program 15, a database management program 16 for storing and retrieving data from and to an external storage device 13 in which the database 12 is stored is connected.

【0009】図2は、データベース12の構成例を示し
たものであり、データ21を格納するデータ格納領域2
2と、複数のテーブルの結合関係を管理するための結合
インデクス23と、検索条件とするフィールドのキー値
毎の複数テーブルを結合するフィールドのキー値を管理
するための制限インデクス25と、複数のテーブルを結
合するフィールドのキー値に対する複数のテーブルのデ
ータ21の格納位置情報を管理するための結合キーポイ
ンタ部27とからなる。
FIG. 2 shows an example of the configuration of the database 12. The data storage area 2 stores data 21.
2, a binding index 23 for managing a joining relationship between a plurality of tables, a restriction index 25 for managing a key value of a field for joining a plurality of tables for each key value of a field serving as a search condition, and a plurality of A join key pointer unit 27 for managing storage position information of the data 21 of the plurality of tables with respect to the key value of the field joining the tables.

【0010】結合インデクス23は木構造をしており、
結合キー値と、結合キー値を有する結合キーポインタ部
27の格納位置情報とからなるエントリ24を持つ。
The join index 23 has a tree structure.
It has an entry 24 consisting of a combined key value and storage location information of the combined key pointer unit 27 having the combined key value.

【0011】結合インデクス23のエントリ24の形式
を図3に示す。
FIG. 3 shows the format of the entry 24 of the binding index 23.

【0012】結合インデクス23は、結合するフィール
ドのキー値が一致するデータを管理するインデクスであ
る。複数のテーブルのデータの結合関係を維持するため
に作成される。また、結合フィールドのキー値を検索条
件とした結合検索の場合、結合インデクス23が使用さ
れる。
The join index 23 is an index for managing data having the same key value of the field to be joined. Created to maintain the join relationship between data in multiple tables. In the case of a join search using the key value of the join field as a search condition, the join index 23 is used.

【0013】制限インデクス25は木構造をしており、
検索条件となるフィールドのキー値と、検索条件となる
フィールドのキー値に対応する結合フィールドの結合キ
ー値と、検索条件となるフィールドのキー値を有する全
てのデータ21の格納位置情報と、結合キー値を有する
結合キーポインタ部27の格納位置情報とからなるエン
トリ26を持つ。
The restriction index 25 has a tree structure.
A key value of a field serving as a search condition, a connection key value of a connection field corresponding to the key value of the field serving as a search condition, storage location information of all data 21 having a key value of the field serving as a search condition, It has an entry 26 consisting of storage position information of a combined key pointer section 27 having a key value.

【0014】制限インデクス25のエントリ26の形式
を図4に示す。
FIG. 4 shows the format of the entry 26 of the restriction index 25.

【0015】制限インデクス25は、結合インデクス2
3により結合されたデータの集合を、結合するフィール
ドとは別のフィールドをキーとして管理するインデクス
である。この結合するフィールドとは別のフィールドを
検索条件とし、結合フィールドを結合条件とした検索時
に制限インデクス25が使用される。
The restriction index 25 is the combination index 2
3 is an index for managing a set of data combined by using a field different from the field to be combined as a key. A restriction index 25 is used at the time of a search using a field different from the field to be joined as a search condition and a join field as a join condition.

【0016】結合キーポインタ部27は結合キー値を有
する複数のテーブルのデータ21の格納位置情報からな
るエントリ28からなる。
The binding key pointer section 27 is composed of an entry 28 consisting of storage location information of data 21 of a plurality of tables having binding key values.

【0017】結合キーポインタ部27のエントリ28の
形式を図5に示す。
FIG. 5 shows the format of the entry 28 of the combined key pointer section 27.

【0018】結合キーポインタ部27は、結合インデク
ス23、制限インデクス25で共用している部分であ
り、結合インデクス23と制限インデクス25で共用す
ることにより、更新箇所の局所化、インデクス容量の削
減を目的としている。結合インデクス23や制限インデ
クス25が使用された場合、結合キーポインタ部27が
使用される。
The joining key pointer section 27 is a part shared by the joining index 23 and the limiting index 25. By sharing the joining key pointer section 27 with the joining index 23 and the limiting index 25, localization of the update portion and reduction of the index capacity are achieved. The purpose is. When the combined index 23 and the restricted index 25 are used, the combined key pointer unit 27 is used.

【0019】図6は、本発明の対象となる結合検索を行
うテーブル構造を示したものである。
FIG. 6 shows a table structure for performing a join search which is an object of the present invention.

【0020】図7は、図6の示すテーブル構造につい
て、売り上げテーブルの支店番号を検索条件とし商品テ
ーブルと売り上げテーブルを商品番号の値で結合する場
合に、本発明による制限インデクス25のエントリと結
合キーポインタ部27のエントリおよび各テーブルのデ
ータ21の格納状態を示したものである。
FIG. 7 shows the table structure shown in FIG. 6, in which the merchandise table and the sales table are joined by the value of the merchandise number using the branch number of the sales table as a search condition and the entry of the restricted index 25 according to the present invention. 3 shows the storage state of the entry of the key pointer unit 27 and the data 21 of each table.

【0021】図6の売り上げテーブルと商品テーブルよ
り支店番号100の扱う商品の商品名を取り出す検索を
行った場合のデータ格納位置の探索方法を例に説明す
る。
A method of searching for a data storage position when a search is performed to retrieve the product name of the product handled by the branch number 100 from the sales table and the product table in FIG. 6 will be described as an example.

【0022】本発明の制限インデクス25のエントリ2
6は、検索条件フィールドである支店番号のキー値と、
支店番号のキー値に対応する結合キー値となる商品番号
のキー値と、結合キー値を有する結合キーポインタ部2
7の格納位置情報と、支店番号のキー値を有するデータ
21の格納位置情報とからなる。
Entry 2 of the restriction index 25 of the present invention
6 is a key value of a branch number which is a search condition field;
A merchandise number key value which is a joint key value corresponding to the branch number key value, and a joint key pointer unit 2 having the joint key value
7 and the storage position information of the data 21 having the key value of the branch number.

【0023】支店番号100をキー値に制限インデクス
25を探索する。「支店番号、結合キー値」が「10
0、10」のエントリ41は該当するエントリであり、
結合キー値「10」を有する結合キーポインタ部27の
格納位置42が決定される。
The restriction index 25 is searched using the branch number 100 as a key value. "Branch number, join key value" is "10
The entry 41 of “0, 10” is a corresponding entry,
The storage position 42 of the combined key pointer unit 27 having the combined key value “10” is determined.

【0024】結合キーポインタ部27の結合キー値「1
0」のエントリ43より、商品番号10の商品テーブル
のデータ21の格納位置44が決定されるため、商品番
号10の商品テーブルのデータ45から商品名“掃除
機”が得られる。同様に制限インデクス25の「支店番
号、結合キー値」が「100、20」、「100、3
0」のエントリも該当するため、前記方法により商品名
“冷蔵庫”および“テレビ”が得られる。
The combined key value "1" of the combined key pointer 27
Since the storage position 44 of the data 21 of the product table of the product number 10 is determined from the entry 43 of “0”, the product name “vacuum cleaner” is obtained from the data 45 of the product table of the product number 10. Similarly, the “branch number, join key value” of the restriction index 25 is “100, 20”, “100, 3”.
Since the entry of "0" also corresponds, the product name "refrigerator" and "television" can be obtained by the above method.

【0025】上述に示す処理により、検索条件とするフ
ィールドのキー値を制限インデクス25から探索するこ
とで、他のインデクスの探索や不要なデータを取り出す
ことなく目的とするデータのみを取り出すことができ、
処理時間の短縮が図れる。
According to the above-described processing, the key value of the field serving as the search condition is searched from the restricted index 25, so that only the target data can be extracted without searching other indexes or extracting unnecessary data. ,
Processing time can be reduced.

【0026】図8は、図6の売り上げテーブルにデータ
「200,関西,20,140」61を追加したもので
ある。
FIG. 8 is obtained by adding data “200, Kansai, 20, 140” 61 to the sales table of FIG.

【0027】図9は、図8に示す商品テーブルと売り上
げテーブルについての結合インデクス23のエントリ、
制限インデクス25のエントリ、結合キーポインタ部2
7のエントリおよび各テーブルのデータ21の格納状態
を示したものである。
FIG. 9 shows an entry of the combined index 23 for the product table and the sales table shown in FIG.
Entry of restriction index 25, binding key pointer part 2
7 shows the storage state of the entry 21 and the data 21 of each table.

【0028】図6の売り上げテーブルにデータ「20
0,関西,20,140」61が追加された場合を例に
制限インデクス25および結合キーポインタ部27の変
更方法を説明する。売り上げテーブルにデータ「20
0,関西,0,140」61が追加されると、追加され
たデータ61の結合フィールドである商品番号のキー値
は「20」であるため結合インデクス23に結合キー値
「20」が存在するか探索する。結合インデクス23に
対し結合キー値の存在有無を探索することにより、制限
インデクス25の全エントリに対し結合キー値を探索す
る必要がなくなり、更新処理の短縮を図っている。
The data "20" is stored in the sales table shown in FIG.
[0, Kansai, 20, 140] 61 will be described as an example of how to change the restriction index 25 and the binding key pointer unit 27. Data “20” in the sales table
When "0, Kansai, 0, 140" 61 is added, since the key value of the product number, which is the binding field of the added data 61, is "20", the binding key value "20" exists in the binding index 23. Or search. By searching the join index 23 for the presence or absence of a join key value, it is not necessary to search for a join key value for all entries of the restricted index 25, and the update process is shortened.

【0029】結合インデクス23に結合キー値「20」
のエントリ62が存在するため、結合キーポインタ部2
7のエントリ64の格納位置63が決定する。結合キー
ポインタ部27の結合キー値「20」のエントリ64に
追加データ61の格納位置情報65を設定する。制限イ
ンデクス25には追加データ61に対応するエントリ6
6を追加し、追加データ61の格納位置情報67と結合
キーポインタ部27のエントリ66の格納位置情報68
とをエントリ66に設定することにより制限インデクス
25の更新が完成する。
The join key value "20" is set in the join index 23.
Since the entry 62 exists, the binding key pointer unit 2
The storage position 63 of the seventh entry 64 is determined. The storage position information 65 of the additional data 61 is set in the entry 64 of the connection key value “20” of the connection key pointer unit 27. The entry 6 corresponding to the additional data 61 is stored in the restriction index 25.
6 is added, and the storage position information 67 of the additional data 61 and the storage position information 68 of the entry 66 of the combined key pointer unit 27 are added.
Is set in the entry 66, the update of the restriction index 25 is completed.

【0030】このように、複数のテーブルの各データ2
1の結合フィールドが同一キー値をもつデータ21の格
納位置情報を結合キーポインタ部27として有し、結合
インデクス23および制限インデクス25それぞれに結
合キーポインタ部27の該当エントリの格納位置情報を
有することで複数のテーブルの各データ21の格納位置
情報を共有し更新箇所を局所化することにより処理を簡
潔にし更新処理を短縮を図っている。
As described above, each data 2 of a plurality of tables
One combined field has the storage position information of the data 21 having the same key value as the combined key pointer unit 27, and the combined index 23 and the restricted index 25 each have the storage position information of the corresponding entry of the combined key pointer unit 27. By sharing the storage position information of each data 21 of a plurality of tables and localizing the update location, the processing is simplified and the update processing is shortened.

【0031】図10は、図8の商品テーブルにデータ
「40、洗濯機、63000」81を追加したものであ
る。
FIG. 10 is obtained by adding data “40, washing machine, 63000” 81 to the product table of FIG.

【0032】図11は、図8に示す商品テーブルと売り
上げテーブルについての結合インデクス23のエント
リ、制限インデクス25のエントリ、結合キーポインタ
部27のエントリおよび各テーブルのデータ21の格納
状態を示したものである。
FIG. 11 shows the storage state of the entry of the combined index 23, the entry of the restricted index 25, the entry of the combined key pointer unit 27, and the data 21 of each table for the product table and the sales table shown in FIG. It is.

【0033】図8の商品テーブルにデータ「40,洗濯
機,63000」81が追加された場合を例に結合イン
デクス23および結合キーポインタ部27の変更方法を
説明する。
A method of changing the combination index 23 and the combination key pointer 27 will be described by taking as an example a case where data "40, washing machine, 63000" 81 is added to the commodity table of FIG.

【0034】商品テーブルにデータ「40,洗濯機,6
3000」81が追加されると、追加されたデータ81
の結合フィールドである商品番号のキー値は「40」で
あるため結合インデクス23に結合キー値「40」が存
在するか探索する。結合インデクス23に結合キー値
「40」のエントリは存在しないため、結合キーポイン
タ部27に結合キー値「40」のエントリ82を追加
し、追加データ81の格納位置情報である格納位置情報
83をエントリ82に設定する。結合インデクス23に
結合キー値「40」のエントリ84を追加し、結合キー
ポインタ部27の結合キー値「40」のエントリ82の
格納位置情報である格納位置情報85をエントリ84に
設定することで結合インデクス23の更新が完成する。
検索条件となるキー値に対応する結合関係に変更が発生
しないため、結合キーポインタ部27にエントリを追加
するのみで制限インデクス25の更新は発生しない。
The data "40, washing machine, 6
When "3000" 81 is added, the added data 81
Since the key value of the product number, which is the combination field of "", is "40", it is searched for the combination key value "40" in the combination index 23. Since there is no entry of the binding key value “40” in the binding index 23, an entry 82 of the binding key value “40” is added to the binding key pointer unit 27, and the storage location information 83 that is the storage location information of the additional data 81 is added. Set in entry 82. By adding an entry 84 of the join key value “40” to the join index 23 and setting the storage position information 85 that is the storage position information of the entry 82 of the join key value “40” of the join key pointer unit 27 in the entry 84. The update of the join index 23 is completed.
Since there is no change in the binding relationship corresponding to the key value serving as a search condition, only the entry is added to the binding key pointer unit 27, and the restriction index 25 is not updated.

【0035】[0035]

【発明の効果】以上説明したように、本発明の結合検索
方式によれば、複数データを結合して検索を行う場合、
検索条件となるフィールドのキー値毎の結合関係を管理
している制限インデクスのみの探索で複数のテーブルの
格納位置を決定できるため、結合検索性能が向上される
効果がある。
As described above, according to the combined search method of the present invention, when performing a search by combining a plurality of data,
Since the storage positions of a plurality of tables can be determined by searching only the restricted index that manages the join relationship for each key value of a field serving as a search condition, the join search performance is improved.

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

【図1】本発明によるデータベースを有するオンライン
システムの構成例を示す図。
FIG. 1 is a diagram showing a configuration example of an online system having a database according to the present invention.

【図2】本発明の対象となるデータベースの構成例を示
す図。
FIG. 2 is a diagram showing a configuration example of a database to which the present invention is applied.

【図3】結合インデクスのエントリの形式を示す図。FIG. 3 is a diagram showing a format of an entry of a combined index.

【図4】制限インデクスのエントリの形式を示す図。FIG. 4 is a diagram showing a format of a restricted index entry.

【図5】結合キーポインタ部のエントリの形式を示す
図。
FIG. 5 is a diagram showing a format of an entry of a combined key pointer unit.

【図6】本発明の対象となるデータベースのテーブル構
造例を示す図。
FIG. 6 is a diagram showing an example of a table structure of a database to which the present invention is applied.

【図7】データベースの実際のデータの格納状態を示す
図。
FIG. 7 is a view showing a storage state of actual data in a database.

【図8】本発明の対象となるデータベースのテーブル構
造例を示す図。
FIG. 8 is a diagram showing an example of a table structure of a database to which the present invention is applied.

【図9】データが追加された場合のデータベースの実際
のデータの格納状態を示す図。
FIG. 9 is a view showing the actual data storage state of a database when data is added.

【図10】本発明の対象となるデータベースのテーブル
構造例を示す図。
FIG. 10 is a diagram showing an example of a table structure of a database to which the present invention is applied.

【図11】データが追加された場合のデータベースの実
際のデータの格納状態を示す図。
FIG. 11 is a diagram showing a storage state of actual data in a database when data is added.

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

11…オンライン端末、12…データベース、13…外
部記憶装置、14…オンライン管理プログラム、15…
業務プログラム、16…データベース管理プログラム、
21…データ、22…データ格納領域、23…インデク
ス格納領域、24…インデクスエントリ、25…インデ
クス格納領域、26…インデクスエントリ、27…結合
キーポインタ部、28…エントリ。
11 online terminal, 12 database, 13 external storage device, 14 online management program, 15
Business program, 16 ... database management program,
21: Data, 22: Data storage area, 23: Index storage area, 24: Index entry, 25: Index storage area, 26: Index entry, 27: Combined key pointer section, 28: Entry

───────────────────────────────────────────────────── フロントページの続き (72)発明者 瀬形 祐喜 神奈川県横浜市中区尾上町6丁目81番地 日立ソフトウェアエンジニアリング株式会 社内 (72)発明者 市川 守 神奈川県横浜市中区尾上町6丁目81番地 日立ソフトウェアエンジニアリング株式会 社内 Fターム(参考) 5B075 ND03 ND36 NK02 NK04 NK44 NK54 PP02 PP12 PP22 PQ02 PQ15 PQ46 QR01 QT06 UU40 ──────────────────────────────────────────────────の Continuing on the front page (72) Inventor Yuki Segata 6-81 Onoe-cho, Naka-ku, Yokohama-shi, Kanagawa Prefecture In-house Hitachi Software Engineering Co., Ltd. (72) Mamoru Ichikawa 6, Onoe-cho, Naka-ku, Yokohama, Kanagawa 81 Hitachi Software Engineering Co., Ltd. In-house F-term (reference) 5B075 ND03 ND36 NK02 NK04 NK44 NK54 PP02 PP12 PP22 PQ02 PQ15 PQ46 QR01 QT06 UU40

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】複数のテーブルを結合してデータを検索す
る検索で、複数のテーブルを結合させる結合フィールド
とは別のフィールドのキー値を検索条件とするリレーシ
ョナルデータベースシステムでの結合検索方法におい
て、検索条件とするフィールドのキー値aと、キー値aに
対応する結合フィールドのキー値bと、キー値aを有する
全データの格納位置情報と、キー値bを有する前記複数
テーブルの各データの格納位置情報、を有するインデク
スを用いることを特徴とする結合検索方法。
1. A search method in a relational database system, in which a search is performed by joining a plurality of tables to search for data, wherein a key value of a field different from a joining field joining the plurality of tables is used as a search condition. A key value a of a field as a search condition, a key value b of a combined field corresponding to the key value a, storage position information of all data having the key value a, and a data value of each data of the plurality of tables having the key value b A join search method using an index having storage position information.
JP11026987A 1999-02-04 1999-02-04 Combination retrieval method Pending JP2000222434A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11026987A JP2000222434A (en) 1999-02-04 1999-02-04 Combination retrieval method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11026987A JP2000222434A (en) 1999-02-04 1999-02-04 Combination retrieval method

Publications (1)

Publication Number Publication Date
JP2000222434A true JP2000222434A (en) 2000-08-11

Family

ID=12208527

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11026987A Pending JP2000222434A (en) 1999-02-04 1999-02-04 Combination retrieval method

Country Status (1)

Country Link
JP (1) JP2000222434A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004016743A (en) * 2002-06-20 2004-01-22 P To Pa:Kk Game machine, game control method and program
JP2004065309A (en) * 2002-08-01 2004-03-04 P To Pa:Kk Game machine, game control method and program
JP2017116981A (en) * 2015-12-21 2017-06-29 Kddi株式会社 Structure data generator, searching device, structure data generating method, and structure data generating program
JP6974665B1 (en) * 2021-06-30 2021-12-01 株式会社インフォメックス Search device, search method, and program
WO2023276168A1 (en) * 2021-06-30 2023-01-05 株式会社インフォメックス Search device, search method, and recording medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004016743A (en) * 2002-06-20 2004-01-22 P To Pa:Kk Game machine, game control method and program
JP2004065309A (en) * 2002-08-01 2004-03-04 P To Pa:Kk Game machine, game control method and program
JP2017116981A (en) * 2015-12-21 2017-06-29 Kddi株式会社 Structure data generator, searching device, structure data generating method, and structure data generating program
JP6974665B1 (en) * 2021-06-30 2021-12-01 株式会社インフォメックス Search device, search method, and program
WO2023276168A1 (en) * 2021-06-30 2023-01-05 株式会社インフォメックス Search device, search method, and recording medium

Similar Documents

Publication Publication Date Title
US7660814B2 (en) Techniques for mapping a physical table to multiple virtual tables
CN106294402A (en) The data search method of a kind of heterogeneous data source and device thereof
CN111651424B (en) Data processing method, device, data node and storage medium
US7174341B2 (en) Dynamic database management system and method
JP2000222434A (en) Combination retrieval method
US7941423B2 (en) Virtual pair algorithm for outer join resolution
JP2003150633A (en) Data joining/presenting method and data joining/ presenting program
US20170055102A1 (en) Method and system for defining an offlinable model graph
CN114357254A (en) Metadata management method, metadata management terminal, electronic device, and storage medium
JPH0644309A (en) Data base managing system
JPH11232154A (en) Retrieval method and device for resolving heter-ogeneousness of plural data bases, and recording medium having recorded multi-data base heterogeneousness resolving retrieval program
JPH0193843A (en) System for coupling table
CN109582697A (en) Multilist dynamically associates querying method, device, server and storage medium
JPH1091644A (en) Method and device for processing data base query
US6219663B1 (en) Method and computer program product for implementing pushdown query in a distributed object management system
CN116339717B (en) Data execution method, device, equipment and medium
JP2001101233A (en) Data base processor
CN111352933B (en) Index system is swiftly established to big data database in high in clouds
CN112035485B (en) Method and system for realizing efficient query of credit information data based on distributed architecture
JP6801195B2 (en) Search processing method, search processing device and search processing program
CN107436903A (en) A kind of data base management method based on NoSQL
JPH09167111A (en) Method for storing data for database
JP2001147936A (en) Document retrieval system and method, and recording medium
JPH06282579A (en) Retrieval expression preparing method for data base
JPH04250526A (en) File processor

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees