Patent · US Expired

Optimization of the order in which the comparisons of the components of a boolean query expression are applied to a database record stored as a byte stream

US5794227A · kind A · utility

30Cited by
12References
1Claims
0Family size

Assignee

Inventor

Key dates

Filing dateMar 9, 1993
Grant dateAug 11, 1998
Priority date
Expiry dateMar 9, 2013

Classification

  • Technology area (CPC Y)Emerging Cross-Sectional Technologies
  • CPC primaryY10S707/99932
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

A database system holds data in the form of a sequence of records, each record comprising one or more fields. The database can be interrogated by a search query, which specifies a particular logical combination of comparisons to be performed on specified fields of each record. Before the search commences, the search query is compiled to produce an optimized sequence of code for search within a record. Each comparison operation is assigned a cost, reflecting the cost in time to retrieve the required fields and to perform the comparisons, and is also assigned a probability, indicating the probability that the comparison will produce a true result. Each logical operation in the search query is then processed, to find the order of handling its arguments that gives the minimum expected cost, and the arguments are re-arranged into that order.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.