Spring til hovednavigatio Spring til søgning Spring til hovedindhold

Sampling time-based sliding windows in bounded space

Publikation: Bidrag til bog/antologi/rapport/konference proceeding › Konferenceartikel i proceeding › Forskning › peer review

Abstract

Random sampling is an appealing approach to build synopses of large data streams because random samples can be used for a broad spectrum of analytical tasks. Users are often interested in analyzing only the most recent fraction of the data stream in order to avoid outdated results. In this paper, we focus on sampling schemes that sample from a sliding window over a recent time interval; such windows are a popular and highly comprehensible method to model recency. In this setting, the main challenge is to guarantee an upper bound on the space consumption of the sample while using the allotted space efficiently at the same time. The difficulty arises from the fact that the number of items in the window is unknown in advance and may vary significantly over time, so that the sampling fraction has to be adjusted dynamically. We consider uniform sampling schemes, which produce each sample of the same size with equal probability, and stratified sampling schemes, in which the window is divided into smaller strata and a uniform sample is maintained per stratum. For uniform sampling, we prove that it is impossible to guarantee a minimum sample size in bounded space. We then introduce a novel sampling scheme called bounded priority sampling (BPS), which requires only bounded space. We derive a lower bound on the expected sample size and show that BPS quickly adapts to changing data rates. For stratified sampling, we propose a merge-based stratification scheme (MBS), which maintains strata of approximately equal size. Compared to naive stratification, MBS has the advantage that the sample is evenly distributed across the window, so that no part of the window is over- or underrepresented. We conclude the paper with a feasibility study of our algorithms on large real-world datasets.

OriginalsprogEngelsk
TitelSIGMOD 2008 : Proceedings of the ACM SIGMOD International Conference on Management of Data 2008
Antal sider13
Publikationsdato2008
Sider379-391
Artikelnummer1376657
ISBN (Trykt)9781605581026
DOI
StatusUdgivet - 2008
Udgivet eksterntJa
Begivenhed2008 ACM SIGMOD International Conference on Management of Data 2008, SIGMOD'08 - Vancouver, BC, Canada
Varighed: 9 jun. 2008 → 12 jun. 2008

Konference

Konference2008 ACM SIGMOD International Conference on Management of Data 2008, SIGMOD'08
Land/OmrådeCanada
ByVancouver, BC
Periode09/06/2008 → 12/06/2008
SponsorACM SIGMOD
NavnProceedings of the ACM SIGMOD International Conference on Management of Data
ISSN0730-8078

Fingeraftryk

Dyk ned i forskningsemnerne om 'Sampling time-based sliding windows in bounded space'. Sammen danner de et unikt fingeraftryk.

Citationsformater