|
ABSTRACT
Dynamic plan migration is concerned with the on-the-fly transition from one continuous query plan to a semantically equivalent yet more efficient plan. Migration is important for stream monitoring systems where long-running queries may have to withstand fluctuations in stream workloads and data characteristics. Existing migration methods generally adopt a pause-drain-resume strategy that pauses the processing of new data, purges all old data in the existing plan, until finally the new plan can be plugged into the system. However, these existing strategies do not address the problem of migrating query plans that contain stateful operators, such as joins. We now develop solutions for online plan migration for continuous stateful plans. In particular, in this paper, we propose two alternative strategies, called the moving state strategy and the parallel track strategy, one exploiting reusability and the second employs parallelism to seamlessly migrate between continuous join plans without affecting the results of the query. We develop cost models for both migration strategies to analytically compare them. We embed these migration strategies into the CAPE [7], a prototype system of a stream query engine, and conduct a comparative experimental study to evaluate these two strategies for window-based join plans. Our experimental results illustrate that the two strategies can vary significantly in terms of output rates and intermediate storage spaces given distinct system configurations and stream workloads.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
|
 |
2
|
Brian Babcock , Shivnath Babu , Mayur Datar , Rajeev Motwani , Jennifer Widom, Models and issues in data stream systems, Proceedings of the twenty-first ACM SIGMOD-SIGACT-SIGART symposium on Principles of database systems, June 03-05, 2002, Madison, Wisconsin
[doi> 10.1145/543613.543615]
|
| |
3
|
D. Carney, U. Cetintemel, M. Cherniack, and et al. Monitoring streams - a new class of data management applications. In Proceedings of VLDB Conference, pages 215--226, 2002.
|
| |
4
|
S. Chandrasekaran and M. J. Franklin. Streaming queries over streaming data. In Proceedings of VLDB Conference, pages 203--214, 2002.
|
| |
5
|
|
 |
6
|
|
| |
7
|
DatabaSe Research Group(DSRG), Worcester Polytechnic Institute. Cape: Continuous adaptive processing engine, http://davis.wpi.edu/dsrg/CAPE.
|
| |
8
|
L. Ding, N. Mehta, E. A. Rundensteiner, and G. T. Heineman. Joining punctuated streams. In EDBT Conference, pages 587--604, March 2004.
|
 |
9
|
|
| |
10
|
M. A. Hammad, M. J. Franklin, W. G. Aref, and A. K. Elmagarmid. Scheduling for shared window joins over data streams. In Proceedings of VLDB Conference, pages 297--308, 2003.
|
 |
11
|
|
| |
12
|
|
| |
13
|
|
 |
14
|
|
| |
15
|
J. Kang, J. F. Naughton, and S. D. Viglas. Evaluating window joins over unbounded streams. In Proceedings of ICDE Conference, pages 341--352, 2003.
|
 |
16
|
|
| |
17
|
|
| |
18
|
|
| |
19
|
R. Notwani, J. Widom, A. Arasu, and et al. Query processing, approximation, and resource management in a data stream management system. In Proceedings of CIDR Conference, pages 1--16, January 2002.
|
| |
20
|
|
 |
21
|
|
| |
22
|
|
CITED BY 14
|
|
|
|
|
|
|
|
Bin Liu , Yali Zhu , Mariana Jbantova , Bradley Momberger , Elke A. Rundensteiner, A dynamically adaptive distributed system for processing complex continuous queries, Proceedings of the 31st international conference on Very large data bases, August 30-September 02, 2005, Trondheim, Norway
|
|
|
|
|
|
Ihab F. Ilyas , Walid G. Aref , Ahmed K. Elmagarmid , Hicham G. Elmongui , Rahul Shah , Jeffrey Scott Vitter, Adaptive rank-aware query optimization in relational databases, ACM Transactions on Database Systems (TODS), v.31 n.4, p.1257-1304, December 2006
|
|
|
Elke A. Rundensteiner , Luping Ding , Timothy Sutherland , Yali Zhu , Brad Pielech , Nishant Mehta, CAPE: continuous query engine with heterogeneous-grained adaptivity, Proceedings of the Thirtieth international conference on Very large data bases, p.1353-1356, August 31-September 03, 2004, Toronto, Canada
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Anastasios Gounaris , Jim Smith , Norman W. Paton , Rizos Sakellariou , Alvaro A. Fernandes , Paul Watson, Adaptive workload allocation in query processing in autonomous heterogeneous environments, Distributed and Parallel Databases, v.25 n.3, p.125-164, June 2009
|
|
|
|
|