JP5084750B2 - データベース・システムにおける統計ビューの管理 - Google Patents
データベース・システムにおける統計ビューの管理 Download PDFInfo
- Publication number
- JP5084750B2 JP5084750B2 JP2008558605A JP2008558605A JP5084750B2 JP 5084750 B2 JP5084750 B2 JP 5084750B2 JP 2008558605 A JP2008558605 A JP 2008558605A JP 2008558605 A JP2008558605 A JP 2008558605A JP 5084750 B2 JP5084750 B2 JP 5084750B2
- Authority
- JP
- Japan
- Prior art keywords
- statistical
- statistical views
- views
- database system
- sub
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2458—Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
- G06F16/2462—Approximate or statistical queries
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/21—Design, administration or maintenance of databases
- G06F16/217—Database tuning
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Probability & Statistics with Applications (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Fuzzy Systems (AREA)
- Computational Linguistics (AREA)
- Software Systems (AREA)
- Mathematical Physics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
SELECT C2 FROM T1
WHERE Condition and C1=5GROUP BY C3 [1]
SELECT C2 FROM T1
WHERE Condition and C1=7GROUP BY C3 [2]
SELECT C2,C1 FROM T1
WHERE Condition GROUP BY C3,C1 [3]
SELECT C2 FROM T1
WHERE Condition1 and C1=5GROUP BY C3 [4]
SELECT C4 FROM T1
WHERE Condition2 and C1=7GROUP BY C3 [5]
SELECT C4,C2,C1 FROMT1
WHERE Condition1 or Condition2 GROUP BY C3,C1 [6]
Claims (8)
- データベース・システムにおいて統計ビューを管理する方法であって、
前記データベース・システムにおいて、複数の部分式を含むワークロードの最適化および実行に関するデータを収集するステップと、
前記ワークロード内の前記複数の部分式のうち1つにそれぞれ対応する1つ以上の統計ビューのセットを、前記収集された最適化データおよび実行データに基づき自動的に生成するステップと、
前記統計ビューのセットから、それぞれが少なくとも2つの統計ビューを含む統計ビューのグループを形成するステップと、
前記グループに含まれる統計ビューに対応する部分式を一般化または統合することにより、前記グループに含まれる統計ビューを、1つの統計ビューに一般化または統合するステップと
を含む方法。 - 生成される統計ビューの数は前記ワークロード内の部分式の数よりも少ない、請求項1に記載の方法。
- 1つ以上の統計ビューの前記セットから、少なくとも1つの重複した統計ビューを消去するステップをさらに含む、請求項1または2に記載の方法。
- 前記データベース・システムは1つ以上の統計ビューの既存のセットを含み、前記重複した統計ビューを消去するステップは、
1つ以上の統計ビューの前記セットまたは1つ以上の統計ビューの前記既存のセットから、少なくとも1つの重複した統計ビューを消去するステップを含む、請求項3に記載の方法。 - 前記データベース・システムは1つ以上の統計ビューの既存のセットを含み、前記統計ビューのグループを形成するステップは、
1つ以上の統計ビューの前記セット、1つ以上の統計ビューの前記既存のセット、またはその両方から少なくとも2つの統計ビューをそれぞれが含む、統計ビューの1つ以上のグループを形成するステップを含む、請求項1〜4のいずれか1項に記載の方法。 - データベース・システムにおいて統計ビューを管理するためのプログラムであって、コンピュータに、
前記データベース・システムにおいて、複数の部分式を含むワークロードの最適化および実行に関するデータを収集するステップと、
前記ワークロード内の前記複数の部分式のうち1つにそれぞれ対応する1つ以上の統計ビューのセットを、前記収集された最適化データおよび実行データに基づき自動的に生成するステップと、
前記統計ビューのセットから、それぞれが少なくとも2つの統計ビューを含む統計ビューのグループを形成するステップと、
前記グループに含まれる統計ビューに対応する部分式を一般化または統合することにより、前記グループに含まれる統計ビューを、1つの統計ビューに一般化または統合するステップと
を実行させる、プログラム。 - 統計ビューを管理するシステムであって、前記システムは、
前記データベース・システムにおいてワークロードを最適化するよう動作可能なオプティマイザと、
前記データベース・システムにおいて、前記ワークロードを実行するよう動作可能であり、前記オプティマイザに接続されている実行エンジンと、
前記オプティマイザと前記実行エンジンとに接続されているモジュールと、
を含み、前記モジュールは、
前記データベース・システムにおいて、複数の部分式を含む前記ワークロードの最適化および実行に関するデータを収集し、
前記複数の部分式のうち1つにそれぞれ対応する1つ以上の統計ビューのセットを、前記収集された最適化データおよび実行データに基づき自動的に生成し、
前記統計ビューのセットから、それぞれが少なくとも2つの統計ビューを含む統計ビューのグループを形成し、
前記グループに含まれる統計ビューに対応する部分式を一般化または統合することにより、前記グループに含まれる統計ビューを、1つの統計ビューに一般化または統合するよう動作可能である、システム。 - 前記モジュールは前記オプティマイザの一部である、請求項7に記載のシステム。
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US11/374,812 | 2006-03-14 | ||
US11/374,812 US7725461B2 (en) | 2006-03-14 | 2006-03-14 | Management of statistical views in a database system |
PCT/CA2007/000404 WO2007104151A1 (en) | 2006-03-14 | 2007-03-14 | Management of statistical views in a database system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2009529735A JP2009529735A (ja) | 2009-08-20 |
JP5084750B2 true JP5084750B2 (ja) | 2012-11-28 |
Family
ID=38508998
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008558605A Active JP5084750B2 (ja) | 2006-03-14 | 2007-03-14 | データベース・システムにおける統計ビューの管理 |
Country Status (5)
Country | Link |
---|---|
US (1) | US7725461B2 (ja) |
EP (1) | EP2005332A4 (ja) |
JP (1) | JP5084750B2 (ja) |
CN (1) | CN101405727B (ja) |
WO (1) | WO2007104151A1 (ja) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7593931B2 (en) * | 2007-01-12 | 2009-09-22 | International Business Machines Corporation | Apparatus, system, and method for performing fast approximate computation of statistics on query expressions |
US8126873B2 (en) * | 2007-04-13 | 2012-02-28 | International Business Machines Corporation | Portable and iterative re-usable suboptimization of database queries |
US7668804B1 (en) | 2008-11-04 | 2010-02-23 | International Business Machines Corporation | Recommending statistical views using cost/benefit metrics |
US9727608B2 (en) | 2012-01-30 | 2017-08-08 | International Business Machines Corporation | Generating statistical views in a database system |
Family Cites Families (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5899986A (en) * | 1997-02-10 | 1999-05-04 | Oracle Corporation | Methods for collecting query workload based statistics on column groups identified by RDBMS optimizer |
US6477534B1 (en) | 1998-05-20 | 2002-11-05 | Lucent Technologies, Inc. | Method and system for generating a statistical summary of a database using a join synopsis |
JP2001175678A (ja) * | 1999-12-20 | 2001-06-29 | Toshiba Corp | データベース・チューニング装置、データベース・チューニング方法、および記録媒体 |
US6356890B1 (en) * | 2000-04-20 | 2002-03-12 | Microsoft Corporation | Merging materialized view pairs for database workload materialized view selection |
US6971091B1 (en) | 2000-11-01 | 2005-11-29 | International Business Machines Corporation | System and method for adaptively optimizing program execution by sampling at selected program points |
JP3693958B2 (ja) | 2001-04-05 | 2005-09-14 | 松下電器産業株式会社 | 分散型文書検索方法及び装置、並びに分散型文書検索プログラム及びそのプログラムを記録した記録媒体 |
US6732093B2 (en) | 2001-05-31 | 2004-05-04 | Pharsight Corporation | Systems and methods for performing temporal logic queries |
GB2378534B (en) | 2001-08-03 | 2003-08-20 | Oracle Corp | SQL execution analysis |
US20030041042A1 (en) | 2001-08-22 | 2003-02-27 | Insyst Ltd | Method and apparatus for knowledge-driven data mining used for predictions |
US7020797B2 (en) | 2001-09-10 | 2006-03-28 | Optimyz Software, Inc. | Automated software testing management system |
US20030088565A1 (en) | 2001-10-15 | 2003-05-08 | Insightful Corporation | Method and system for mining large data sets |
FI20012416A0 (fi) * | 2001-12-07 | 2001-12-07 | Nokia Corp | Menetelmä ja palvelin tietokantakyselypalveluiden tuottamiseksi |
US7062502B1 (en) * | 2001-12-28 | 2006-06-13 | Kesler John N | Automated generation of dynamic data entry user interface for relational database management systems |
JP3611321B2 (ja) | 2002-02-20 | 2005-01-19 | インターナショナル・ビジネス・マシーンズ・コーポレーション | グラフィックス・イメージ生成方法、これを用いたプログラム及び統計データ描画装置 |
US7127463B2 (en) * | 2002-04-18 | 2006-10-24 | International Business Machines Corporation | Optimization of database network traffic based upon data-use analysis |
US6947927B2 (en) * | 2002-07-09 | 2005-09-20 | Microsoft Corporation | Method and apparatus for exploiting statistics on query expressions for optimization |
US20040030667A1 (en) | 2002-08-02 | 2004-02-12 | Capital One Financial Corporation | Automated systems and methods for generating statistical models |
US20040162768A1 (en) | 2003-01-31 | 2004-08-19 | Snyder Aaron Francis | System architecture for a vendor management inventory solution |
US7447676B2 (en) * | 2003-04-21 | 2008-11-04 | Oracle International Corporation | Method and system of collecting execution statistics of query statements |
US7330848B2 (en) | 2003-05-23 | 2008-02-12 | Microsoft Corporation | Method and apparatus for generating statistics on query expressions for optimization |
US7509311B2 (en) * | 2003-08-29 | 2009-03-24 | Microsoft Corporation | Use of statistics on views in query optimization |
-
2006
- 2006-03-14 US US11/374,812 patent/US7725461B2/en active Active
-
2007
- 2007-03-14 EP EP07710735A patent/EP2005332A4/en not_active Withdrawn
- 2007-03-14 CN CN2007800093841A patent/CN101405727B/zh active Active
- 2007-03-14 WO PCT/CA2007/000404 patent/WO2007104151A1/en active Application Filing
- 2007-03-14 JP JP2008558605A patent/JP5084750B2/ja active Active
Also Published As
Publication number | Publication date |
---|---|
WO2007104151A1 (en) | 2007-09-20 |
CN101405727A (zh) | 2009-04-08 |
EP2005332A1 (en) | 2008-12-24 |
EP2005332A4 (en) | 2011-03-09 |
JP2009529735A (ja) | 2009-08-20 |
CN101405727B (zh) | 2011-11-30 |
US20070220058A1 (en) | 2007-09-20 |
US7725461B2 (en) | 2010-05-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8732163B2 (en) | Query optimization with memory I/O awareness | |
Dageville et al. | Automatic SQL tuning in Oracle 10g | |
US10157204B2 (en) | Generating statistical views in a database system | |
US5950186A (en) | Database system index selection using cost evaluation of a workload for multiple candidate index configurations | |
US5960423A (en) | Database system index selection using candidate index selection for a workload | |
US20070043697A1 (en) | Generating statistics for temporary tables during query optimization | |
US8239369B2 (en) | Method and apparatus for enhancing performance of database and environment thereof | |
US7472108B2 (en) | Statistics collection using path-value pairs for relational databases | |
US5926813A (en) | Database system index selection using cost evaluation of a workload for multiple candidate index configurations | |
US7698253B2 (en) | Method and system for reducing host variable impact on access path selection | |
US9582526B2 (en) | Optimizing database definitions in an existing database | |
US20070214104A1 (en) | Method and system for locking execution plan during database migration | |
US20070050367A1 (en) | System and method for controlling database access | |
Baldacci et al. | A cost model for SPARK SQL | |
JP5084750B2 (ja) | データベース・システムにおける統計ビューの管理 | |
US9117005B2 (en) | Statistics collection using path-value pairs for relational databases | |
May et al. | SAP HANA-From Relational OLAP Database to Big Data Infrastructure. | |
US8239383B2 (en) | System and method for managing execution of queries against database samples | |
US8229924B2 (en) | Statistics collection using path-identifiers for relational databases | |
US8548980B2 (en) | Accelerating queries based on exact knowledge of specific rows satisfying local conditions | |
US11507575B2 (en) | Complex query rewriting | |
Golfarelli et al. | A cost model for spark sql | |
CN117290403A (zh) | 用于查询计划成本估计的运行时统计反馈 | |
Nilavalagan | CODD Metadata Processor | |
Bhagat et al. | Tuning the tpc-c benchmark using oracle 10 g |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090225 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090313 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20091117 |
|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A711 Effective date: 20100621 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A821 Effective date: 20100621 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120410 |
|
RD12 | Notification of acceptance of power of sub attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7432 Effective date: 20120612 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A821 Effective date: 20120612 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120705 |
|
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: 20120814 |
|
RD14 | Notification of resignation of power of sub attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7434 Effective date: 20120814 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120904 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5084750 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150914 Year of fee payment: 3 |