- AutorIn
- Rainer Gemulla
- Titel
- Sampling Algorithms for Evolving Datasets
- Zitierfähige Url:
- https://nbn-resolving.org/urn:nbn:de:bsz:14-ds-1224861856184-11644
- Datum der Einreichung
- 27.08.2008
- Datum der Verteidigung
- 20.10.2008
- Abstract (EN)
- Perhaps the most flexible synopsis of a database is a uniform random sample of the data; such samples are widely used to speed up the processing of analytic queries and data-mining tasks, to enhance query optimization, and to facilitate information integration. Most of the existing work on database sampling focuses on how to create or exploit a random sample of a static database, that is, a database that does not change over time. The assumption of a static database, however, severely limits the applicability of these techniques in practice, where data is often not static but continuously evolving. In order to maintain the statistical validity of the sample, any changes to the database have to be appropriately reflected in the sample. In this thesis, we study efficient methods for incrementally maintaining a uniform random sample of the items in a dataset in the presence of an arbitrary sequence of insertions, updates, and deletions. We consider instances of the maintenance problem that arise when sampling from an evolving set, from an evolving multiset, from the distinct items in an evolving multiset, or from a sliding window over a data stream. Our algorithms completely avoid any accesses to the base data and can be several orders of magnitude faster than algorithms that do rely on such expensive accesses. The improved efficiency of our algorithms comes at virtually no cost: the resulting samples are provably uniform and only a small amount of auxiliary information is associated with the sample. We show that the auxiliary information not only facilitates efficient maintenance, but it can also be exploited to derive unbiased, low-variance estimators for counts, sums, averages, and the number of distinct items in the underlying dataset. In addition to sample maintenance, we discuss methods that greatly improve the flexibility of random sampling from a system's point of view. More specifically, we initiate the study of algorithms that resize a random sample upwards or downwards. Our resizing algorithms can be exploited to dynamically control the size of the sample when the dataset grows or shrinks; they facilitate resource management and help to avoid under- or oversized samples. Furthermore, in large-scale databases with data being distributed across several remote locations, it is usually infeasible to reconstruct the entire dataset for the purpose of sampling. To address this problem, we provide efficient algorithms that directly combine the local samples maintained at each location into a sample of the global dataset. We also consider a more general problem, where the global dataset is defined as an arbitrary set or multiset expression involving the local datasets, and provide efficient solutions based on hashing.
- Freie Schlagwörter (DE)
- Einfache Zufallsstichproben, inkrementelle Stichprobenwartung, Stichprobenerhebung von Mengen/Multimengen/Projektionen/Datenströmen
- Freie Schlagwörter (EN)
- Uniform sampling, incremental sample maintenance, set sampling, multiset sampling, distinct-item sampling, data stream sampling
- Klassifikation (DDC)
- 004
- Klassifikation (RVK)
- ST 274
- GutachterIn
- Dr. Peter Haas
- Prof. Dr.-Ing. Dr. h.c. Theo Härder
- BetreuerIn
- Prof. Dr.-Ing. Wolfgang Lehner
- Verlag
- Technische Universität Dresden, Dresden
- URN Qucosa
- urn:nbn:de:bsz:14-ds-1224861856184-11644
- Veröffentlichungsdatum Qucosa
- 24.10.2008
- Dokumenttyp
- Dissertation
- Sprache des Dokumentes
- Englisch
- Lizenz / Rechtehinweis