HybMig: A hybrid approach to dynamic plan migration for continuous queries

Yang Yin*, Jürgen Krämer, Dimitris Papadias, Bernhard Seeger

*Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

23 Citations (Scopus)

Abstract

In data stream environments, the initial plan of a long-running query may gradually become inefficient due to changes of the data characteristics. In this case, the query optimizer will generate a more efficient plan based on the current statistics. The online transition from the old to the new plan is called dynamic plan migration. In addition to correctness, an effective technique for dynamic plan migration should achieve the following objectives: 1) minimize the memory and CPU overhead of the migration, 2) reduce the duration of the transition, and 3) maintain a steady output rate. The only known solutions for this problem are the moving states (MS) and parallel track (PT) strategies, which have some serious shortcomings related to the above objectives. Motivated by these shortcomings, we first propose HybMig, which combines the merits of MS and PT and outperforms both in every aspect. As a second step, we extend PT, MS, and HybMig to the general problem of migration, where both the new and the old plans are treated as black boxes.

Original languageEnglish
Pages (from-to)398-411
Number of pages14
JournalIEEE Transactions on Knowledge and Data Engineering
Volume19
Issue number3
DOIs
Publication statusPublished - Mar 2007
Externally publishedYes

Keywords

  • Query processing

Fingerprint

Dive into the research topics of 'HybMig: A hybrid approach to dynamic plan migration for continuous queries'. Together they form a unique fingerprint.

Cite this