Publication | Open Access
Practical selectivity estimation through adaptive sampling
276
Citations
20
References
1990
Year
Unknown Venue
EngineeringSampling TechniqueQuery SuggestionInformation RetrievalData ScienceLoose CouplingPractical Selectivity EstimationQuery ExpansionData ManagementStatisticsHost LanguageCommercial Relational SystemSampling TheorySampling (Statistics)Computer ScienceDistributed Query ProcessingQuery OptimizationRelational QueriesStatistical InferenceApproximate Query Answering
Recently we have proposed an adaptive, random sampling algorithm for general query size estimation. In earlier work we analyzed the asymptotic efficiency and accuracy of the algorithm, in this paper we investigate its practicality as applied to selects and joins. First, we extend our previous analysis to provide significantly improved bounds on the amount of sampling necessary for a given level of accuracy. Next, we provide “sanity bounds” to deal with queries for which the underlying data is extremely skewed or the query result is very small. Finally, we report on the performance of the estimation algorithm as implemented in a host language on a commercial relational system. The results are encouraging, even with this loose coupling between the estimation algorithm and the DBMS.
| Year | Citations | |
|---|---|---|
Page 1
Page 1