eCommons

 

A Better Tool for Query Optimization

dc.contributor.authorBitton, Dinaen_US
dc.contributor.authorVander Zanden, Bradley T.en_US
dc.date.accessioned2007-04-23T17:08:53Z
dc.date.available2007-04-23T17:08:53Z
dc.date.issued1985-04en_US
dc.description.abstractWhen evaluating the performance of a query strategy, one must often estimate the number of distinct values of an attribute in a randomly selected subset of a relation. Most query optimizers compute this estimate based on the assumption that prior to the selection, the attribute values are uniformly distributed in the relation. In this paper we depart from this assumption and instead consider Zipf distributions that are known to accurately model text and name distributions. Given a relation of cardinality $n$ where a non-key attribute $A$ has a Zipf distribution, we derive both an exact formula and an approximate non-iterative formula for the expected number of distinct $A$-values contained in a sample of $k$ randomly selected tuples. The approximation is accurate, and it is very easy to compute. Thus it provides a practical tool to deal with non-uniform distributions in query optimization.en_US
dc.format.extent1239660 bytes
dc.format.extent313061 bytes
dc.format.mimetypeapplication/pdf
dc.format.mimetypeapplication/postscript
dc.identifier.citationhttp://techreports.library.cornell.edu:8081/Dienst/UI/1.0/Display/cul.cs/TR85-671en_US
dc.identifier.urihttps://hdl.handle.net/1813/6511
dc.language.isoen_USen_US
dc.publisherCornell Universityen_US
dc.subjectcomputer scienceen_US
dc.subjecttechnical reporten_US
dc.titleA Better Tool for Query Optimizationen_US
dc.typetechnical reporten_US

Files

Original bundle
Now showing 1 - 2 of 2
Loading...
Thumbnail Image
Name:
85-671.pdf
Size:
1.18 MB
Format:
Adobe Portable Document Format
No Thumbnail Available
Name:
85-671.ps
Size:
305.72 KB
Format:
Postscript Files