×

Performance data for query optimization of database partitions

  • US 7,734,615 B2
  • Filed: 05/26/2005
  • Issued: 06/08/2010
  • Est. Priority Date: 05/26/2005
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • determining performance data for query optimization of a query directed to a database table comprising a plurality of partitions wherein the determining further comprises determining whether the query performed partition elimination;

    presenting the performance data for the query optimization in a user interface, wherein the performance data comprises information regarding a subset of the plurality of partitions;

    presenting an option in the user interface to create a non-spanning index for any partition in the subset that is unexpanded, wherein the non-spanning index comprises a key that is not present in all of the plurality of partitions that are unexpanded, wherein the plurality of partitions that are unexpanded are not represented in an optimization tree that represents a join operation of a plurality of tables, wherein the query optimizer optimizes the plurality of partitions that are expanded separately from all other of the plurality of partitions, wherein the query optimizer optimizes the plurality of partitions that are unexpanded together, wherein the non-spanning index forces the query optimizer to expand the partition in the subset that is unexpanded during optimization of the query; and

    presenting a recommendation in the user interface to add a range partitioning constraint to one of the plurality of partitions, wherein the range partitioning constraint maps data to the plurality of partitions based on ranges of partition key values.

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