Query optimization through the use of multi-column statistics to

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

Patent

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

G06F 1730

Patent

active

059959576

ABSTRACT:
The system, method, and program of this invention collects multi-column statistics, by a database management system, to reflect a relationship among multiple columns of a table in a relational database. These statistics are stored in the system catalog, and are used during query optimization to obtain an estimate of the number of qualifying rows when a query has predicates on multiple columns of a table.
A multi-column linear quantile statistic is collected by dividing the data of multiple columns into sub-ranges where each sub-range has approximately an even distribution of data, and determining a frequency and cardinality of each sub-range. A multi-column polygonal quantile statistic is collected by dividing the data of multiple columns into sub-spaces where each sub-space contains approximately the same number of tuples, and determining a frequency and cardinality of each sub-space.
The system catalog is accessed for the stored multi-column linear quantile statistic for a query having a single range predicate and at least one equal predicate to determine the selectivity value for the predicates of the query. The system catalog is accessed for the stored multi-column polygonal quantile statistic for a query having more than one range predicate. These statistics are used in various ways to determine the selectivity value for the predicates of the query.

REFERENCES:
patent: 5335345 (1994-08-01), Frieder et al.
patent: 5412806 (1995-05-01), Du et al.
patent: 5469568 (1995-11-01), Schiefer et al.
patent: 5761653 (1998-06-01), Schiefer et al.
Gassner, P. et al., "Query Optimization in the IBM DB2 Family," Bulletin of the Technical Committee on Data Engineering, IEEE Computer Society, Dec. 1993, vol. 16, No. 4, pp. 4-18.
DB2 for MVS/ESA Administration Guide, vol. 2, 2Version 4, pp. 5-210 to 5-213, 5-233, and 5-287.

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

Query optimization through the use of multi-column statistics to does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Query optimization through the use of multi-column statistics to, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Query optimization through the use of multi-column statistics to will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-1687251

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