Materialized Sample Views for Database Approximation
Authors:
- Shantanu JoshiSJShantanu Joshi
- Christopher JermaineCJChristopher Jermaine
- 31 January 2008
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Knowledge and Data Engineering
- Vol. 20 (3) , 337-351
Abstract
We consider the problem of creating a sample view of a database table. A sample view is an indexed materialized view that permits efficient sampling from an arbitrary range query over the view. Such "sample views" are very useful in applications that require random samples from a database: approximate query processing, online aggregation, data mining, and randomized algorithms are a few examples. Our core technical contribution is a new file organization called the appendability, combinability, and exponentiality (ACE) tree that is suitable for organizing and indexing a sample view. One of the most important aspects of the ACE tree is that it supports online random sampling from the view. That is, at all times, the set of records returned by the ACE tree constitutes a statistically random sample of the database records satisfying the relational selection predicate over the view. Our paper presents experimental results that demonstrate the utility of the ACE tree.Keywords
This publication has 18 references indexed in Scilit:
- Effective use of block-level sampling in statistics estimation2004
- A bi-level Bernoulli scheme for database sampling2004
- Sampling from spatial databases2002
- 10.1162/153244302760200678Applied Physics Letters, 2000
- Efficient progressive sampling1999
- Ripple joins for online aggregation1999
- Online aggregationACM SIGMOD Record, 1997
- Randomized Algorithms1995
- Random sampling from hash files1990
- R-trees1984