×

SQL tuning base

  • US 8,983,934 B2
  • Filed: 09/07/2004
  • Issued: 03/17/2015
  • Est. Priority Date: 09/06/2003
  • Status: Active Grant
First Claim
Patent Images

1. An article of manufacture comprising a volatile or non-volatile computer readable storage medium storing a system for tuning database query language statements, comprising:

  • a tuning base containing tuning information for a database query language statement, the tuning information comprising;

    trace information for the database query language statement, whereinthe trace information comprises statistics of a database object for the database query language statement, wherein the statistics in the trace information are adjusted to tune execution of the database query language statement when the database query language statement is compiled or executed; and

    a signature which is generated during compilation of the database query language statement and is used to identify the trace information for the database query language statement; and

    a query optimizer that tunes the database query language statement at least by retrieving at least the tuning information from the tuning base during compilation of the database query language statement, based at least in part the signature for the database query language statement, whereinthe query optimizer tunes the database query language statement at least by modifying a compiled database query statement of the database query language statement to include at least a part of the tuning information for the execution of the compiled database query statement with an execution plan, andthe query optimizer adjusts the statistics in the trace information to tune the database query language statement, by using one or more statistics adjustment hints.

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