Patents
US 8,688,682 B2#20264761 Most CitedActiveUnited States (USPTO)Utility

Query expression evaluation using sample based projected selectivity

5Forward Citations (#20264761 Global)
0.4/yrCitation Velocity (#19303764 Global)
1.63Citation PageRank (#20121725 Global)
17Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

Methods, systems, and computer program products are provided for query expression evaluation for query optimization. Embodiments include receiving a query including a plurality of predicates; creating a truth table representing the possible solutions to the query; identifying a plurality of intersections of the truth table, the plurality of intersections including each predicate of the query; assigning a selectivity factor to each predicate; determining in dependence upon the selectivity factors for each predicate a selectivity rating for each of the intersections of the truth table; selecting one or more of the intersections in dependence upon the selectivity rating; and determining in dependence upon the selected intersections a percentage of rows in a database table returned by the query; and providing the percentage of rows in the database table to an access plan generator for query optimization.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method for query expression evaluation for query optimization, the method comprising: receiving a query including a plurality of predicates; creating a truth table representing all of the possible solutions to the query; condensing the truth table including identifying a plurality of intersections of the truth table, the plurality of intersections including each predicate of the query; assigning a selectivity factor to each predicate; determining in dependence upon the selectivity factors for each predicate a selectivity rating for each of the intersections of the truth table; selecting one

Technical Overview & Description

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

References Cited — Backward Prior Art (17)

PatentTitleYearCitations
US 4,829,427 ADatabase query code generation and optimization based on the cost of alternate access methods1989196
US 4,956,774 AData base optimizer using most frequency values statistics1990225
US 5,091,852 ASystem for optimizing query processing in a relational database1992221
US 5,930,785 AMethod for detecting and optimizing queries with encoding/decoding tables1999112
US 6,381,616 B1System and method for speeding up heterogeneous data access using predicate conversion200255
US 2003009446 A1Method and mechanism for extending native optimization in a database system—34
US 6,567,804 B1Shared computation of user-defined metrics in an on-line analytic processing system200323
US 6,697,961 B1Method and system for describing predicates in disjuncts in procedures for test coverage estimation200430
US 6,721,724 B1Validating multiple execution plans for database queries200442
US 6,748,392 B1System and method for segmented evaluation of database queries200453
US 2005065921 A1System and method for performing a query in a computer system to retrieve data from a database—48
US 2005097078 A1System, method, and computer program product for progressive query processing—175
US 2005108204 A1System and method for managing OLAP summary tables—27
US 6,968,330 B2Database query optimization apparatus and method200521
US 7,363,299 B2Computing probabilistic answers to queries200842
US 2008201295 A1Caching plans with using data values—13
US 2008235181 A1Query Expression Evaluation Using Sample Based Projected Selectivity—20

Non-Patent Literature (4)

  • "Database Systems Query Processing cont'd," http://sky.fit.qut.edu.au/~milliner/itb-n-232/lectures/lect005wk6.ppt, downloaded Nov. 29, 2007, 34 pages.
  • "Database Systems Query Processing cont'd," http://sky.fit.qut.edu.au/˜milliner/itb—n—232/lectures/lect005wk6.ppt, downloaded Nov. 29, 2007, 34 pages.
  • Claussen et al., "Optimization and Evaluation of Disjunctive Queries," Knowledge and Data Engineering, IEEE Transactions, vol. 12, No. 2, Mar./Apr. 2000, pp. 238-260.
  • IBM, "Transformation of a DNF Bit Map to a CNF Bit Map", Ip.com Prior Art Database, Jul. 8, 2004, pp. 1-2, USA.