JP2000112982A - Different kind of data base integration system - Google Patents
Different kind of data base integration systemInfo
- Publication number
- JP2000112982A JP2000112982A JP10284955A JP28495598A JP2000112982A JP 2000112982 A JP2000112982 A JP 2000112982A JP 10284955 A JP10284955 A JP 10284955A JP 28495598 A JP28495598 A JP 28495598A JP 2000112982 A JP2000112982 A JP 2000112982A
- Authority
- JP
- Japan
- Prior art keywords
- wrapper
- operator
- query
- formula
- database
- 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
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】この発明は、ラッパーアーキ
テクチャを用いた異種データベース統合システムに関す
る。[0001] 1. Field of the Invention [0002] The present invention relates to a heterogeneous database integration system using a wrapper architecture.
【0002】[0002]
【従来の技術】ラッパーアーキテクチャについては、
“Cornel University:Predator home page,http://www.
cs.cornell.edu/Info/Projwcts/PREDATOR/,Aug 1997”
や、“Mary T.Roth,Peter Schwarz:Don't Scrap It,Wra
p it! A Wrapper Architecture for Legacy Data Sourc
es,1997”に開示されている。2. Description of the Related Art For a wrapper architecture,
“Cornel University: Predator home page, http: // www.
cs.cornell.edu/Info/Projwcts/PREDATOR/,Aug 1997 ”
"Mary T. Roth, Peter Schwarz: Don't Scrap It, Wra
p it! A Wrapper Architecture for Legacy Data Sourc
es, 1997 ".
【0003】[0003]
【発明が解決しようとする課題】しかしながら、前記の
従来技術では、異種のデータベースにおける個々のデー
タベースの検索の最適化については開示されているもの
の、個々のデータベースを統合した検索の最適化につい
ては何ら開示されていない。However, in the above-mentioned prior art, optimization of search of individual databases in different types of databases is disclosed, but optimization of search by integrating individual databases is not disclosed. Not disclosed.
【0004】この発明の目的は、個々のデータベースを
統合した検索の最適化を図ることができるようにするこ
とにある。An object of the present invention is to enable search optimization by integrating individual databases.
【0005】[0005]
【課題を解決するための手段】請求項1に記載の発明
は、オペレータの木構造で表現し得る検索の問い合わせ
式を発行するアプリケーションと、前記オペレータのオ
ペラントとなる表を各々管理している複数のデータベー
スサーバと、このデータベースサーバに各々対応してい
て、前記問い合わせ式の各オペレータを前記データベー
スサーバに対して各々実行し、また、前記各オペレータ
を前記データベースサーバに対して実行する際の時間的
なコストと検索の予測件数を見積るラッパと、この見積
り結果に基づいて前記問い合わせ式をオペレータの木構
造で表現し得る別の問い合わせ式に変形する第1の手段
と、この変形後の問い合わせ式の各オペレータを前記ラ
ッパを肩代わりして実行可能な第2の手段と、前記見積
り結果に基づいて前記変形後の問い合わせ式の各オペレ
ータを前記複数のラッパおよび前記第2の手段のうちの
いずれかの1または複数に各々実行させる第3の手段
と、を備えている異種データベース統合システムであ
る。According to a first aspect of the present invention, there are provided an application for issuing a search query expression which can be expressed in a tree structure of an operator, and a plurality of tables each managing a table which is an operant of the operator. Database server, and respectively correspond to the database server, execute each of the operators of the query formula with respect to the database server, and time when executing each of the operators with respect to the database server. Wrapper for estimating the cost and the expected number of searches, first means for transforming the query formula into another query formula that can be expressed by an operator tree structure based on the estimation result, and a query formula for the transformed query formula. A second means capable of executing each operator on behalf of the wrapper, based on the estimation result, Third means for each operator query expression after deformation respectively executed in either one or more of the plurality of wrapper and said second means is a heterogeneous database integration system comprising a.
【0006】したがって、各データベースサーバに対し
て各ラッパが検索を実行する際の時間的なコストと検索
の予測件数を見積り、この見積り結果に基づいて検索の
問い合わせ式を別の問い合わせ式に変形し、また、この
見積り結果から検索の実行をラッパに行なわせるのが不
適切であるときは第2の手段に肩代わりさせる。Therefore, the time cost and the estimated number of searches performed by each wrapper on each database server when performing a search are estimated, and the query formula for the search is transformed into another query formula based on the estimation result. If it is inappropriate to cause the wrapper to execute the search from the estimation result, the second means is substituted.
【0007】請求項2に記載の発明は、請求項1に記載
の発明において、アプリケーションは、発行する問い合
わせ式に時間的なコストおよび検索の予測件数を付加す
ることができ、第1および第3の手段は、この付加され
た時間的なコストおよび検索の予測件数を見積り結果と
して用いる。According to a second aspect of the present invention, in the first aspect of the present invention, the application can add a time cost and a predicted number of searches to a query formula to be issued. Means uses the added time cost and the predicted number of searches as an estimation result.
【0008】したがって、アプリケーションが時間的な
コストおよび検索の予測件数の見積もりを与えることが
できる。[0008] Thus, the application can give an estimate of the time cost and the expected number of searches.
【0009】[0009]
【発明の実施の形態】図1は、この発明の実施の一形態
である異種データベース統合システム1のブロック図で
ある。FIG. 1 is a block diagram of a heterogeneous database integration system 1 according to an embodiment of the present invention.
【0010】図1に示すように、アプリケーション2
は、異種データベース統合システム1を用いたデータの
問い合せ式を発行する。この問い合わせ式はオペレータ
の木構造で表現しうる。[0010] As shown in FIG.
Issues a data inquiry formula using the heterogeneous database integration system 1. This query expression can be represented by an operator tree structure.
【0011】異種データベース統合システム1は、第1
データベースサーバ3、第2データベースサーバ4、第
3データベースサーバ5、…を備えている。これらの複
数のデータベースサーバはいずれも前記問い合わせ式の
オペラントとなる表のデータを管理する。また、データ
の組を逐次的に読み出すことができればファイルのよう
な機能の制限された形式でもよい。The heterogeneous database integration system 1 has a first
A database server 3, a second database server 4, a third database server 5,... Each of the plurality of database servers manages the data of a table that is an operant of the query expression. In addition, as long as a data set can be sequentially read, a format having a limited function such as a file may be used.
【0012】ラッパ11は、前記の各データベースサー
バに対応して用意されており、異種データベース統合シ
ステム1と前記の各データベースサーバとを仲介する。
具体的には、アプリケーションインターフェース12
(後述)から、対応している前記のデータベースサーバ
に関する問い合わせ式を受け取り、その問い合わせ式を
構成するオペレータごとに検索の実行に要する時間的な
コスト、および、得られるデータ件数の見積りを計算す
る。また、オプティマイザ13(後述)から与えられた
問い合わせ式のオペレータを対応する前記のデータベー
スサーバに対する命令に変換して実行する。The wrapper 11 is prepared corresponding to each of the above-mentioned database servers, and mediates between the heterogeneous database integration system 1 and each of the above-mentioned database servers.
Specifically, the application interface 12
From the following (described later), a query formula for the corresponding database server is received, and the time cost required to execute the search and the estimated number of data items to be obtained are calculated for each operator constituting the query formula. Further, it converts the query-type operator given from the optimizer 13 (described later) into a corresponding command for the database server and executes the command.
【0013】アプリケーションインターフェース12
は、アプリケーション2が発行する問い合わせ式を前記
のデータベースサーバごとに部分木に分けて、そのデー
タベースサーバに対応するラッパ11に渡す。Application interface 12
Divides the query formula issued by the application 2 into subtrees for each of the above database servers, and passes them to the wrapper 11 corresponding to the database server.
【0014】オプティマイザ13は、この発明の第1、
第3の手段を実施するもので、ラッパ11から受け取っ
た時間的なコストおよびデータ件数の見積りに基づい
て、アプリケーション2が発行する問い合わせ式をオペ
レータの木構造で表現しうる別の問い合わせ式に変形す
る。また、ラッパ11から受け取った時間的なコストお
よびデータ件数の見積りに基づいて、変形後の問い合わ
せ式の各部分木の処理を、ラッパ11、11、…および
エグゼキュータ14(後述)のうちのいずれかの1また
は複数に各々実行させる。The optimizer 13 is the first of the present invention,
Implements the third means, and transforms a query formula issued by the application 2 into another query formula that can be expressed by an operator tree structure based on an estimation of the time cost and the number of data received from the wrapper 11. I do. Also, based on the estimation of the time cost and the number of data received from the wrapper 11, the processing of each subtree of the transformed query formula is performed by any of the wrappers 11, 11,... And the executor 14 (described later). One or more of them are executed.
【0015】エグゼキュータ14は、この発明の第2の
手段を実施するもので、ラッパ11を肩代わりして、変
形後の問い合わせ式の各部分木の処理を実行する。これ
は、問い合わせ式中のオペレータに対する処理をラッパ
11が実行できない場合や、オプティマイザ13が、ラ
ッパ11に処理させるよりエグゼキュータ14に処理さ
せる方が処理が高速であると判断した場合に行われる。The executor 14 implements the second means of the present invention, and executes the processing of each subtree of the query formula after the transformation by taking over the wrapper 11. This is performed when the wrapper 11 cannot execute the processing for the operator in the inquiry expression, or when the optimizer 13 determines that the processing by the executor 14 is faster than the processing by the wrapper 11.
【0016】次に、異種データベース統合システム1で
処理される問い合わせ式について説明する。この問い合
わせ式は関係代数の組み合わせで表現することができ
る。そして、この関係代数の組み合わせは、以下に示す
ような各種のオペレータの木構造で表現される。Next, a query formula processed by the heterogeneous database integration system 1 will be described. This query expression can be expressed by a combination of relational algebras. The combination of relational algebras is represented by a tree structure of various operators as described below.
【0017】すなわち、 Access:前記のデータベースサーバのデータを逐次的に
取り出す。 Select:条件にしたがってデータを絞り込む。 Project:データを構成する要素の一部を取り出す。 Join:ある条件による2つの表の結合を作成する。 Union:2つ表の和を作成する。 Intersect:2つの表の積を作成する。 Difference:2つの表の差を作成する。Access: Data of the database server is sequentially retrieved. Select: Narrow data according to conditions. Project: Extract some of the elements that make up the data. Join: Creates a join between two tables under certain conditions. Union: Creates the sum of two tables. Intersect: Creates the product of two tables. Difference: Creates the difference between two tables.
【0018】上記のうち、Accessは、関係代数の演算子
ではないが、前記データベースサーバのデータにアクセ
スするために必要である。各オペレータのオペランドは
1つまたは2つの表であり、オペレータの出力もまた表
である。上記以外にも、2つ以下の表をオペランドとす
るオペレータであれば、問い合わせ式を構成することが
できる。ただし、問い合わせ式を構成するオペレータ
は、ラッパ11かエグゼキュータ14がそれを解釈、処
理できることが必要である。Of the above, Access is not a relational algebraic operator, but is required to access the data of the database server. The operands for each operator are one or two tables, and the outputs of the operators are also tables. In addition to the above, any operator using two or less tables as operands can construct a query expression. However, the operator constructing the inquiry formula needs to be able to interpret and process it by the wrapper 11 or the executor 14.
【0019】次に、異種データベース統合システム1が
実行する処理について説明する。まず、アプリケーショ
ン2がユーザの入力に従って問い合わせ式を作成する。
SelectやJoinの条件に論理和、論理積、否定が含まれて
いる場合は、Union、Intersect、Differenceの組み合わ
せを用いて、SelectやJoinの条件には単一の条件項のみ
が現われるような形に変換する。Next, the processing executed by the heterogeneous database integration system 1 will be described. First, the application 2 creates a query formula according to the user's input.
If the condition of Select or Join includes logical sum, logical product, or negation, use the combination of Union, Intersect, and Difference to select only one condition term in Select or Join condition. Convert to
【0020】アプリケーションインターフェース12
は、問い合わせ式の各オペレータのオペランドとなる表
を管理している前記のデータベースサーバに従って、こ
の問い合わせ式の木構造を部分木に分解し、対応してい
るラッパ11に渡す。Application interface 12
Decomposes the query expression tree structure into sub-trees and passes them to the corresponding wrapper 11 in accordance with the database server that manages the table that is the operand of each operator of the query expression.
【0021】ラッパ11は、受け取った問い合わせ式の
部分を評価し、自身のカタログ情報から、問い合わせ式
の木構造のノードごとに検索の時間的なコストと検索の
予想件数を計算する。なお、このとき、すでに問い合わ
せ式に検索の時間的なコストと検索の予想件数が書込ま
れていたときは、代わりにそれを用いる。また、時間的
なコストの計算は、そのノード以下の部分木が表現する
問い合わせと同一の処理を行なうものであれば、別の実
行プランに対する時間的なコストを返してもよい。例え
ば、Union、Intersect、Diffrenceの組み合わせを単一
のSelect で処理できるなら、そのSelectの実行コスト
を該当するノードに書込む。The wrapper 11 evaluates the received query formula part, and calculates the search time cost and the expected number of searches for each node of the query formula tree structure from its own catalog information. At this time, if the time cost of search and the expected number of searches have already been written in the query formula, they are used instead. In the calculation of the temporal cost, a temporal cost for another execution plan may be returned as long as the same processing as the query expressed by the subtree below the node is performed. For example, if the combination of Union, Intersect, and Diffrence can be processed by a single Select, the execution cost of that Select is written to the corresponding node.
【0022】オプティマイザ13は、ラッパ11が書込
んだ時間的なコスト、予想件数に基づいて、問い合わせ
式を変形する。そして、変形後の問い合わせ式の各ラッ
パ11対応部分を、当該ラッパ11に実行させる。この
とき、ラッパ11が処理不可能であるとしたときは、エ
グゼキュータ14に実行させる。また、予想件数からエ
グゼキュータ14に実行させた方が処理が速いと判断さ
れるものも、エグゼキュータ14に実行させる。The optimizer 13 transforms the query formula based on the time cost written by the wrapper 11 and the expected number. Then, the wrapper 11 executes a portion corresponding to each wrapper 11 of the transformed inquiry formula. At this time, if it is determined that the wrapper 11 cannot be processed, the executor 14 executes the processing. If the executor 14 determines that the processing is faster when executed by the executor 14 based on the expected number, the executor 14 also causes the executor 14 to execute.
【0023】以上の処理を具体的な例に従って説明す
る。図2は、アプリケーション2が発行する問い合わせ
式の例の木構造を示すブロック図である。この問い合わ
せ式の例は、“名前にa(特定の姓)が含まれる人で東
京に住んでいる人の所属と住所を検索する”というもの
である。図2に示す木構造は2分木の構造である。そし
て、その下位のノードの一方は、名前と所属が対応付け
られた表になっている表A(“名前+所属”)をオペラ
ントとし、この表Aから名前にaを含むデータを絞り込
むSelect(Select“名前=a”)をオペレータ21とす
るものであり、他方は、名前と住所が対応付けられた表
になっている表B(“名前+住所”)をオペラントと
し、この表Bから住所が東京であるデータを絞り込むSe
lect(Select“住所=a”)をオペレータ22とするも
のである。そして、この両下位ノードは、姓が同じであ
るデータについて表Aと表Bとを結合するJoin(Join
“A.名前=B.名前”)であるオペレータ23から分
岐している。そして、この例では、第1データベースサ
ーバ3が名前と所属を対応付けた表Aを管理し、第2デ
ータベースサーバ4が名前と住所を対応付けた表Bを管
理しているものとする。The above processing will be described with reference to a specific example. FIG. 2 is a block diagram illustrating a tree structure of an example of a query expression issued by the application 2. An example of this query formula is "search for the affiliation and address of a person whose name includes a (specific surname) and who lives in Tokyo". The tree structure shown in FIG. 2 is a binary tree structure. Then, one of the lower nodes has a table A (“name + affiliation”) in which the name and the affiliation are associated with each other as an operant, and narrows down data including a in the name from this table A by selecting Select ( Select “name = a”) as the operator 21 and the other as an operant table B (“name + address”), which is a table in which names and addresses are associated with each other. Refine data where Tokyo is Tokyo
lect (Select “address = a”) as the operator 22. Then, both lower nodes join (Join) which joins Table A and Table B for data having the same last name.
"A. name = B. Name"). In this example, it is assumed that the first database server 3 manages a table A in which names and affiliations are associated, and the second database server 4 manages a table B in which names and addresses are associated.
【0024】アプリケーション2がユーザの入力に従っ
て図2に示す問い合わせ式を作成すると、アプリケーシ
ョンインターフェース12が、問い合わせ式の木構造を
部分木に分解し、オペレータ21の部分木を第1データ
ベースサーバ3に対応したラッパ11に渡し、オペレー
タ22の部分木を第2データベースサーバ4に対応した
ラッパ11に渡す。When the application 2 creates the query formula shown in FIG. 2 according to the user's input, the application interface 12 breaks down the tree structure of the query formula into subtrees and matches the subtree of the operator 21 to the first database server 3. The subtree of the operator 22 is passed to the wrapper 11 corresponding to the second database server 4.
【0025】部分木を受け取った各ラッパ11は、受け
取った問い合わせ式の部分を評価し、自身のカタログ情
報から、問い合わせ式の木構造のノードごとに検索の時
間的なコストと検索の予想件数を計算する。Each wrapper 11 that has received the subtree evaluates the received query expression part and, based on its own catalog information, determines the time cost of retrieval and the expected number of retrievals for each node of the query expression tree structure. calculate.
【0026】ここで、オプティマイザ13が、ラッパ1
1が書込んだ時間的なコスト、予想件数に基づき、第2
データベースサーバ4の機能が貧弱で、オペレータ22
のSelectの処理は実行できないが、Accessならできると
判断したとすると、例えば、問い合わせ式を図3のよう
に変形する。すなわち、オペレータ22を前記のような
SelectからAccessに変更する。Here, the optimizer 13 determines that the wrapper 1
Based on the time cost written by 1 and the expected number of cases, the second
The function of the database server 4 is poor and the operator 22
If it is determined that Access cannot be performed but Access can be performed, for example, the query formula is modified as shown in FIG. That is, the operator 22
Change from Select to Access.
【0027】そして、この例では、ラッパ11が書込ん
だ時間的なコスト、予想件数に基づき、エグゼキュータ
14を用いずに、変形後の問い合わせ式の各部分木を第
1、第2データベースサーバ3,4に対応している各ラ
ッパ11に実行させる。そして、オペレータ23の処理
を行なうことにより、“名前にa(特定の姓)が含まれ
る人で東京に住んでいる人の所属と住所を検索する”こ
とができる。In this example, based on the time cost written by the wrapper 11 and the expected number of records, each subtree of the transformed query formula is converted into the first and second database servers without using the executor 14. Each wrapper 11 corresponding to 3 and 4 is executed. Then, by performing the process of the operator 23, it is possible to "search for the affiliation and address of a person whose name includes a (specific surname) and who lives in Tokyo".
【0028】なお、すでに問い合わせ式に検索の時間的
なコストと検索の予想件数が書込まれていたときは、オ
プティマイザ13はそれを代わりに用いる。When the time cost of retrieval and the expected number of retrievals have already been written in the query formula, the optimizer 13 uses them instead.
【0029】以上の説明から明らかなように、この実施
の形態の異種データベース統合システム1によれば、前
記の各データベースサーバに対して各ラッパ11が検索
を実行する際の時間的なコストと検索の予測件数を見積
り、この見積り結果に基づいてオプティマイザ13が、
検索の問い合わせ式を別の問い合わせ式に変形する。ま
た、この見積り結果から、オプティマイザ13が、検索
の実行をラッパ11に行なわせるのが不適切であると判
断したときは、エグゼキュータ14に肩代わりさせるの
で、コストベースの最適化を異なるデータベースにまた
がって行なうことができる。As is clear from the above description, according to the heterogeneous database integration system 1 of this embodiment, the time cost and the search time when each wrapper 11 executes a search for each of the database servers described above. Optimizer 13 estimates the number of predictions of, and based on the estimation result,
Transform a search query into another query. When the optimizer 13 determines from the estimation result that it is inappropriate to cause the wrapper 11 to execute the search, the optimizer 13 substitutes the executor 14 for the cost-based optimization across different databases. Can be done.
【0030】また、すでに問い合わせ式に検索の時間的
なコストと検索の予想件数が書込まれていたときは、オ
プティマイザ13はそれを代わりに用いるので、アプリ
ケーション2が時間的なコストおよび検索の予測件数の
見積もりを与えてコストベースの最適化をコントロール
することができる。Further, if the time cost of search and the expected number of searches have already been written in the query expression, the optimizer 13 uses them instead. An estimate of the number of cases can be given to control cost-based optimization.
【0031】[0031]
【発明の効果】請求項1に記載の発明は、各データベー
スサーバに対して各ラッパが検索を実行する際の時間的
なコストと検索の予測件数を見積り、この見積り結果に
基づいて検索の問い合わせ式を別の問い合わせ式に変形
し、また、この見積り結果から検索の実行をラッパに行
なわせるのが不適切であるときは第2の手段に肩代わり
させるので、コストベースの最適化を異なるデータベー
スにまたがって行なうことができる。According to the first aspect of the present invention, the time cost and the estimated number of searches when each wrapper executes a search for each database server are estimated, and a search inquiry is made based on the estimation result. The formula is transformed into another query formula, and if it is not appropriate for the wrapper to perform the search from the estimation result, the second means is substituted, so that the cost-based optimization can be performed on a different database. It can be done across the board.
【0032】請求項2に記載の発明は、請求項1に記載
の発明において、アプリケーションが時間的なコストお
よび検索の予測件数の見積もりを与えてコストベースの
最適化をコントロールすることができる。According to a second aspect of the present invention, in the first aspect of the present invention, an application can control cost-based optimization by giving an estimate of a time cost and a predicted number of searches.
【図1】この発明の実施の一形態であるである異種デー
タベース統合システムのブロック図である。FIG. 1 is a block diagram of a heterogeneous database integration system according to an embodiment of the present invention.
【図2】前記異種データベース統合システムのアプリケ
ーションが発行する問い合わせ式の木構造の例を示すブ
ロック図である。FIG. 2 is a block diagram showing an example of a tree structure of a query expression issued by an application of the heterogeneous database integration system.
【図3】前記異種データベース統合システムのオプティ
マイザで変形後の問い合わせ式の木構造の例を示すブロ
ック図である。FIG. 3 is a block diagram illustrating an example of a tree structure of a query expression after transformation by an optimizer of the heterogeneous database integration system.
1 異種データベース統合システム 2 アプリケーション 3 データベースサーバ 4 データベースサーバ 5 データベースサーバ 11 ラッパ DESCRIPTION OF SYMBOLS 1 Heterogeneous database integration system 2 Application 3 Database server 4 Database server 5 Database server 11 Wrapper
───────────────────────────────────────────────────── フロントページの続き (72)発明者 中山 秀明 東京都大田区中馬込1丁目3番6号 株式 会社リコー内 (72)発明者 真野 博子 東京都大田区中馬込1丁目3番6号 株式 会社リコー内 Fターム(参考) 5B075 PP02 PP12 PP23 QS20 QT06 QT10 ──────────────────────────────────────────────────続 き Continued on the front page (72) Inventor Hideaki Nakayama 1-3-6 Nakamagome, Ota-ku, Tokyo Inside Ricoh Company (72) Inventor Hiroko Mano 1-3-6 Nakamagome, Ota-ku, Tokyo Stock F term in Ricoh Company (reference) 5B075 PP02 PP12 PP23 QS20 QT06 QT10
Claims (2)
問い合わせ式を発行するアプリケーションと、 前記オペレータのオペラントとなる表を各々管理してい
る複数のデータベースサーバと、 このデータベースサーバに各々対応していて、前記問い
合わせ式の各オペレータを前記データベースサーバに対
して各々実行し、また、前記各オペレータを前記データ
ベースサーバに対して実行する際の時間的なコストと検
索の予測件数を見積るラッパと、 この見積り結果に基づいて前記問い合わせ式をオペレー
タの木構造で表現し得る別の問い合わせ式に変形する第
1の手段と、 この変形後の問い合わせ式の各オペレータを前記ラッパ
を肩代わりして実行可能な第2の手段と、 前記見積り結果に基づいて前記変形後の問い合わせ式の
各オペレータを前記複数のラッパおよび前記第2の手段
のうちのいずれかの1または複数に各々実行させる第3
の手段と、を備えている異種データベース統合システ
ム。1. An application for issuing a search query expression that can be expressed in a tree structure of an operator, a plurality of database servers each managing a table that is an operant of the operator, and a plurality of database servers respectively corresponding to the database server. A wrapper for executing each operator of the inquiry formula on the database server, and estimating a time cost and a predicted number of searches when executing each operator on the database server; First means for transforming the query formula into another query formula which can be expressed by an operator tree structure based on the estimation result; and a second means capable of executing each operator of the transformed query formula by taking over the wrapper. 2 means, and each operator of the inquiry formula after the deformation based on the estimation result Third to each perform any one or more of the plurality of wrapper and said second means
Means for integrating a heterogeneous database.
せ式に時間的なコストおよび検索の予測件数を付加する
ことができ、 第1および第3の手段は、この付加された時間的なコス
トおよび検索の予測件数を見積り結果として用いる請求
項1に記載の異種データベース統合システム。2. An application can add a time cost and a predicted number of searches to a query formula to be issued, and the first and third means include an estimation of the added time cost and a search prediction. 2. The heterogeneous database integration system according to claim 1, wherein the number of cases is used as an estimation result.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP10284955A JP2000112982A (en) | 1998-10-07 | 1998-10-07 | Different kind of data base integration system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP10284955A JP2000112982A (en) | 1998-10-07 | 1998-10-07 | Different kind of data base integration system |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2000112982A true JP2000112982A (en) | 2000-04-21 |
Family
ID=17685251
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP10284955A Pending JP2000112982A (en) | 1998-10-07 | 1998-10-07 | Different kind of data base integration system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2000112982A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004030677A (en) * | 2002-06-25 | 2004-01-29 | Microsoft Corp | Method for choosing optimal query execution plan for multiple defined equivalent query expressions |
JP2009238027A (en) * | 2008-03-27 | 2009-10-15 | Fujitsu Ltd | Program, and apparatus and method for searching database |
CN108052557A (en) * | 2017-11-30 | 2018-05-18 | 山东鲁能软件技术有限公司 | The method and system of GIS grid graph datas access full-service data center |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS57166668A (en) * | 1981-04-08 | 1982-10-14 | Agency Of Ind Science & Technol | Information retrieving device |
JPS6258332A (en) * | 1985-09-09 | 1987-03-14 | Fujitsu Ltd | Partial query optimization method for distributed database management system |
JPH05242049A (en) * | 1991-07-10 | 1993-09-21 | Hitachi Ltd | Method for sorting distributed data base and method for making access to the same |
JPH05257768A (en) * | 1992-03-12 | 1993-10-08 | Ricoh Co Ltd | Inquiry processing optimizing system for distributed data bases |
JPH06214843A (en) * | 1993-01-20 | 1994-08-05 | Hitachi Ltd | Data base management system and processing method for inquiry |
JPH08329094A (en) * | 1995-05-30 | 1996-12-13 | Toshiba Corp | Document retrieval device |
JPH08328920A (en) * | 1995-05-02 | 1996-12-13 | Hewlett Packard Co <Hp> | Optimization system for enquiry of database |
-
1998
- 1998-10-07 JP JP10284955A patent/JP2000112982A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS57166668A (en) * | 1981-04-08 | 1982-10-14 | Agency Of Ind Science & Technol | Information retrieving device |
JPS6258332A (en) * | 1985-09-09 | 1987-03-14 | Fujitsu Ltd | Partial query optimization method for distributed database management system |
JPH05242049A (en) * | 1991-07-10 | 1993-09-21 | Hitachi Ltd | Method for sorting distributed data base and method for making access to the same |
JPH05257768A (en) * | 1992-03-12 | 1993-10-08 | Ricoh Co Ltd | Inquiry processing optimizing system for distributed data bases |
JPH06214843A (en) * | 1993-01-20 | 1994-08-05 | Hitachi Ltd | Data base management system and processing method for inquiry |
JPH08328920A (en) * | 1995-05-02 | 1996-12-13 | Hewlett Packard Co <Hp> | Optimization system for enquiry of database |
JPH08329094A (en) * | 1995-05-30 | 1996-12-13 | Toshiba Corp | Document retrieval device |
Non-Patent Citations (4)
Title |
---|
三原幸博, COMシリーズ 図解分散処理入門, vol. 第1版, CSNB199700420001, 20 December 1989 (1989-12-20), pages 130 - 133, ISSN: 0000744724 * |
上林弥彦: "データエンジニアリングの最近の動向 1.マルチデータベースの研究開発動向", 情報処理, vol. 35巻、2号, CSNG199800229002, 15 February 1994 (1994-02-15), pages 105 - 119, ISSN: 0000744726 * |
李紅、佐藤洋: "複数属性の準結合を用いる分散データベース質問処理法", 情報処理学会研究報告, vol. 92巻、23号, CSNG199900115006, 16 March 1992 (1992-03-16), pages 47 - 56, ISSN: 0000744725 * |
疋田定幸、ほか訳: "商用異種分散データベース", コンピュータ・サイエンス 1992年7月号別冊, CSND200300956001, 10 July 1992 (1992-07-10), pages 87 - 114, ISSN: 0000744727 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004030677A (en) * | 2002-06-25 | 2004-01-29 | Microsoft Corp | Method for choosing optimal query execution plan for multiple defined equivalent query expressions |
JP4515050B2 (en) * | 2002-06-25 | 2010-07-28 | マイクロソフト コーポレーション | How to select the optimal query execution plan for multiple defined equivalent query expressions |
JP2009238027A (en) * | 2008-03-27 | 2009-10-15 | Fujitsu Ltd | Program, and apparatus and method for searching database |
CN108052557A (en) * | 2017-11-30 | 2018-05-18 | 山东鲁能软件技术有限公司 | The method and system of GIS grid graph datas access full-service data center |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5551031A (en) | Program storage device and computer program product for outer join operations using responsibility regions assigned to inner tables in a relational database | |
US5590319A (en) | Query processor for parallel processing in homogenous and heterogenous databases | |
US5778354A (en) | Database management system with improved indexed accessing | |
US5903887A (en) | Method and apparatus for caching result sets from queries to a remote database in a heterogeneous database system | |
US10380186B2 (en) | Virtual topological queries | |
US7730055B2 (en) | Efficient hash based full-outer join | |
US8423569B2 (en) | Decomposed query conditions | |
EP1519266A2 (en) | Mapping architecture for arbitrary data models | |
US5903893A (en) | Method and apparatus for optimizing a merge-join operation across heterogeneous databases | |
WO2004107206A1 (en) | A data processing method and system | |
JP2005285141A (en) | Access to hierarchical data store through sql input | |
CN102541631B (en) | Execution plans with different driver sources in multiple threads | |
US20060161528A1 (en) | Method for regenerating selected rows for an otherwise static result set | |
US8635620B2 (en) | Hardware device for processing the tasks of an algorithm in parallel | |
Saltor et al. | Overcoming schematic discrepancies in interoperable databases | |
US20040083223A1 (en) | Global database management system integrating heterogeneous data resources | |
WO2018107942A1 (en) | System and method of adaptively partitioning data to speed up join queries on distributed and parallel database systems | |
JP2000112982A (en) | Different kind of data base integration system | |
JP3786233B2 (en) | Information search method and information search system | |
US9002827B2 (en) | Database query table substitution | |
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 | |
JP3565117B2 (en) | Access method for multiple different information sources, client device, and storage medium storing multiple different information source access program | |
US20180196886A1 (en) | Devices and methods for implementing dynamic collaborative workflow systems | |
JPH04177441A (en) | System program loading system | |
JPH03166649A (en) | Distributed data base system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20050705 |
|
RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20050609 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20050816 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20051014 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060117 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20060606 |