JPH0269871A - Inquiry processing system for distributed data base system - Google Patents

Inquiry processing system for distributed data base system

Info

Publication number
JPH0269871A
JPH0269871A JP63223099A JP22309988A JPH0269871A JP H0269871 A JPH0269871 A JP H0269871A JP 63223099 A JP63223099 A JP 63223099A JP 22309988 A JP22309988 A JP 22309988A JP H0269871 A JPH0269871 A JP H0269871A
Authority
JP
Japan
Prior art keywords
database
data
schema
query
level
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
JP63223099A
Other languages
Japanese (ja)
Inventor
Atsumi Kimura
淳美 木村
Kiyotaka Kiho
木保 清隆
Hiromichi Ishikawa
石川 博道
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 Ltd
Original Assignee
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 Ltd filed Critical Hitachi Ltd
Priority to JP63223099A priority Critical patent/JPH0269871A/en
Publication of JPH0269871A publication Critical patent/JPH0269871A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To speed up inquiry processing by controlling the conversion of data according to information to show need or needlessness in the case where data base inquiring data is edited by a data converting means when data base inquiry is inputted. CONSTITUTION:The information to show the need or the needlessness of the data conversion in each level is set by using a mapping level adding means. Namely, a data conversion level in each level is set by using the mapping level adding means, and when the data base inquiry is inputted, at the time of the editing of the data base inquiring data, the data converting means converts the data according to a mapping level, and transfers it to an origin of a request. Thus, needless data conversion can be excluded, and the speedup of the inquiry processing can be attained.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は分散データベースシステムの問合せ処理方式に
関し、特に問合せ処理における多層化したスキーマ間の
データ変換の高速化に好適な9分散データベースシステ
ムの問合せ処理方式に関するものである。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a query processing method for a distributed database system, and in particular to a query processing method for a 9-distributed database system suitable for speeding up data conversion between multi-layered schemas in query processing. This is related to the processing method.

〔従来の技術〕[Conventional technology]

従来1分散データベースシステムの問合せにおいては、
利用者に対する分散透過を実現するために、分散したデ
ータベースの位置および構造を陰蔽するデータモデルの
階層化が行われる。
Conventionally, in a distributed database system query,
To achieve distributed transparency to users, a data model is layered that hides the location and structure of the distributed database.

例えば、銘木等による「分散形データベース管理システ
ム(DEIMS−3)の構成」(データベースシステム
研究会資料37−1 、1983)においては、これを
実現するために、従来のグローバルスキーマおよびグロ
ーバル外部スキーマを設定することが示されている。
For example, in ``Configuration of a Distributed Database Management System (DEIMS-3)'' (Database System Study Group Materials 37-1, 1983) by Meiki et al., in order to achieve this, the conventional global schema and global external schema were It is shown to be set.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかしながら、上述の如く、スキーマを多層化した場合
には、データベース問合せにおいて、スキーマ間のマツ
ピング段数の増加に繋がり、問合せ処理時間オーバーヘ
ッドの増加を招くことになるが、上記従来技術では、こ
れらの多層化したスキーマ間のマツピングを高速化する
方法については、特に示されていない。
However, as described above, when schemas are multi-layered, the number of mapping stages between schemas increases in database queries, leading to an increase in query processing time overhead. There is no particular description of a method for speeding up mapping between schema that have been created.

本発明は上記事情に鑑みてなされたもので、その目的と
するところは、従来の分散データベースシステムの問合
せ処理方式における上述の如き問題を解消し、スキーマ
を多層化した場合におけるデータベース問合せ変換オー
バーヘッドを削減可能とし、問合せ処理を高速化するこ
とが可能な、分散データベースシステムの問合せ処理方
式を提供することにある。
The present invention has been made in view of the above circumstances, and its purpose is to solve the above-mentioned problems in the query processing method of conventional distributed database systems, and to reduce the overhead of database query conversion when schemas are multi-layered. An object of the present invention is to provide a query processing method for a distributed database system that can reduce the number of queries and speed up query processing.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の上記目的は、プロセッサとデータベースを有す
る複数のノードと、該複数のノードを相互に結合する通
信ネットワークから構成され、オンラインで上記複数の
ノードのデータベースをアクセスする処理を各ノードで
処理する如く構成され、かつ、上記複数のノードにおけ
るデータベース構造を表わすスキーマと、全体を纏めた
データベース構造を表わすスキーマによりデータベース
構造を管理し、データ構造に従ってデータ処理を行う如
く構成された分散データベースシステムにおいて、上記
多層化されたスキーマ間のレベルに対応して問合せデー
タの変換必要性を示すマツピングレベルを付加する手段
と、上記マツピングレベルに基づき、データ変換を行う
データ変換手段を設けて、上記マツピングレベル付加手
段を用いて、各レベルにおけるデータ変換の要・不要を
示す情報を設定し、データベース問合せが入力され・る
と、上記データ変換手段が、データベース問合せデータ
を編集する際に、上記情報に基づいてデータの変換を制
御することを特徴とする分散データベースシステムの問
合せ処理方式、または、前記多層化されたスキーマを一
体化したテーブルを作成するディレクトリ作成手段、お
よび、前記テーブルに基づき、分散データベース問合せ
を行う問合せ処理手段を設けて、前記ディレクトリ作成
手段を用いて、多層化されたスキーマを単一の一体化し
たテーブルに変換し、データベース問合せが入力される
と、前記分散データベース問合せ処理手段が、前記テー
ブルに基づいてスキーマ間のダイレクトマツピングを行
うことを特徴とする分散データベースシステムの問合せ
処理方式によって達成される。
The above-mentioned object of the present invention is composed of a plurality of nodes having a processor and a database, and a communication network that interconnects the plurality of nodes, and each node processes a process of accessing the database of the plurality of nodes online. In a distributed database system configured as shown in FIG. A means for adding a mapping level indicating the need for conversion of query data corresponding to the level between the multi-layered schemas, and a data conversion means for converting data based on the mapping level are provided. Using the ping level addition means, set information indicating whether data conversion is necessary or unnecessary at each level, and when a database query is input, the data conversion means will add the above information when editing the database query data. A query processing method for a distributed database system characterized by controlling data conversion based on the above, or a directory creation means for creating a table that integrates the multi-layered schemas, and a distributed database system based on the table. A query processing means for making a database query is provided, the directory creation means is used to convert a multi-layered schema into a single unified table, and when a database query is input, the distributed database query processing means This is achieved by a query processing method of a distributed database system characterized by performing direct mapping between schemas based on the table.

〔作用〕[Effect]

本発明に係る第一の分散データベースシステムの問合せ
処理方式においては、上述のマツピングレベル付加手段
を用いて各レベルにおけるデータ変換レベルを設定し、
データベース問合せが入力されると、データベース問合
せデータを編集する際に、データ変換手段が上記マツピ
ングレベルに基づいてデータを変換し、要求元に転送す
るようにしたので、不要なデータ変換を排除することが
でき、これにより、問合せ処理を高速化することができ
るというものである。
In the query processing method of the first distributed database system according to the present invention, the data conversion level at each level is set using the above-mentioned mapping level addition means,
When a database query is input, when editing the database query data, the data conversion means converts the data based on the above mapping level and transfers it to the request source, eliminating unnecessary data conversion. This makes it possible to speed up query processing.

また、本発明に係る第二の分散データベースシステムの
問合せ処理方式においては、前述のディレクトリ作成手
段を用いて多層化されたスキーマを、単一の一体化され
たテーブルに変換し、データベース問合せが入力される
と1分散データベース問合せ処理手段が、上記テーブル
に基づいてスキーマ間のダイレクトマツピングを行うよ
うにしたので、マツピング処理段数を削減することがで
き、これにより、問合せ処理を高速化することができる
というものである。
In addition, in the query processing method of the second distributed database system according to the present invention, a multi-layered schema is converted into a single unified table using the above-mentioned directory creation means, and a database query is input. Then, since the distributed database query processing means performs direct mapping between schemas based on the above table, the number of mapping processing stages can be reduced, thereby speeding up the query processing. It is possible.

〔実施例〕〔Example〕

以下、本発明の実施例を図面に基づいて詳細に説明する
Embodiments of the present invention will be described in detail below with reference to the drawings.

第2図は5本発明の第一の実施例を示すデータベースシ
ステム(以下、rDBシステム」という)の全体構成図
である。図において 2a、2bはノーF、3a、3b
はユーザ端末、4a、4bはデータ辞書、5 a、5 
bはデータベース、1はノード2 a r2b間を接続
する通信路を示している。
FIG. 2 is an overall configuration diagram of a database system (hereinafter referred to as "rDB system") showing a first embodiment of the present invention. In the figure, 2a and 2b are no F, 3a and 3b
is a user terminal, 4a, 4b are data dictionaries, 5a, 5
b indicates a database, and 1 indicates a communication path connecting nodes 2a and r2b.

なお、ノード2 a、2 b内の6a、6bは分散デー
タベース機能(以下、「分散08機能」という)、30
a、30bはマツピング管理表、7 a、7 bはUA
P(ユーザプログラム)を示している。
Note that 6a and 6b in nodes 2a and 2b are distributed database functions (hereinafter referred to as "distributed 08 functions"), 30
a, 30b are mapping management tables, 7 a, 7 b are UA
P (user program) is shown.

本実施例のデータベースシステムにおけるデータベース
問合せの処理手順の概要は、下記の通りである。
An overview of the database query processing procedure in the database system of this embodiment is as follows.

ユーザ端末3aあるいはUAP7aからデータベース問
合せが発行されると、分散08機能6aが該問合せ要求
を受け、データ辞書4aに定義されている。当該問合せ
要求に関係するデータベース構造を用いて当該問合せを
解釈・実行する。解釈の結果、問合せに対するデータベ
ースが当該ノード2aに存在する場合には、データベー
ス5aからデータを取出し、データベース構造に従って
当該データを変換し、UAP7aに転送する。
When a database inquiry is issued from the user terminal 3a or the UAP 7a, the distributed 08 function 6a receives the inquiry request and defines it in the data dictionary 4a. Interpreting and executing the query using the database structure related to the query request. As a result of the interpretation, if the database corresponding to the query exists in the node 2a, the data is retrieved from the database 5a, converted according to the database structure, and transferred to the UAP 7a.

一方、解釈の結果1問合せに対するデータベースが当該
ノードには存在せず、他ノード2bに存在する場合には
、当該問合せ要求をノード2bの分散08機能6bに通
信路1を介して転送する。
On the other hand, if the result of the interpretation is that the database corresponding to one query does not exist in the node concerned but exists in another node 2b, the query request is transferred to the distributed 08 function 6b of the node 2b via the communication path 1.

分散08機能6bは、当該問合せ要求をデータ辞i4b
に定義されている。当該問合せ要求に関係するデータベ
ース構造を用いて解釈・実行し、データベース5bから
データを取出し、通信路1を介してノード2aに転送す
る。
The distributed 08 function 6b sends the inquiry request to the data dictionary i4b.
is defined in . The query is interpreted and executed using the database structure related to the query request, and data is retrieved from the database 5b and transferred to the node 2a via the communication path 1.

分散08機能6aは、転送されたデータを先のデータベ
ース構造に従って編集し、UAP7aに転送することに
より、一つのデータベース問合せ処理が終了する。前記
問合せが、データベース更新の場合も、同様の経過を辿
ることになる。
The distributed 08 function 6a edits the transferred data according to the previous database structure and transfers it to the UAP 7a, thereby completing one database inquiry process. A similar process will follow when the query is for database update.

第3図は、本実施例におけるデータモデルのスキーマ構
造を示すものである。ローカルスキーマ13は、各ノー
ドに存在するデータベースの構造を示す。分散スキーマ
12は、各ノードのデータベースの配置状況と配置条件
を示す、グローバルスキー711は、ユーザに対する全
体的なデータベース構造を示す。サブスキーマ10は、
個々のユーザに対するデータベース構造を示す。先に示
したデータベース問合せは、データベース毎に定義され
た該スキーマ構造を解釈して実行される。本スキーマ構
成により、UAPに対する分散透過性とデータ独立性が
向上する。
FIG. 3 shows the schema structure of the data model in this embodiment. The local schema 13 shows the structure of the database existing in each node. The distribution schema 12 shows the arrangement status and arrangement conditions of the database of each node, and the global schema 711 shows the overall database structure for the user. Subschema 10 is
Shows the database structure for individual users. The database query shown above is executed by interpreting the schema structure defined for each database. This schema configuration improves distribution transparency and data independence for UAPs.

第4図は、本実施例におけるデータベース構造の一例を
示すものである。図において、20はノード2a、2b
に存在する ローカルデータベース構造、21はノード
を超越したグローバルデータベース構造、22は同一属
性のデータ集合の型の集合型を示すレコードタイプe+
’oρ1oyee、23はレコードタイプcareer
、24はレコードタイプfamilyを示している。2
5は上述のemployee22とcareer23間
のアクセスパスの集合型を示すセットタイプemp−c
ar、26は上記employee22とfamily
24間のセラ1−タイプemp−famを示している。
FIG. 4 shows an example of the database structure in this embodiment. In the figure, 20 is the node 2a, 2b
21 is a global database structure that transcends nodes, and 22 is a record type e+ indicating the set type of data set types with the same attribute.
'oρ1oyee, 23 is record type career
, 24 indicate the record type family. 2
5 is a set type emp-c indicating the set type of the access path between the employee 22 and the career 23 mentioned above.
ar, 26 is the above employee 22 and family
24 shows a Sera 1-type emp-fam.

上記グローバルデータベース21は、ノード2a。The global database 21 is the node 2a.

2bから相互に自由にアクセスできる。一方、口−カル
データベース20は、各ノード2a、2bに閉じた形で
アクセスできる。
They can freely access each other from 2b. On the other hand, the local database 20 can be accessed in a closed manner to each node 2a, 2b.

第5図は、第4図のデータベースを、第3図のスキーマ
構成に従って定義した例を示すものであり、10aはサ
ブスキーマ5ubl、llaはグローバルスキーマgd
b、12aは分散スキーマ、13aはローカルスキーマ
1ocal−dbを示している。グローバルスキーマl
laでは、該スキーマを構成するレコードタイプemp
loyee、 career、上述のセットタイプem
p−carおよび各レコードタイプを構成するコンポー
ネントタイプを定義する。コンポーネントタイプでは、
各コンポーネントタイプの属性−一データの型、精度、
長さ等−一を定義する。
Figure 5 shows an example in which the database in Figure 4 is defined according to the schema configuration in Figure 3, where 10a is the subschema 5ubl, and lla is the global schema gd.
b, 12a indicates a distributed schema, and 13a indicates a local schema local-db. global schema l
In la, the record type emp that constitutes the schema
loyee, career, above set type em
Define component types that make up p-car and each record type. The component type is
Attributes of each component type - data type, precision,
Define length etc.-1.

これによって、各コンポーネントおよびレコードの属性
−一型、長さ1位置−一を決定する。サブスキーマ10
aでは、特定のUAPからグローバルスキーマllaを
使用する構造を定義する。この例では、employe
eレコードのコンポーネントkey。
This determines the attributes of each component and record - one type, one length and one position. subschema 10
In a, a structure that uses the global schema lla from a specific UAP is defined. In this example, employee
e-record component key.

name、 careerレコードのcodeコンポー
ネントをセットタイプemp−carを通して使用する
ことを定義している。また、ローカルスキーマ13aで
は、第4図に示したローカルデータベースの構造を定義
する。分散スキーマ12aは、グローバルスキーマ11
aとローカルスキーマ13aとのマツピングを定義して
いる。具体的には、gdbllaのレコードemp1o
yceおよびcareerは、1ocal−db13 
aのレコードemployeeおよびCareerに対
応し、gdbll aのコンポーネントkey、 br
anch、 nu+nber、 codeは、1oca
l−db13aの同名のコンポーネントに対応する。
It defines that the code components of the name and career records are used through the set type emp-car. Furthermore, the local schema 13a defines the structure of the local database shown in FIG. The distributed schema 12a is the global schema 11
The mapping between a and the local schema 13a is defined. Specifically, gdbla record emp1o
yce and career are 1ocal-db13
Corresponding to records employee and Career of a, components key, br of gdbll a
anch, nu+nber, code is 1oca
It corresponds to the component with the same name of l-db13a.

更に、 gdbLlaは、employee レコード
のbranchコンポーネントの取る値によって、二つ
のノードの1ocal−db13 aにマツピングされ
る。すなわち、branchの値が100未満の場合は
tokyo (ノード2a)。
Furthermore, gdbLla is mapped to local-db13a of the two nodes according to the value taken by the branch component of the employee record. That is, if the value of branch is less than 100, it is Tokyo (node 2a).

100以上の場合はosaka (ノード2b)に存在
することを示している。以上のスキーマ定義により、U
APから発行されるサブスキーマを介してデータベース
問合せを、ローカルデータベース問合せに展開すること
が可能である。
If it is 100 or more, it indicates that it exists in osaka (node 2b). With the above schema definition, U
It is possible to expand database queries into local database queries via subschemas issued by the AP.

このスキーマ構成において、データベース問合せを実施
する際に、グローバルスキーマ11とローカルスキーマ
13との間で、レコード構成、コンポーネント構成およ
びコンポーネント属性が異なるためにデータ変換が必要
となる。本発明は、予めデータ変換の必要性を、スキー
マ、レコード、コンポーネントの各レベル毎に設定し、
問合せ実行時に該情報を参照することにより、不必要な
データ変換を除去するものである。
In this schema configuration, when performing a database query, data conversion is required because the record configuration, component configuration, and component attributes are different between the global schema 11 and the local schema 13. The present invention sets the necessity of data conversion in advance for each level of schema, record, and component, and
By referring to this information when executing a query, unnecessary data conversion is eliminated.

第6図は、マツピング管理表30aまたは30bの詳細
を示す図である。図において、31はスキーマ表、32
はレコード表、33はコンポーネント表、34はセット
表を示している。各表は、図に示す矢印で関連付けされ
る。また、各表には、該当するスキーマ間のマツピング
情報とともに、各レベルでのデータ変換の必要性を示す
マツピングレベル−致フラグを持つ。
FIG. 6 is a diagram showing details of the mapping management table 30a or 30b. In the figure, 31 is a schema table, 32
indicates a record table, 33 a component table, and 34 a set table. Each table is associated with the arrows shown in the figure. In addition, each table has mapping information between corresponding schemas as well as a mapping level match flag indicating the necessity of data conversion at each level.

上述の如く構成された本実施例の動作を、以下より詳細
に説明する。
The operation of this embodiment configured as described above will be explained in more detail below.

第1図(a)〜(C)は、グローバルスキーマとローカ
ルスキーマを入力してマツピングレベルを設定する手順
を示すフローチャート、同(cl)は設定されたマツピ
ングレベル情報を用いたデータ変換手続きを示すフロー
チャートである。なお、他のスキーマ間におけるマツピ
ングレベルの設定も同様な手順で行うことができる。以
下、順次、詳細に説明する。
Figures 1 (a) to (C) are flowcharts showing the procedure for setting the mapping level by inputting the global schema and local schema, and (cl) is the data conversion procedure using the set mapping level information. It is a flowchart which shows. Note that mapping levels between other schemas can also be set using a similar procedure. A detailed explanation will be given below.

第1図(a)は、マツピングレベル設定処理を示すもの
である。図において、スキーマ表初期化ステップ41は
、スキーマ表31の確保およびイニシャライズを行う。
FIG. 1(a) shows the mapping level setting process. In the figure, the schema table initialization step 41 secures and initializes the schema table 31.

レコード取出しステップ42は、グローバルスキーマの
レコードタイプを一つずつ取出し、該レコードタイプと
同一名称を持つローカルスキーマのレコードタイプを探
す。結果は、正常判定処理ステップ43によって判断す
る6対応するレコードタイプが存在すれば正常、存在し
なければエラーとして、マツピングレベル設定処理を終
了する。
The record retrieval step 42 retrieves record types in the global schema one by one and searches for a record type in the local schema that has the same name as the record type. The result is determined in normality determination processing step 43.6 If the corresponding record type exists, it is determined to be normal, and if it does not exist, it is determined to be an error, and the mapping level setting process is terminated.

正常の場合は、レコードレベル設定処理50を呼出し、
該処理をグローバルスキーマの全レコードに対して実行
する。完了判定ステップ44で、全レコード一致判定(
ステップ45)を行う。グローバルスキーマで定義され
ているレコードタイプがローカルスキーマにすべて存在
し、かつ、すべてのレコードレベル一致が設定されてい
る場合のみ、全レコード一致とみなし、スキーマ表31
にスキーマレベル−数設定処理(ステップ46)を行う
If it is normal, call the record level setting process 50,
This process is executed for all records in the global schema. At completion determination step 44, all records match determination (
Perform step 45). Only when all record types defined in the global schema exist in the local schema and all record level matches are set, all records are considered to match, and schema table 31
Then, schema level-number setting processing (step 46) is performed.

第1図(b)は、上述のレコードレベル設定処理50の
詳細を示すものである。レコード表初期化ステップ51
は、レコード表32の確保およびイニシャライズを行う
。コンポーネント取出しステップ52は、前述のレコー
ド取出しステップ42で選択されたグローバルスキーマ
のレコードタイプを構成するコンポーネントを順次取出
し、ローカルレコードタイプを構成するコンポーネント
のうちから同一名称のコンポーネントを探す。結果は、
正常判定処理(ステップ53)によって判断する。対応
するコンポーネントタイプが存在すれば正常、存在しな
ければエラーとみなし、処理を終了する。
FIG. 1(b) shows details of the record level setting process 50 described above. Record table initialization step 51
secures and initializes the record table 32. The component retrieval step 52 sequentially retrieves components constituting the record type of the global schema selected in the record retrieval step 42 described above, and searches for components with the same name among the components constituting the local record type. Result is,
The determination is made by the normality determination process (step 53). If the corresponding component type exists, it is considered normal; if it does not exist, it is considered an error, and the process ends.

正常の場合は、コンポーネントレベル設定処理60を呼
出し、該処理をグローバルスキーマの当該レコードの全
コンポーネントに対して実行する。
If it is normal, the component level setting process 60 is called and the process is executed for all components of the record in the global schema.

・完了判定ステップ54で、全コンポーネント処理完了
を判断し、処理完了ならば、全コンポーネント一致判定
(ステップ55)を行う。グローバルスキーマの当該レ
コードタイプの全コンボーネン1、が、ローカルスキー
マの該当レコードタイプにすべて存在し、かつ、すべて
のコンポ−ホン1〜レベルー致が設定されている場合の
み、全コンポーネン1〜一致とみなし、レコード表32
にレコードレベル−数設定処理(ステップ56)を行う
- At the completion determination step 54, it is determined whether all component processing is completed, and if the processing is completed, all component matching determination is performed (step 55). Only when all components 1 of the record type in the global schema exist in the record type in the local schema, and all components 1 to level match are set, all components 1 to 1 are considered to match. , record table 32
Then, record level-number setting processing (step 56) is performed.

第1図(c)は、上述のコンポーネントレベル設定処理
60の詳細を示すものである。コンポーネント表初期化
ステップ61は、コンポーネント表33の確保およびイ
ニシャライズを行う。属性チエツクステップ62は、コ
ンポーネント属性を参照しデータ変換規則を設定すると
ともに、コンポーネント間の属性の一致度をチエツクす
る。この場合の属性は、集団/配列/基本属性、10進
/2進/文字型属性、整数/実数属性、精度/長さ属性
等が対象となる。属性一致判定ステップ63により、属
性チエツクの結果を判断し、属性が一致しているならば
、コンポーネント表33にコンポーネントレベル−数設
定処理(ステップ64)を行う。
FIG. 1(c) shows details of the component level setting process 60 described above. The component table initialization step 61 secures and initializes the component table 33. Attribute check step 62 refers to component attributes, sets data conversion rules, and checks the degree of matching of attributes between components. The attributes in this case include group/array/basic attributes, decimal/binary/character type attributes, integer/real number attributes, precision/length attributes, etc. In the attribute match determination step 63, the result of the attribute check is determined, and if the attributes match, component level-number setting processing (step 64) is performed in the component table 33.

先に示したスキーマ定義例(第5図)の場合、グローバ
ルスキーマllaはスキーマ一致、レコードemplo
yeeはレコード一致、コンポーネントkey 。
In the case of the schema definition example shown earlier (Figure 5), the global schema lla matches the schema, and the record emplo
yee is record matching, component key.

branch、 number、 name、 cod
eはコンポーネント−致に設定される。
branch, number, name, cod
e is set to component-match.

第1図(d)は、上記処理で設定したマツピングレベル
情報を用いたデータ変換手続きを示すものである。問合
せ要求等により、データ変換が指示されると、スキーマ
表取出しステップ71は、該問合せに該当するスキーマ
表31を取出して、スキーマレベル一致が設定されてい
るか否かを判断する(ステップ72)。設定されていれ
ば、該レコードのレコード単位組立て処理(ステップ7
5)を行う。スキーマレベルで一致していなければ、レ
コード表取出しステップ73で、当該問合せに該当する
レコード表32を取出し、レコードレベル一致が設定さ
れているか否かを判断する(ステップ74)。設定され
ていれば、該レコードのレコード単位組立て処理(ステ
ップ75)を行う。
FIG. 1(d) shows a data conversion procedure using the mapping level information set in the above process. When data conversion is instructed by a query request or the like, the schema table retrieval step 71 retrieves the schema table 31 corresponding to the query and determines whether schema level matching is set (step 72). If it is set, the record unit assembly process (step 7) of the record is performed.
Do 5). If there is no match at the schema level, the record table 32 corresponding to the query is taken out in the record table retrieval step 73, and it is determined whether record level matching is set (step 74). If it has been set, the record unit assembling process (step 75) for the record is performed.

上記レコード単位組立てステップ75は、個々のコンポ
ーネント属性を参照せず、レコードの全体長のみを使用
して一括してレコードの移動あるいは複写等の処理を行
うものである。レコードレベルで一致していなければ、
コンポーネント表取出し76で、当該レコードのコンポ
ーネント表33を順次取出して、コンポーネントレベル
一致が設定されているか否かを判断する(ステップ77
)。設定されていれば、コンポーネント単位組立てステ
ップ78により、属性変換処理を行わないコンポーネン
トの一括移動あるいは複写を行う。設定されていなけれ
ば、コンポーネント間の属性が異なっているので、両者
の属性に従ったデータ変換手続きを処理する属性変換組
立て(ステップ79)を呼出す。
The record unit assembling step 75 performs processing such as moving or copying records all at once using only the overall length of the records without referring to individual component attributes. If there is no match at the record level,
The component table retrieval 76 sequentially retrieves the component table 33 of the record and determines whether component level matching is set (step 77
). If it has been set, a component-by-component assembly step 78 moves or copies components at once without undergoing attribute conversion processing. If not set, the attributes between the components are different, and the attribute conversion assembly (step 79) is called to process the data conversion procedure according to the attributes of both components.

上記コンポーネント単位の組立て処理78をすべてのコ
ンポーネントに対して実行(ステップ80)する。上に
示したデータ変換手続きにより、不要な属性変換を取除
いたデータ変換を実現できる。
The above component-based assembly process 78 is executed for all components (step 80). By using the data conversion procedure shown above, it is possible to realize data conversion without unnecessary attribute conversion.

なお1本実施例においては、マツピング管理表の作成時
期を明示していないが、少なくとも、該スキーマを使用
する最初のデータベース問合せ発生以前に実施しておく
べきであることは明らかである。また、性能上の観点か
らも、マツピング管理表をデータ辞書に格納しておくこ
とも、容易に類推可能である。
In this embodiment, although the timing of creating the mapping management table is not specified, it is clear that the mapping management table should be created at least before the first database query using the schema occurs. Furthermore, from the viewpoint of performance, it is also easily possible to store the mapping management table in the data dictionary.

本実施例に示す分散データベースシステムの問合せ処理
方式によれば、マツピングレベル付加手段を用いて各レ
ベルにおけるデータ変換レベルを設定し、データベース
問合せが入力されると、データベース問合せデータを編
集する際に、データ変換手段が上記マツピングレベルに
基づいてデータを変換し、要求元に転送するようにした
ので、不要なデータ変換を排除することができ、この結
果、問合せ処理を高速化することができるという効果が
ある。
According to the query processing method of the distributed database system shown in this embodiment, the data conversion level at each level is set using the mapping level addition means, and when a database query is input, when editing the database query data, Since the data conversion means converts the data based on the mapping level and transfers it to the request source, unnecessary data conversion can be eliminated, and as a result, query processing can be speeded up. There is an effect.

次に、本発明の他の実施例を示す。先に示した実施例で
は、第5図に示したスキーマ構成において、データベー
ス問合せを実施する際に、グローバルスキーマllaと
ローカルスキーマ13aとの間で、レコード構成、コン
ポーネント構成およびコンポーネント属性が異なるため
に必要となるデータ変換の必要性を示す情報を、スキー
マ、レコード、コンポーネントの各レベル毎に設定し、
問合せ実行時に該情報を参照することにより、不必要な
データ変換を除去するものであった。これに対して、以
下に示す実施例は、第5図に示したスキーマ構成におい
て、データベース問合せを実施する際に、グローバルス
キーマllaと分離スキーマ12a、ローカルスキーマ
13aの間で、スキーマ構成、すなわち、レコード構成
、コンポ−ホン1−構成およびセット構性が異なるため
に必要となるスキーマ変換を、予め、グローバル−ロー
カル間のスキーマを一体化したテーブルをディレクトリ
として作成しておくことにより1問合せ実行時に該テー
ブルを参照することにより、不必要なスキーマ変換を除
去するものである。
Next, other embodiments of the present invention will be shown. In the embodiment shown above, in the schema structure shown in FIG. 5, when performing a database query, the record structure, component structure, and component attributes are different between the global schema lla and the local schema 13a. Set information indicating the need for necessary data transformation at each schema, record, and component level.
By referring to this information when executing a query, unnecessary data conversion is eliminated. On the other hand, in the embodiment shown below, when executing a database query in the schema configuration shown in FIG. By creating a table that integrates the global and local schemas as a directory in advance, the schema conversion required due to differences in record structure, component phone structure, and set structure can be performed at the time of executing one query. By referring to this table, unnecessary schema conversion is removed.

第7図は、ディレクトリに相当するマツピング管理表の
一実施例を示すもので、図において、30aはマツピン
グ管理表の全体、31aは以下の個別の表を纏める管理
表、32aはグローバルスキーマ11のグローバルレコ
ードに関する情報を保持するグローバルレコード表、3
3aはグローバルコンポーネントに関する情報を保持す
るグローバルコンポーネント表、34aはグローバルセ
ットに関する情報を保持するグローバルセット表、35
aは分散スキーマ12の分散レコードに関する情報を保
持する分散レコード表、36aは分散コンポーネントに
関する情報を保持する分散コンポーネント表、37aは
分散セットに関する情報を保持する分散セット表、また
、38aは関連ノードを管理するノード管理表、39a
はローカルスキーマ13に関する情報を保持するローカ
ルスキーマ表、40aはローカルレコードに関する情報
を保持するローカルレコード表、41aはロー力ルコン
ボーネン1−に関する情報を保持するローカルコンポー
ネント表、42aはローカルセットに関する情報を保持
するローカルセット表を示している。
FIG. 7 shows an example of a mapping management table corresponding to a directory. In the figure, 30a is the entire mapping management table, 31a is a management table that summarizes the following individual tables, and 32a is a management table for the global schema 11. A global record table that holds information about global records, 3
3a is a global component table that holds information about global components; 34a is a global set table that holds information about global sets; 35
a is a distributed record table that holds information about distributed records of the distributed schema 12, 36a is a distributed component table that holds information about distributed components, 37a is a distributed set table that holds information about distributed sets, and 38a is a related node. Node management table to manage, 39a
is a local schema table that holds information about the local schema 13; 40a is a local record table that holds information about local records; 41a is a local component table that holds information about the raw component 1-; and 42a is a table that holds information about local sets. shows the local set table.

上記マツピング管理表30aにおいて、グローバルスキ
ーマ11と分散スキーマ12は、1:1に対応し、分散
スキーマ12とローカルスキーマ13は、1:nに対応
する。各々の表は、ポインタによって直接結合する。グ
ローバルレコード表32aと分散レコード表35aは、
1:1に直接結合される。従って、任意のグローバルレ
コードが決まれば、それに対する分散レコードをダイレ
クトに決めることができる。その他のグローバル−分散
間の関係も同様である。分散レコード表35aとローカ
ルレコード表40aは、に〇に直接結合される。
In the mapping management table 30a, the global schema 11 and the distributed schema 12 have a 1:1 correspondence, and the distributed schema 12 and the local schema 13 have a 1:n correspondence. Each table is directly linked by pointers. The global record table 32a and the distributed record table 35a are
Directly coupled 1:1. Therefore, once an arbitrary global record is determined, distributed records for it can be directly determined. The same applies to other global-dispersion relationships. The distributed record table 35a and the local record table 40a are directly connected to the circle.

問合せに対応するローカルレコードは、実行に分散条件
を評価することにより決定される。この場合でも、−旦
、評価が決まれば、ローカルノードおよびローカルレコ
ードをダイレクトに決めることができる。その他の分散
〜ローカル間の関係も同様である。
Local records corresponding to a query are determined by evaluating the distribution conditions during execution. Even in this case, once the evaluation is determined, the local node and local record can be determined directly. The same holds true for other distributed-local relationships.

第8図は、第7図に示したマツピング管理表30aの作
成手続きの一例を示すフローチャートである。図におい
て、グローバルスキーマ関係表作成ステップ81は、グ
ローバルスキーマ11からグローバルレコード表328
.グローバルコンポーネント表338.グローバルセッ
ト表34aを作成する。分散スキーマ関係表作成ステッ
プ82は、分散スキーマ12から分散レコード表358
1分散コンボーネンI−表3689分散セッ1へ表37
a、ノード管理表38aおよびローカルスキーマ表39
aを作成する。
FIG. 8 is a flowchart showing an example of the procedure for creating the mapping management table 30a shown in FIG. In the figure, the global schema relationship table creation step 81 is performed from the global schema 11 to the global record table 328.
.. Global component table 338. A global set table 34a is created. In the distributed schema relationship table creation step 82, the distributed record table 358 is created from the distributed schema 12.
1 Dispersion component I - Table 3689 Dispersion set 1 Table 37
a, node management table 38a and local schema table 39
Create a.

レコード関連設定ステップ83は、グローバルレコード
表32aと分散レコード表35a間に、ポインタを設定
する。コンポーネント関連設定ステップ84は、グロー
バルコンポーネント表33aと分散コンポーネント表3
6a間に、ポインタを設定する。
The record association setting step 83 sets a pointer between the global record table 32a and the distributed record table 35a. The component related setting step 84 includes the global component table 33a and the distributed component table 3.
A pointer is set between 6a.

セット関連設定ステップ85は、グローバルセット表3
4aと分散セット表37a間に、ポインタを設定する。
The set related setting step 85 includes the global set table 3
A pointer is set between 4a and the distributed set table 37a.

以上の手続きにより、グローバルスキーマと分散スキー
マ間のダイレクトマツピングが設定される。
Through the above procedure, direct mapping between the global schema and distributed schema is set.

次に、ローカルスキーマ関係表作成ステップ86は、分
散スキーマ12のノード句を基に、ノード句で指定され
ているローカルスキーマに対応するローカルスキーマ1
3を順次取出し、ノード管理表388、ローカルスキー
マ表39aとのポインタによる関連付け、および、ロー
カルレコード表40a、0−カルコンポーネント表41
a、ローカルセラ1−表42aを作成する。また、レコ
ード関連設定ステップ87は1分散レコード表35aと
ローカルレコード表40a間に、ポインタを設定する。
Next, in the local schema relationship table creation step 86, based on the node clause of the distributed schema 12, the local schema 1 corresponding to the local schema specified in the node clause is
3 are sequentially extracted and associated with the node management table 388 and the local schema table 39a by pointers, and the local record table 40a and the 0-cal component table 41.
a. Local Sera 1 - Create table 42a. Furthermore, the record association setting step 87 sets a pointer between the single distributed record table 35a and the local record table 40a.

コンポーネント関連設定ステップ88は、分散コ表ボ−
ホン1−表36aとローカルコンポーネント表41a間
に、ポインタを設定する。セット関連設定ステップ89
は、分散セット表37aとローカルセット表42a間に
、ポインタを設定する。
The component related setting step 88 includes a distributed component association setting step 88.
A pointer is set between the phone 1 table 36a and the local component table 41a. Set related setting step 89
sets a pointer between the distributed set table 37a and the local set table 42a.

完了判定ステップ90は1分散スキーマ12のノード句
で指定されている全ローカルスキーマの処理が終了した
か否かを判断し、終了していなければローカルスキーマ
関係表作成(ステップ86)と関連設定処理(ステップ
87〜89)を繰り返す。また、全ローカルスキーマの
処理が完了していれば、マツピング管理表作成処理を終
了する。以上の手続きにより、グローバルスキーマとロ
ーカルスキーマ間のダイレクトマツピングを設定できる
Completion determination step 90 determines whether processing of all local schemas specified in the node clause of one distributed schema 12 has been completed, and if not completed, local schema relationship table creation (step 86) and related setting processing are performed. (Steps 87 to 89) are repeated. Furthermore, if the processing of all local schemas has been completed, the mapping management table creation processing ends. By following the above procedure, you can set up direct mapping between global schema and local schema.

第9図は、上記手続きにより作成したマツピング管理表
を用いた分散データベース問合せ処理手続きの一例を示
すものである。以下、第5図に示した例を用いて、次の
データベース問合せコマンドが入力された場合を想定し
て1問合せ変換処理手続きを説明する。
FIG. 9 shows an example of a distributed database query processing procedure using the mapping management table created by the above procedure. Hereinafter, using the example shown in FIG. 5, the one-query conversion processing procedure will be described assuming that the following database inquiry command is input.

FIND employee WHERE branc
h=50上記コマンドは、コンポーネントbranch
の値が50であるレコードemployeeを検索する
ことを指示しているものである。
FIND employee WHERE branch
h=50 The above command executes the component branch
This instructs to search for the record employee whose value is 50.

グローバルレコード表サーチステップ91は、レコード
名employeeでグローバルレコード表32aをサ
ーチし、これから、ポインタを介して分散レコード表3
5aをダイレクトに決定する。グローバルコンポーネン
ト表サーチステップ92は、コンポーネント名bran
chでグローバルコンポーネント表338をサーチし、
これから、ポインタを介して分散コンポーネント表36
aをダイレクトに決定する。
In the global record table search step 91, the global record table 32a is searched for the record name employee, and from this, the distributed record table 3 is searched via the pointer.
5a is determined directly. In the global component table search step 92, the component name bran
Search the global component table 338 for ch,
From now on, we will use the distributed component table 36 via the pointer.
Determine a directly.

分散条件評価ステップ93は、分散レコード表35a中
の分散条件式を基に、問合せコマンドの条件式bran
ch=50 ・を評価する。この結果、ローカルノード管理表38a
(この場合、branchが100以下であるためto
ky。
The distribution condition evaluation step 93 evaluates the condition expression bran of the query command based on the distribution condition expression in the distribution record table 35a.
Evaluate ch=50. As a result, the local node management table 38a
(In this case, since the branch is less than 100, to
ky.

となる、1頁参照)、ローカルスキーマ表39a、ロー
カルレコード表40a、ローカルコンポーネント表41
a、ローカルセット表42aをダイレクトに決定する。
), local schema table 39a, local record table 40a, local component table 41
a. Directly determine the local set table 42a.

ローカルデータベース問合せ生成ステップ94は、以上
のローカルスキーマ情報から該ノードのローカルデータ
ベースに対するデータベース問合せコマンドを生成する
。このコマンドを該当ノードに転送することにより1分
散データベース問合せが実現できる。
A local database query generation step 94 generates a database query command for the local database of the node from the above local schema information. A single distributed database query can be realized by transferring this command to the corresponding node.

なお、本実施例におけるマツピング管理表の作成時期に
関しては、前記実施例と同様に考えれば良い。
Note that the timing of creating the mapping management table in this embodiment may be considered in the same manner as in the previous embodiment.

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

以上詳細に述べた如く、本発明によれば、プロセッサと
データベースを有する複数のノードと。
As described in detail above, according to the present invention, a plurality of nodes each having a processor and a database.

該複数のノードを相互に結合する通信ネットワークから
構成され、オンラインで前記複数のノードのデータベー
スをアクセスする処理を各ノードで処理する如く構成さ
れ、かつ、前記複数のノードにおけるデータベース構造
を表わすスキーマと、全体を纏めたデータベース構造を
表わすスキーマによりデータベース構造を管理し、デー
タ構造に従ってデータ処理を行う如く構成された分散デ
ータベースシステムにおいて、前記多層化されたスキー
マ間のレベルに対応して問合せデータの変換必要性を示
すマツピングレベルを付加する手段と。
comprising a communication network that interconnects the plurality of nodes, configured such that each node processes online access to the database of the plurality of nodes, and a schema representing a database structure in the plurality of nodes; In a distributed database system configured such that the database structure is managed by a schema representing the overall database structure and data processing is performed according to the data structure, query data is converted according to the level between the multi-layered schemas. A means for adding a mapping level indicating necessity.

前記マツピングレベルに基づき、データ変換を行うデー
タ変換手段を設けて、前記マツピングレベル付加手段を
用いて、各レベルにおけるデータ変換の要・不要を示す
情報を設定し、データベース問合せが入力されると、前
記データ変換手段が、データベース問合せデータを編集
する際に、前記情報に基づいてデータの変換を制御する
如く、または、前記多層化されたスキーマを一体化した
テーブルを作成するディレクトリ作成手段と、前記テー
ブルに基づき、分散データベース問合せを行う問合せ処
理手段を設けて、前記ディレクトリ作成手段を用いて、
多層化されたスキーマを単一の一体化したテーブルに変
換し、データベース問合せが入力されると、前記分散デ
ータベース問合せ処理手段が、前記テーブルに基づいて
スキーマ間のダイレクトマツピングを行う如く構成した
ので、スキーマを多層化した場合におけるデータベース
問合せ変換オーバーヘッドを削減可能とする、分散デー
タベースシステムの問合せ処理方式を実現できるという
顕著な効果を奏するものである。
A data conversion means for converting data is provided based on the mapping level, information indicating whether data conversion is necessary or unnecessary at each level is set using the mapping level addition means, and a database inquiry is input. and the data conversion means controls data conversion based on the information when editing database query data, or directory creation means creates a table that integrates the multi-layered schemas. , providing a query processing means for performing a distributed database query based on the table, and using the directory creation means,
The multi-layered schema is converted into a single unified table, and when a database query is input, the distributed database query processing means is configured to perform direct mapping between schemas based on the table. This has the remarkable effect of realizing a query processing method for a distributed database system that can reduce database query conversion overhead when schemas are multi-layered.

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

第1図は本発明の第一の実施例の動作手順を示すフロー
チャート、第2図は実施例のDBシステムの全体構成を
示す図、第3図はデータモデルのスキーマ階層を示す図
、第4図はデータベースの一例を示す図、第5図はデー
タベースのスキーマ定義例を示す図、第6図、第7図は
マツピング管理表の構成例を示す図、第8図、第9図は
第二の実施例の動作手順を示すフローチャートであ゛る
。 2a、2b:ノード、3a、3b:1−ザ端末、4a、
4b:データ辞書、5a、5b:データベース、6a、
6b:分散DB機能、7a、7b:UAP、30a 、
 30b :マッピング管理表、 10.10a :サ
ブスキーマ、11. lla ニゲローバルスキーマ、
12゜■2:分散スキーマ、13.13a :ローカル
スキーマ、31a:管理表、 32aニゲロ一バルレコ
ード表、33aニゲロ一バルコンポーネント表、34a
ニゲロ一バルセツト表、35a:分散レコード表、36
a:分散コンポーネント表、37a:分散セラ1−表、
38a:ノード管理表、39a:ローカルスキーマ表、
40a:ローカルレコード表、41a:ローカルコンポ
ーネント表、42a:ローカルセット。 第 図(その2) (c) 特許出願人 株式会社 日立製作所
FIG. 1 is a flowchart showing the operating procedure of the first embodiment of the present invention, FIG. 2 is a diagram showing the overall configuration of the DB system of the embodiment, FIG. 3 is a diagram showing the schema hierarchy of the data model, and FIG. 4 is a diagram showing the schema hierarchy of the data model. The figure shows an example of a database, Figure 5 shows an example of a database schema definition, Figures 6 and 7 show an example of the configuration of a mapping management table, and Figures 8 and 9 show an example of a mapping management table. 2 is a flowchart showing the operating procedure of the embodiment. 2a, 2b: node, 3a, 3b: 1-the terminal, 4a,
4b: data dictionary, 5a, 5b: database, 6a,
6b: Distributed DB function, 7a, 7b: UAP, 30a,
30b: Mapping management table, 10.10a: Subschema, 11. lla Nigerlobal schema,
12゜■2: Distributed schema, 13.13a: Local schema, 31a: Management table, 32a Nigero global record table, 33a Nigero global component table, 34a
Nigero-balset table, 35a: Distributed record table, 36
a: Dispersion component table, 37a: Dispersion cellar 1-table,
38a: Node management table, 39a: Local schema table,
40a: Local record table, 41a: Local component table, 42a: Local set. Figure (Part 2) (c) Patent applicant Hitachi, Ltd.

Claims (1)

【特許請求の範囲】 1、プロセッサとデータベースを有する複数のノードと
、該複数のノードを相互に結合する通信ネットワークか
ら構成され、オンラインで前記複数のノードのデータベ
ースをアクセスする処理を各ノードで処理する如く構成
され、かつ、前記複数のノードにおけるデータベース構
造を表わすスキーマと、全体を纏めたデータベース構造
を表わすスキーマによりデータベース構造を管理し、デ
ータ構造に従ってデータ処理を行う如く構成された分散
データベースシステムにおいて、前記多層化されたスキ
ーマ間のレベルに対応して問合せデータの変換必要性を
示すマッピングレベルを付加する手段と、前記マッピン
グレベルに基づき、データ変換を行うデータ変換手段を
設けて、前記マッピングレベル付加手段を用いて、各レ
ベルにおけるデータ変換の要・不要を示す情報を設定し
、データベース問合せが入力されると、前記データ変換
手段が、データベース問合せデータを編集する際に、前
記情報に基づいてデータの変換を制御することを特徴と
する分散データベースシステムの問合せ処理方式。 2、プロセッサとデータベースを有する複数のノードと
、該複数のノードを相互に結合する通信ネットワークか
ら構成され、オンラインで前記複数のノードのデータベ
ースをアクセスする処理を各ノードで処理する如く構成
され、かつ、前記複数のノードにおけるデータベース構
造を表わすスキーマと、全体を纏めたデータベース構造
を表わすスキーマによりデータベース構造を管理し、デ
ータ構造に従ってデータ処理を行う如く構成された分散
データベースシステムにおいて、前記多層化されたスキ
ーマを一体化したテーブルを作成するディレクトリ作成
手段、および、前記テーブルに基づき、分散データベー
ス問合せを行う問合せ処理手段を設けて、前記ディレク
トリ作成手段を用いて、多層化されたスキーマを単一の
一体化したテーブルに変換し、データベース問合せが入
力されると、前記分散データベース問合せ処理手段が、
前記テーブルに基づいてスキーマ間のダイレクトマッピ
ングを行うことを特徴とする分散データベースシステム
の問合せ処理方式。
[Claims] 1. Consisting of a plurality of nodes having processors and databases, and a communication network that interconnects the plurality of nodes, each node processes online access to the databases of the plurality of nodes. In a distributed database system, the database structure is managed by a schema representing the database structure in the plurality of nodes and a schema representing the overall database structure, and data processing is performed according to the data structure. , a means for adding a mapping level indicating the need for conversion of query data corresponding to the level between the multi-layered schemas, and a data conversion means for converting data based on the mapping level, and the mapping level An additional means is used to set information indicating whether data conversion is necessary or unnecessary at each level, and when a database query is input, the data conversion means uses the information based on the information when editing database query data. A query processing method for a distributed database system characterized by controlling data conversion. 2. It is composed of a plurality of nodes having a processor and a database, and a communication network that interconnects the plurality of nodes, and is configured such that each node processes the process of accessing the database of the plurality of nodes online, and , in the distributed database system configured to manage the database structure using a schema representing the database structure in the plurality of nodes and a schema representing the database structure as a whole, and perform data processing according to the data structure, A directory creation means for creating a table that integrates schemas, and a query processing means for performing a distributed database query based on the table, and the directory creation means is used to combine multi-layered schemas into a single unified structure. When a database query is input, the distributed database query processing means
A query processing method for a distributed database system, characterized in that direct mapping between schemas is performed based on the table.
JP63223099A 1988-09-06 1988-09-06 Inquiry processing system for distributed data base system Pending JPH0269871A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63223099A JPH0269871A (en) 1988-09-06 1988-09-06 Inquiry processing system for distributed data base system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63223099A JPH0269871A (en) 1988-09-06 1988-09-06 Inquiry processing system for distributed data base system

Publications (1)

Publication Number Publication Date
JPH0269871A true JPH0269871A (en) 1990-03-08

Family

ID=16792811

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63223099A Pending JPH0269871A (en) 1988-09-06 1988-09-06 Inquiry processing system for distributed data base system

Country Status (1)

Country Link
JP (1) JPH0269871A (en)

Similar Documents

Publication Publication Date Title
US6795825B2 (en) Database querying system and method
US5799309A (en) Generating an optimized set of relational queries fetching data in an object-relational database
US6466931B1 (en) Method and system for transparently caching and reusing query execution plans efficiently
US5829006A (en) System and method for efficient relational query generation and tuple-to-object translation in an object-relational gateway supporting class inheritance
US5630120A (en) Method to help in optimizing a query from a relational data base management system
US8612468B2 (en) System and method for retrieving data from a relational database management system
CA1265871A (en) Domain-independent natural language database interface
US7319995B2 (en) Method and system for inclusion hash joins and exclusion hash joins in relational databases
US20020078041A1 (en) System and method of translating a universal query language to SQL
WO1996034350A1 (en) Modeling of object-oriented database structures, translation to relational database structures, and dynamic searches thereon
JPH06290102A (en) Equipment and method for accessing information
CN107169033A (en) Relation data enquiring and optimizing method with parallel framework is changed based on data pattern
CA2385570A1 (en) System and method for performing similarity searching
CN110688397B (en) SQL-based distributed data unified access system and method
JP2001014329A (en) Database processing method and implementation device, and medium stored with the processing program
Macleod A data base management system for document retrieval applications
US20040243396A1 (en) User-oriented electronic dictionary, electronic dictionary system and method for creating same
JPH0269871A (en) Inquiry processing system for distributed data base system
Whang et al. Heterogeneous Databases: Inferring Relationships for Merging Component Schemas, and Query Language
JP3172793B1 (en) Database management method
JP3156199B2 (en) Database management method and system
JP3060225B2 (en) Database management method and system
Hagadone et al. Integrating chemical structures into an extended relational database system
Clough et al. Designing optimal data structures
JP2606541B2 (en) Knowledge acquisition method