Patents
US 7,593,931 B2#9694065 Most CitedActiveUnited States (USPTO)Utility

Apparatus, system, and method for performing fast approximate computation of statistics on query expressions

11Forward Citations (#9694065 Global)
0.7/yrCitation Velocity (#12246266 Global)
1.51Citation PageRank (#22549164 Global)
20Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

An apparatus, system, and method are disclosed for performing fast approximate computation of statistics on query expressions in order to improve query optimization within a database management system by accurately and quickly estimating the sizes of intermediate query results. This is accomplished by analyzing a query for join instruction and identifying a fact table and a dimension table within those join instructions. Then, frequency statistics corresponding to distinct values of within the fact table are retrieved from a catalog table. Those frequency statistics are used in combination with a full scan of the dimension table accurately and quickly estimate frequency statistics for an expected join between the fact table and dimension table. The estimated frequency statistics corresponding to the expected join may then be used in such operations as query optimization.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 20 · Forward citations: 11.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A computer program product comprising a computer readable storage medium having computer usable program code programmed to perform fast approximate computation of statistics on query expressions within a database management system (DBMS) by accurately estimating the sizes of intermediate query results based on frequency statistics, the operations of the computer program product comprising: analyzing a query expression for join instructions; identifying a fact table and a dimension table from the join instructions; retrieving frequency statistics from a catalog table corresponding to distinct v

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (20)

PatentTitleYearCitations
US 5,848,408 AMethod for executing star queries1998171
US 6,105,020 ASystem and method for identifying and constructing star joins for execution by bitmap ANDing200072
US 2002161753 A1Distributed document retrieval method and device, and distributed document retrieval program and recording medium recording the program—23
US 6,477,534 B1Method and system for generating a statistical summary of a database using a join synopsis200276
US 2003041042 A1Method and apparatus for knowledge-driven data mining used for predictions—76
US 2003088541 A1Method for recommending indexes and materialized views for a database workload—50
US 2003088565 A1Method and system for mining large data sets—99
US 2003158846 A1Graphics image generation method, program and statistical data drawing apparatus—39
US 2003182276 A1Method, system, and program for performance tuning a database query—116
US 2004030667 A1Automated systems and methods for generating statistical models—122
US 6,708,185 B2SQL execution analysis200413
US 6,732,093 B2Systems and methods for performing temporal logic queries200412
US 2004162768 A1System architecture for a vendor management inventory solution—51
US 2004236762 A1Method and apparatus for generating statistics on query expressions for optimization—47
US 2005050041 A1Use of statistic on view in query optimization—45
US 2005149505 A1Method, system, and program for statistics management—35
US 6,971,091 B1System and method for adaptively optimizing program execution by sampling at selected program points2005119
US 7,020,797 B2Automated software testing management system200683
US 7,191,169 B1System and method for selection of materialized views200735

Non-Patent Literature (2)

  • Bruno et al., "Conditional Selectivity for Statistics on Query Expression", 12 pages, Jun. 2004.
  • Patent Cooperative Treaty, International Search Report, International Patent Application No. CA2007/000404, International file date Mar. 14, 2007, Applicant-International Business Machines Corporation, et al, 3 pages.