Patents
US 7,809,713 B2#15465470 Most CitedActiveUnited States (USPTO)Utility

Efficient search space analysis for join factorization

7Forward Citations (#15465470 Global)
0.4/yrCitation Velocity (#18300439 Global)
1.67Citation PageRank (#19293867 Global)
50Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

Under a type of query transformation referred to herein as join factorization, the branches of an UNION/UNION ALL query that join a common table are combined to reduce accesses to the common table. The transformation can be expressed as (T 1 join T 2 ) union all (T 1 join T 3 )=T 1 join (T 2 union all T 3 ), where T 1 , T 2 and T 3 are three tables. A given query may be rewritten in many alternate ways using join factorization. Evaluating each alternative can be expensive. Therefore, the alternatives are generated and evaluated in a way that minimizes the cost of evaluating the alternatives.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A computer implemented method, comprising transforming a base query that includes a plurality of base branches of a union operator in a base query; and wherein transforming the base query includes: generating a plurality of units that each correspond to a set of base branches of the plurality of base branches; wherein each unit of said plurality of units represents a factorization of a common table set involving a common table joined in each branch of the respective set of base branches; generating a certain plurality of states that conform to one or more criteria, wherein each state of said c

Technical Overview & Description

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

References Cited — Backward Prior Art (50)

PatentTitleYearCitations
US 4,769,772 AAutomated query optimization method using both global and parallel local optimizations for materialization access planning for distributed databases1988420
US 4,829,427 ADatabase query code generation and optimization based on the cost of alternate access methods1989196
US 5,091,852 ASystem for optimizing query processing in a relational database1992221
US 5,325,525 AMethod 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 time1994381
US 5,339,429 AParallel processing system and compiling method used therefor199449
US 5,412,804 AExtending the semantics of the outer join operator for un-nesting queries to a data base1995256
US 5,437,032 ATask scheduler for a miltiprocessor system1995243
US 5,452,468 AComputer system with parallel processing for information organization199588
US 5,495,419 AIntegrated circuit physical design automation system utilizing optimization process decomposition and parallel processing1996178
US 5,495,606 ASystem for parallel processing of complex read-only database queries using master and slave central processor complexes1996217
US 5,537,588 APartitioned log-structured file system and methods for operating the same1996146
US 5,548,755 ASystem for optimizing correlated SQL queries in a relational database using magic decorrelation1996153
US 5,551,027 AMulti-tiered indexing method for partitioned data1996640
US 5,574,900 ASystem and method for optimizing parallel processing of database queries1996108
US 5,590,319 AQuery processor for parallel processing in homogenous and heterogenous databases1996279
US 5,642,515 ANetwork server for local and remote resources1997348
US 5,675,791 AMethod and system for database load balancing1997165
US 5,680,547 AMethod and apparatus for controlling network and workstation access prior to workstation boot1997285
US 5,710,915 AMethod for accelerating access to a database clustered partitioning1998266
US 5,787,251 AMethod and apparatus for subcontracts in distributed processing systems1998137
US 5,797,136 AOptional quantifiers in relational and object-oriented views of database systems1998156
US 5,822,748 AGroup by and distinct sort elimination using cost-based optimization199896
US 5,832,477 AMethod and apparatus for reordering complex SQL queries containing inner and outer join operations199871

Non-Patent Literature (5)

  • Ahmed, Rafi, et al., "Cost-Based Query Transformation in Oracle," Copyright 2006 VLDB, ACM 1595933859, pp. 1026-1036.
  • Bergsten, et al., "Prototyping DBS3 a Shared-Memory Parallel Database System", IEEE 818622954, 226-234, 1991, pp. 226-234.
  • Bhide, Anupam, "An Analysis of Three Transaction Processing Architectures", Computer Science Division, UC Berkeley, Proceeding of the 14th VLDB Conference,1998, pp. 339-350.
  • Chaudhuri, Surajit, "An Overview of Query Optimization in Relational Systems", Microsoft Research, 1998, 10 pages.
  • Chaudhuri, Surajit, et al., "Including Group-By in Query Optimization", Hewlett-Packard Laboratories, 20th VLDB Conference Chile, 1994, 9 pages.