×

Improving performance of database queries

  • US 7,895,191 B2
  • Filed: 04/09/2003
  • Issued: 02/22/2011
  • Est. Priority Date: 04/09/2003
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for improving performance for SQL queries, comprising:

  • receiving a request for advice in a computer having a processor regarding one or more summary tables to be built for a cube model metadata object, wherein the request specifies one or more types of queries intended to be issued for the cube model metadata object, and wherein the one or more types of queries include extract, drilldown, report, and drillthrough;

    obtaining multidimensional metadata associated with the cube model metadata object including measures;

    forming measure sets with the measures by creating one measure set with symmetric measures and, for each group of asymmetric measures with a same dimensionality, creating an additional measure set;

    for each of the measure sets,identifying one or more summary tables recommended to be built based on the obtained multidimensional metadata and based on the one or more types of queries intended to be issued, wherein identifying the one or more summary tables further comprises;

    rating a cost of creating a slice within one of the summary tables based on an estimated number of rows in the slice, an estimated size of the slice, a maximum row width of the slice, a number of columns in the slice, and an amount of time required to build the slice; and

    identifying one or more indexes recommended to be created for the one or more summary tables based on the obtained multidimensional metadata; and

    generating one or more statements to be executed to create the recommended one or more summary tables and the recommended one or more indexes.

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