Patents
US 7,840,552 B2#92363530 Most CitedActiveUnited States (USPTO)Utility

Cost-based subquery correlation and decorrelation

0Forward Citations (#92363530 Global)
0.0/yrCitation Velocity (#92363530 Global)
0.56Citation PageRank (#92363530 Global)
27Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

Techniques are provided that determine that a query includes at least one subquery that may be correlated or decorrelated. An internal representation of the query that represents the subquery in both correlated and decorrelated form is generated, wherein the internal representation includes at least one virtual table.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    An article of manufacture for processing a query, wherein the article of manufacture comprises a computer readable storage medium storing instructions, and wherein the article of manufacture is operable to: determine that the query includes at least one subquery that is to be correlated or decorrelated; and generate an internal representation of the query that represents the subquery in both correlated and decorrelated form, wherein the internal representation includes at least one virtual table, and the query includes an outer table, and wherein the internal representation represents the quer

Technical Overview & Description

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

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

References Cited — Backward Prior Art (27)

PatentTitleYearCitations
US 5,276,870 AView composition in a data base management system1994220
US 5,367,675 AComputer automated system and method for optimizing the processing of a query in a relational database system by merging subqueries with the query1994219
US 5,548,755 ASystem for optimizing correlated SQL queries in a relational database using magic decorrelation1996153
US 5,551,031 AProgram storage device and computer program product for outer join operations using responsibility regions assigned to inner tables in a relational database199652
US 5,557,791 AOuter join operations using responsibility regions assigned to inner tables in a relational database199689
US 5,724,570 AMethod and apparatus for a complete SQL subquery elimination process1998104
US 5,761,657 AGlobal optimization of correlated subqueries and exists predicates199872
US 5,822,750 AOptimization of correlated SQL queries in a relational database management system1998277
US 6,032,143 AEvaluation of existential and universal subquery in a relational database management system for increased efficiency200072
US 6,061,676 AEffecting constraint magic rewriting on a query with the multiset version of the relational algebric theta-semijoin operator2000125
US 6,226,637 B1System, method, and program, for object building in queries over object views200173
US 2001049685 A1Query optimization with deferred updates and autonomous sources—48
US 6,341,281 B1Database system with methods for optimizing performance of correlated subqueries by reusing invariant results of operator tree2002329
US 6,411,951 B1Evaluating SQL subqueries2002104
US 6,529,896 B1Method of optimizing a query having an existi subquery and a not-exists subquery200391
US 2003088558 A1Optimizing correlated queries using automatic summary tables—83
US 6,662,175 B1Semantic query optimization using value correlation200339
US 6,728,694 B1Set containment join operation in an object/relational database management system200423
US 2004153448 A1System and method for transforming queries using window aggregation—27
US 2004220911 A1Method and system for aggregation subquery join elimination—29
US 2004220923 A1System and methodology for cost-based subquery optimization using a left-deep tree join enumeration algorithm—167
US 2005165751 A1Query transformation for queries involving correlated subqueries having correlation join predicates with local filtering predicates involving predicate transitive closure and predicate pull-out—10
US 7,167,853 B2Matching and compensation tests for optimizing correlated subqueries within query using automatic summary tables200721
US 7,177,856 B1Method for correlating data from external databases20076
US 7,181,446 B2Query transformation for queries involving correlated subqueries having correlation join predicates with local filtering predicates involving predicate transitive closure and predicate pull-out200716
US 7,376,646 B2Cost-based subquery correlation and decorrelation20085
US 7,617,179 B2System and methodology for cost-based subquery optimization using a left-deep tree join enumeration algorithm200945

Non-Patent Literature (2)

  • Chaudhuri, S., and K. Shim, "Optimization of Queries with User-Defined Predicates", ACM Transactions on Database Systems, vol. 24, No. 2, Jun. 1999, pp. 177-228.
  • Ganski, R.A., and H.K.T. Wong, "Optimization of Nested SQL Queries Revisited", ACM SIGMOD Record, vol. 16, Iss. 3, 1987, pp. 23-33.