Patents
US 9,852,181 B2#33568925 Most CitedActiveUnited States (USPTO)Utility

Optimizing an order of execution of multiple join operations

3Forward Citations (#33568925 Global)
0.3/yrCitation Velocity (#23632089 Global)
1.02Citation PageRank (#40251054 Global)
49Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A computer-implemented method, system, and/or computer program product optimizes an order of execution of column join operations. A first partitioning of the first data column splits the first data column into first subsets of rows. A second partitioning of the second data column splits the second data column into a second subsets of rows. A first value frequency information indicates a frequency of attribute values within a subset of rows of the first data column processed. A second value frequency information indicates a frequency of attribute values within a subset of rows of the second data column. Cardinalities of sub-tables derived by a respective joining of the subsets of rows of the first and second data columns are estimated, based on the first and second value frequency information. An order of execution of multiple join operations is then optimized based on the estimated cardinalities of the sub-tables.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method for optimizing an order of execution of multiple join operations based on at least a first data column and a second data column in a database system having multiple processing units, the method comprising: providing, by one or more processors, at least a first partitioning of the first data column, wherein said at least the first partitioning splits the first data column into a plurality of first subsets of rows, each of the first subsets of rows being correlated with a distinct processing unit from the multiple processing units, wherein each of the first subsets of rows are handled b

Technical Overview & Description

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

References Cited — Backward Prior Art (49)

PatentTitleYearCitations
US 5,761,653 AMethod for estimating cardinalities for query processing in a relational database management system1998137
US 5,864,842 AOptimization of SQL queries using hash star join operations1999179
US 6,092,062 ARelational database query optimization to perform query evaluation plan, pruning based on the partition properties2000295
US 6,263,334 B1Density-based indexing method for efficient execution of high dimensional nearest-neighbor queries on large databases2001223
US 6,272,487 B1Query optimization through the use of multi-column statistics to avoid the problems of non-indexed column correlation2001124
US 2003135485 A1Method and system for rowcount estimation with multi-column statistics and histograms—43
US 6,691,099 B1Method and system for histogram determination in a database200452
US 2004236722 A1System and method for cardinality estimation based on query execution feedback—40
US 2004260675 A1Cardinality estimation of joins—47
US 6,865,567 B1Method of generating attribute cardinality maps2005284
US 2006064359 A1Record-keeping system for transmission and production of content—3
US 2006085592 A1Method for distinct count estimation over joins of continuous update stream—64
US 2006218123 A1System and Methodology for Parallel Query Optimization Using Semantic-Based Partitioning—534
US 7,299,226 B2Cardinality estimation of joins200713
US 2008306903 A1Cardinality estimation in database systems using sample views—70
US 7,478,083 B2Method and system for estimating cardinality in a database system200911
US 2009024568 A1Data skew insensitive parallel join scheme—69
US 7,512,574 B2Consistent histogram maintenance using query feedback20096
US 7,577,667 B2Programmable streaming data processor for database appliance having multiple processing unit groups2009127
US 2009248617 A1Optimization technique for dealing with data skew on foreign key joins—36
US 7,636,707 B2Query selectivity estimation with confidence interval200915
US 2010049722 A1System, method, and computer-readable medium for reducing row redistribution costs for parallel join operations—16
US 7,685,098 B2Estimating the size of a join by generating and combining partial join estimates20103
US 7,707,005 B2Generating histograms of population data by scaling from sample data20109
US 7,877,374 B2Statistics adjustment to improve query execution plans201130
US 2011022581 A1Derived statistics for query optimization—19
US 2011055201 A1System, method, and computer-readable medium for automatic index creation to improve the performance of frequently executed queries in a database system—42

Non-Patent Literature (5)

  • A. Konig, "Query Estimation Techniques in Database Systems", Dissertation, University of Saarlandes, Dec. 2001, pp. 1-100.
  • B. Oommen et al, "Query Result Size Estimation Using a Novel Histogram-Like Technique: The Rectangular Attribute Cardinality Map", Database Engineering and Applications, International Symposium Proceedings, Aug. 1999, pp. 1-13.
  • Chen et al., "Scheduling and Processor Allocation for Parallel Execution of Multi-Join Queries", Proceedings of the 8th International Conference on Data Engineering, IEEE Computer Society, Washingon DC, USA, Feb. 1992, pp. 58-67.
  • D. Fuchs, "Compressed Histograms With Arbitrary Bucket Layouts for Selectivity Estimation", Information Sciences, vol. 177, Issue 3, Feb. 2007, pp. 1-26.
  • D. Gunopulos et al., "Approximating Multi-Dimensional Aggregate Range Queries Over Real Attributes", Proceedings of the International Conference on Management of Data, ACM, 2000, pp. 463-474.