×

Parallel query processing techniques for minus and intersect operators

  • US 7,617,189 B2
  • Filed: 09/27/2005
  • Issued: 11/10/2009
  • Est. Priority Date: 09/27/2005
  • Status: Active Grant
First Claim
Patent Images

1. A machine-executed method comprising the steps of:

  • receiving a query that includes a particular operator,wherein the particular operator is one of MINUS and INTERSECT;

    wherein, within the query, the operands to the particular operator include a left-hand source and a right-hand source;

    determining that the particular operator appears inside a correlated subquery within the query;

    based on the step of determining that the particular operator appears inside the correlated subquery, determining not to transform the query into another query that has an operator that is different from the particular operator;

    based on the step of determining not to transform the query into another query that has an operator that is different from the particular operator, performing the steps of;

    generating a plurality of query plans for executing said query, wherein a portion of each of the query plans includes a parallelization plan for executing the operation associated with said particular operator, and wherein the respective parallelization plan for each query plan of said plurality of query plans is different than the parallelization plan of any other query plan of said plurality of query plans;

    generating cost estimates for the query plans in said plurality of query plans; and

    selecting from said plurality of query plans a particular query plan to execute based, at least in part, on the cost estimates,wherein each of said steps of said method is performed by one or more computing devices.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×