Optimizing Sample Design for Approximate Query Processing
Philipp Rösch, Wolfgang Lehner · International Journal of Knowledge-Based Organizations · 2013
The rapid increase of data volumes makes sampling a crucial component of modern data management systems. Although there is a large body of work on database sampling, the problem of automatically determine the optimal sample for a given query remained (almost) unaddressed. To tackle this problem the authors propose a sample advisor based on a novel cost model. Primarily designed for advising samples of a few queries specified by an expert, the authors additionally propose two extensions of the sample advisor. The first extension enhances the applicability by utilizing recorded workload information and taking memory bounds into account. The second extension increases the effectiveness by merging samples in case of overlapping pieces of sample advice. For both extensions, the authors present exact and heuristic solutions. Within their evaluation, the authors analyze the properties of the cost model and demonstrate the effectiveness and the efficiency of the heuristic solutions with a variety of experiments.
Cited by 1 works. doi:10.4018/ijkbo.2013100101 Open-access PDF
Authors
References
- Random sampling with a reservoir
- Online aggregation
- Improved histograms for selectivity estimation of range predicates
- Wavelet-based histograms for selectivity estimation
- On random sampling over joins
- Approximate query processing using wavelets
- An Efficient Cost-Driven Index Selection Tool for Microsoft SQL Server
- AutoAdmin “what-if” index analysis utility
- Ripple joins for online aggregation
- Automated Selection of Materialized Views and Indexes in SQL Databases