Computer Sciences Dept.

Aggregate Sharing in Stream Databases

Lidan Wang, Jeffrey Freschl
2005

We consider the problem of handling aggregate computations in a scalable fashion in stream databases. The queries of interest are sliding-window aggregate queries over a single data stream. In the naïve approach for this problem, each query is individually processed one at a time, such that no sharing occurs among aggregates in terms of storage and answer computations. We present two new algorithms, TimeGram and OrderedSharing, both of which are designed with sharing among aggregates in mind. Our performance results show that both drastically improve the current performance of STREAM, a stream database system for which we have implemented and evaluated our two algorithms.

Download this report (PDF)


Return to tech report index

 
Computer Science | UW Home