Evaluating Max And Min Over Sliding Windows With Various Size Using The Exemplary Sketch

Jiakui Zhao,Dongqing Yang,Bin Cui,Lijun Chen,Jun Gao
DOI: https://doi.org/10.1007/978-3-540-71703-4_55
2007-01-01
Abstract:MAX. and MIN are two important aggregates offered by the original SQL specification. In the paper, we propose a novel mechanism, i.e. the exemplary sketch, to evaluate MAX and MIN over sliding windows with various size in the data stream environment. Performance analysis shows that evaluating MAX or MIN over w sliding windows with various size using the exemplary sketch takes O(ln n) expected amortized space and O(w) expected amortized evaluation time, where n is the number of the tuples fall into the maximal size sliding window. Moreover, the sliding-window semantics can also be integrated into the exemplary sketch, which means that we no longer need to buffer all the tuples fall into current sliding windows separately for implementing the sliding-window semantics all alone. Experimental results show that the sketch scheme yields very good performance on both space and time cost.
What problem does this paper attempt to address?