×

COST-BASED SUBQUERY CORRELATION AND DECORRELATION

  • US 20080215534A1
  • Filed: 04/16/2008
  • Published: 09/04/2008
  • Est. Priority Date: 06/17/2005
  • Status: Active Grant
First Claim
Patent Images

1. An article of manufacture for processing a query, wherein the article of manufacture comprises a computer readable 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 query using one or more query blocks and further comprising;

    selecting a bottom-most query block;

    determining correlated costs of the query block in response to determining that correlated costs are to be determined; and

    determining non-correlated costs of the query block in response to determining that non-correlated costs are to be determined, wherein the article of manufacture is operable to;

    join the virtual table in decorrelated form to the outer table; and

    join the outer table to the virtual table in decorrelated form.

View all claims
  • 0 Assignments
Timeline View
Assignment View
    ×
    ×