Method and apparatus for exploiting statistics on query...

Data processing: database and file management or data structures – Database design – Data structure types

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C707S793000, C707S793000, C707S793000

Reexamination Certificate

active

07363289

ABSTRACT:
A method for evaluating a user query on a relational database having records stored therein, a workload made up of a set of queries that have been executed on the database, and a query optimizer that generates a query execution plan for the user query. Each query plan includes a plurality of intermediate query plan components that verify a subset of records from the database meeting query criteria. The method accesses the query plan and a set of stored intermediate statistics for records verified by query components, such as histograms that summarize the cardinality of the records that verify the query component. The method forms a transformed query plan based on the selected intermediate statistics (possibly by rewriting the query plan) and estimates the cardinality of the transformed query plan to arrive at a more accurate cardinality estimate for the query. If additional intermediate statistics are necessary, a pool of intermediate statistics may be generated based on the queries in the workload by evaluating the benefit of a given statistic over the workload and adding intermediate statistics to the pool that provide relatively great benefit.

REFERENCES:
patent: 6393419 (2002-05-01), Novak et al.
patent: 6529901 (2003-03-01), Chaudhuri et al.
patent: 6618719 (2003-09-01), Andrei
patent: 6732110 (2004-05-01), Rjaibi et al.
patent: 6754652 (2004-06-01), Bestgen et al.

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Method and apparatus for exploiting statistics on query... does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Method and apparatus for exploiting statistics on query..., we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Method and apparatus for exploiting statistics on query... will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-2793867

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.