Issue No.01 - January (2007 vol.19)
DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/TKDE.2007.14
The existing random sampling methods have at least one of the following disadvantages: they 1) are applicable only to certain update patterns, 2) entail large space overhead, or 3) incur prohibitive maintenance cost. These drawbacks prevent their effective application in stream environments (where a relation is updated by a large volume of insertions and deletions that may arrive in any order), despite the considerable success of random sampling in conventional databases. Motivated by this, we develop several fully dynamic algorithms for obtaining random samples from individual relations, and from the join result of two tables. Our solutions can handle any update pattern with small space and computational overhead. We also present an in-depth analysis that provides valuable insight into the characteristics of alternative sampling strategies and leads to precision guarantees. Extensive experiments validate our theoretical findings and demonstrate the efficiency of our techniques in practice.
Sampling, selectivity estimation.
Xiang Lian, Dimitris Papadias, Yufei Tao, "Random Sampling for Continuous Streams with Arbitrary Updates", IEEE Transactions on Knowledge & Data Engineering, vol.19, no. 1, pp. 96-110, January 2007, doi:10.1109/TKDE.2007.14