×

Analyzing, optimizing and rewriting queries using matching and compensation between query and automatic summary tables

  • US 6,847,962 B1
  • Filed: 02/11/2000
  • Issued: 01/25/2005
  • Est. Priority Date: 05/20/1999
  • Status: Expired due to Term
First Claim
Patent Images

1. A method of optimizing a query in a computer system, the query being performed by the computer system to retrieve data from a database stored on the computer system, the method comprising the steps of:

  • (a) analyzing the query using math and compensation between the query and one or more automatic summary tables to determine whether expressions occurring in the query, but not in the automatic summary table, can be derived using the automatic summary table, wherein the automatic sum table is generated using a full SELECT statement involving one or more nested GROUP BY operations and HAVING clauses; and

    (b) rewriting the query to use the automatic summary table when the expressions occurring in the query, but not in the automatic summary, can be derived using the automatic summary table.

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