JP3668243B2 - データベース管理システム - Google Patents
データベース管理システム Download PDFInfo
- Publication number
- JP3668243B2 JP3668243B2 JP2004025150A JP2004025150A JP3668243B2 JP 3668243 B2 JP3668243 B2 JP 3668243B2 JP 2004025150 A JP2004025150 A JP 2004025150A JP 2004025150 A JP2004025150 A JP 2004025150A JP 3668243 B2 JP3668243 B2 JP 3668243B2
- Authority
- JP
- Japan
- Prior art keywords
- processing
- processing unit
- data
- distribution
- 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.)
- Expired - Fee Related
Links
- 238000012545 processing Methods 0.000 claims description 354
- 238000000034 method Methods 0.000 claims description 167
- 238000009826 distribution Methods 0.000 claims description 95
- 230000008569 process Effects 0.000 claims description 89
- 238000005457 optimization Methods 0.000 claims description 26
- 238000004458 analytical method Methods 0.000 description 14
- 238000013075 data extraction Methods 0.000 description 13
- 230000004044 response Effects 0.000 description 13
- 238000010586 diagram Methods 0.000 description 12
- 238000012546 transfer Methods 0.000 description 11
- 239000000872 buffer Substances 0.000 description 9
- 230000006870 function Effects 0.000 description 9
- 238000011156 evaluation Methods 0.000 description 8
- 238000003672 processing method Methods 0.000 description 5
- 230000003068 static effect Effects 0.000 description 5
- 238000003860 storage Methods 0.000 description 5
- 238000005304 joining Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000007781 pre-processing Methods 0.000 description 3
- 230000002411 adverse Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000000605 extraction Methods 0.000 description 2
- 230000001174 ascending effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000000354 decomposition reaction Methods 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000013138 pruning Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Multi Processors (AREA)
Description
FROM T1,T2
WHERE T1.C1=T2.C1
AND T1.C2=?
このような問い合わせが、ノード12において受け付けられると、ノード12において、最適な分配処理方法が選択され、各ノードに対してネットワークを介して指示される。上記の問い合わせにおいては、ノード1(90)からノード4(91)に表T1が、ノード5(92)からノード8(93)に表T2が各々格納されているので、各ノードにおいてデータ取り出し処理およびデータ分配処理が実行される。また、ノード9(94)からノード11(96)では、ノード1〜4およびノード5〜8から出力されるデータを逐次受け取り、ソート処理および結合処理を実行する。ノード12(97)では、ノード9〜11から出力されたデータを受け取り出力する。これによりデータベース検索は終了する。
図10(a)および(c)において、問合せ解析(ステップ220)では、上記ノード12においてアプリケーションプログラムにより入力された問合せ文の構文解析、意味解析を実行する(ステップ2200)。図10(a)において静的最適化処理(ステップ221)では、上記ノード12において問合せで出現する条件式から条件を満足するデ−タの割合を推定し、予め設定している規則を基に、有効なアクセスパス候補(特にインデクスを選出する)を作成し、処理手順の候補を作成する。コード生成(ステップ222)では、上記ノード12において処理手順候補を実行形式に展開する。
図10(b)において、動的実行時最適化(ステップ223)では、上記ノード12において代入された定数に基づき、各ノード群で実行する処理手順を決定する。コード解釈実行(ステップ224)では、それぞれのノードにおいて処理手順を解釈し、実行する。
Claims (2)
- 第1のデータベースを分散格納する複数の第1の分配処理部と、
第2のデータベースを分散格納する複数の第2の分配処理部と、
データのマージ処理を行う複数の結合処理部と、
入力された問合せに対するマージ処理を実行する結合処理部を決定する決定処理部と、を有し、
前記決定処理部は、
処理時間と結合処理部数との対応関係を用いて、前記第1の分配処理部および第2の分配処理部における処理時間に対応する結合処理部数を特定し、前記問合せに対するマージ処理を実行する前記特定した結合処理部数の結合処理部を決定する手段と、
前記第1のデータベースおよび第2のデータベースのデータを均等に分割するための結合キーの最適化情報に従い、前記問合せに対するマージ処理を実行する前記特定した結合処理部数の結合処理部各々に割り当てる結合キーの分割範囲が記述されたデータ分配情報を、前記第1の分配処理部および第2の分配処理部に設定する手段と、
前記問合せに対するマージ処理を実行する前記特定した結合処理部数の結合処理部各々から受け取ったデータを出力する手段と、を有し、
前記第1の分配処理部および第2の分配処理部各々は、
自処理部に分散格納されたデータベースからデータを取り出し、該データを、自処理部に設定されているデータ分配情報において当該データの結合キーが属する分割範囲に割り当てられた結合処理部へ分配する手段を有し、
前記結合処理部は、
前記第1の分配処理部および前記第2の分配処理部から分配された同じ結合キーを持つデータをマージ処理し、その結果を前記決定処理部に出力する手段を有すること
を特徴とするデータベース管理システム。 - 第1のデータベースを分散格納する複数の第1の分配処理部と、
第2のデータベースを分散格納する複数の第2の分配処理部と、
データのマージ処理を行う複数の結合処理部と、
入力された問合せに対するマージ処理を実行する結合処理部を決定する決定処理部と、を有し、
前記決定処理部は、
処理時間と結合処理部数との対応関係を用いて、前記第1の分配処理部および第2の分配処理部における処理時間に対応する結合処理部数を特定し、前記問合せに対するマージ処理を実行する前記特定した結合処理部数の結合処理部を決定する手段と、
前記問合せに対するマージ処理を実行する前記特定した結合処理部数の結合処理部各々に割当てる、前記第1のデータベースおよび第2のデータベースのデータの結合キーに対するハッシュ値が記述されたデータ分配情報を、前記第1の分配処理部および第2の分配処理部に設定する手段と、
前記問合せに対するマージ処理を実行する前記特定した結合処理部数の結合処理部各々から受け取ったデータを出力する手段と、を有し、
前記第1の分配処理部および第2の分配処理部各々は、
自処理部に分散格納されたデータベースからデータを取り出し、該データを、自処理部に設定されているデータ分配情報において当該データの結合キーに対するハッシュ値に割り当てられた結合処理部へ分配する手段を有し、
前記結合処理部は、
前記第1の分配処理部および前記第2の分配処理部から分配された同じ結合キーを持つデータをマージ処理し、その結果を前記決定処理部に出力する手段を有すること
を特徴とするデータベース管理システム。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004025150A JP3668243B2 (ja) | 2004-02-02 | 2004-02-02 | データベース管理システム |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004025150A JP3668243B2 (ja) | 2004-02-02 | 2004-02-02 | データベース管理システム |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP17440298A Division JP3538322B2 (ja) | 1998-06-22 | 1998-06-22 | データベース管理システムおよび問合せの処理方法 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2004213680A JP2004213680A (ja) | 2004-07-29 |
JP3668243B2 true JP3668243B2 (ja) | 2005-07-06 |
Family
ID=32822028
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004025150A Expired - Fee Related JP3668243B2 (ja) | 2004-02-02 | 2004-02-02 | データベース管理システム |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3668243B2 (ja) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010165170A (ja) * | 2009-01-15 | 2010-07-29 | Fujitsu Ltd | 検索処理方法、システム、及びプログラム |
JP5199948B2 (ja) * | 2009-05-22 | 2013-05-15 | 日本電信電話株式会社 | データベース管理方法、データベース装置、およびプログラム |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3266351B2 (ja) * | 1993-01-20 | 2002-03-18 | 株式会社日立製作所 | データベース管理システムおよび問合せの処理方法 |
-
2004
- 2004-02-02 JP JP2004025150A patent/JP3668243B2/ja not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2004213680A (ja) | 2004-07-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3266351B2 (ja) | データベース管理システムおよび問合せの処理方法 | |
US6556988B2 (en) | Database management apparatus and query operation therefor, including processing plural database operation requests based on key range of hash code | |
US5325525A (en) | Method of automatically controlling the allocation of resources of a parallel processor computer system by calculating a minimum execution time of a task and scheduling subtasks against resources to execute the task in the minimum time | |
US6505187B1 (en) | Computing multiple order-based functions in a parallel processing database system | |
JP4571609B2 (ja) | リソース割当方法、リソース割当プログラム、および、管理コンピュータ | |
Sukhwani et al. | A hardware/software approach for database query acceleration with FPGAs | |
Gates et al. | Apache Pig's Optimizer. | |
JP2008234495A (ja) | 合成関係演算を利用したマルチオペレーション・プロセッシングを用いたデータベースのクエリー処理システム | |
Michiardi et al. | Cache-based multi-query optimization for data-intensive scalable computing frameworks | |
Pietro et al. | In-memory caching for multi-query optimization of data-intensive scalable computing workloads | |
Chen et al. | Pisces: optimizing multi-job application execution in mapreduce | |
Chao-Qiang et al. | RDDShare: reusing results of spark RDD | |
JPH06309284A (ja) | 問合せ処理負荷分散方法 | |
JP3668243B2 (ja) | データベース管理システム | |
JP3538322B2 (ja) | データベース管理システムおよび問合せの処理方法 | |
JP4422697B2 (ja) | データベース管理システムおよび問合せの処理方法 | |
JP3732655B2 (ja) | データベース管理システム、データベース管理装置および問い合わせ処理方法 | |
JP3667997B2 (ja) | データベース管理装置 | |
JP3819694B2 (ja) | データベース管理システムおよび問合せの処理方法 | |
JP3819695B2 (ja) | データベース管理システムおよび問合せの処理方法 | |
JP2001147847A (ja) | データベース管理システムおよび問合せの処理方法 | |
JP2000148557A (ja) | デ―タベ―ス管理システムおよび問合せの処理方法 | |
JP3599055B2 (ja) | 記憶装置管理方法およびシステム | |
WO2021215101A1 (ja) | データ管理システムおよびデータ管理方法 | |
JP3060225B2 (ja) | デ―タベ―ス管理方法およびシステム |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20040202 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20040907 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20041102 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20050405 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20050407 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090415 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090415 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100415 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110415 Year of fee payment: 6 |
|
LAPS | Cancellation because of no payment of annual fees |