×

System for optimizing query processing in a relational database

  • US 5,091,852 A
  • Filed: 01/25/1989
  • Issued: 02/25/1992
  • Est. Priority Date: 01/29/1988
  • Status: Expired due to Term
First Claim
Patent Images

1. A method for processing a database comprising the steps of:

  • analyzing a query including a variable in a central processing unit;

    generating, in the central processing unit, at least one internal processing procedure for executing the query based on a result of the step of analyzing a query and statistical information of a system including the database, the statistical information including(a) a characteristic of the database, and(b) a characteristic of the system including a central processing unit for issuing the query, and at least one of(i) frequency information of a column constituting a relation in the database, and(ii) information relating to a range value derived by dividing column value frequency relating to a column included in a retrieval condition expressed in the query, the column value frequency and the number of column values appearing in that range;

    selecting, in the central processing unit, one processing procedure from said at least one internal processing procedure based on a value substituted for the variable included in the query and the statistical information of the system; and

    executing, in the central processing unit, the query in accordance with the selected internal processing procedure.

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