×

System and methodology for parallel query optimization using semantic-based partitioning

  • US 8,126,870 B2
  • Filed: 06/02/2005
  • Issued: 02/28/2012
  • Est. Priority Date: 03/28/2005
  • Status: Active Grant
First Claim
Patent Images

1. In a database system comprising a database storing data in database tables, a method for improving query performance by dynamically partitioning said data, the method comprising:

  • generating, by at least one processor, a plurality of subplans for obtaining data requested by the query, each subplan including one or more operators for performing relational operations;

    determining if partitioning of data is advantageous for performing a given relational operation, wherein said data includes unpartitioned data, and wherein determining if partitioning of data is advantageous for performing the given relational operation comprises determining whether an amount of data involved for the given relational operation satisfies a threshold;

    performing the given relational operation serially with at least some of said plurality of subplans if partitioning of data is determined to be not advantageous;

    adding operators for partitioning data and performing the given relational operation in parallel to at least some of said plurality of subplans if partitioning of data is determined to be advantageous;

    building a plan for execution of the query based, at least in part, upon selecting subplans having favorable execution costs; and

    executing the plan and returning results in response to the query.

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