← Back to Patent Explorer
US5542073A Expired / Lapsed US ⏱️ 0.0 years remaining

Computer program product for choosing largest selectivities among eligible predicates of join equivalence classes for query optimization

Assignee: International Business Machines Corp
•
Filing: 1995-08-01
•
Granted: 1996-07-30
•
Expires: 2015-08-01
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract A method for choosing join selectivities in a query optimizer in a relational database management system is disclosed which facilitates the estimation of join result sizes by a query optimizer in a relational database system, wherein a new relation R is to be joined with an intermediate relation I, and wherein the selectivity values for each eligible join predicate are known. The method has the steps of determining the equivalence classes for a plurality of join attributes and then computing for each relation an estimate of the cardinality and the number of distinct values in each attribute after all the local predicates have been included. These are used in further computation of join selectivities and join result sizes. The join predicates must then be processed by correctly choosing the join selectivities. The join result sizes can then be correctly calculated.

Inventors

  • 👤 Klaus B. Schiefer
  • 👤 Arun N. Swami

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-11-02 15:23
CPC Classifications
G; G06; G06F; G06F16/00; G06F16/20; G06F16/28; G06F16/284; G06F16/288; G06F16/24; G06F16/245; G06F16/2453; G06F16/24534; G06F16/24542; G06F16/24545; Y; Y10; Y10S; Y10S707/00; Y10S707/99931; Y10S707/99932

Claims Analysis

Total Claims: 2
Claim 1
Independent Claim 99 words
A computer program product for use in a query optimizer in a relational database computer system wherein selectivity values for each eligible join predicate are known comprising: a recording medium; means, recorded on said recording medium, for instructing said computer system to determine the equivalence classes for a plurality of join attributes; and means, recorded on said recording medium, for instructing said computer system, for each equivalence class to: 1) determine the eligible join predicates belonging to each of said equivalence classes; and 2) choose the largest selectivity among said eligible join predicates in each of said equivalence classes.
Claim 2
Dependent Claim 99 words
A computer program product for use in a query optimizer in a relational database computer system wherein selectivity values for each eligible join predicate are known comprising: a recording medium; means, recorded on said recording medium, for instructing said computer system to determine the equivalence classes for a plurality of join attributes; and means, recorded on said recording medium, for instructing said computer system, for each equivalence class to: 1) determine the eligible join predicates belonging to each of said equivalence classes; and 2) choose the largest selectivity among said eligible join predicates in each of said equivalence classes.

References Cited (Backward Citations)

US4774657A Cited
US5091852A Cited
US5335345A Cited
US5287493A Cited
US5325525A Cited
US5345585A Cited
US5367675A Cited
US5301317A Cited
US5412804A Cited
US5412806A Cited
US5423035A Cited
US5469568A Cited

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 1999-07-30 2000-01-29 2000-07-30 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 2003-07-30 2004-01-29 2004-07-30 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2007-07-30 2008-01-29 2008-07-30 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag