Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/1516360.1516376acmotherconferencesArticle/Chapter ViewAbstractPublication PagesedbtConference Proceedingsconference-collections
research-article
Free access

Rule-based multi-query optimization

Published: 24 March 2009 Publication History

Abstract

Data stream management systems usually have to process many long-running queries that are active at the same time. Multiple queries can be evaluated more efficiently together than independently, because it is often possible to share state and computation. Motivated by this observation, various Multi-Query Optimization (MQO) techniques have been proposed. However, these approaches suffer from two limitations. First, they focus on very specialized workloads. Second, integrating MQO techniques for CQL-style stream engines and those for event pattern detection engines is even harder, as the processing models of these two types of stream engines are radically different.
In this paper, we propose a rule-based MQO framework. This framework incorporates a set of new abstractions, extending their counterparts, physical operators, transformation rules, and streams, in a traditional RDBMS or stream processing system. Within this framework, we can integrate new and existing MQO techniques through the use of transformation rules. This allows us to build an expressive and scalable stream system. Just as relational optimizers are crucial for the success of RDBMSes, a powerful multi-query optimizer is needed for data stream processing. This work lays the foundation for such a multi-query optimizer, creating opportunities for future research. We experimentally demonstrate the efficacy of our approach.

References

[1]
J. Agrawal, Y. Diao, D. Gyllstrom, and N. Immerman. Efficient pattern matching over event streams. In Proc. SIGMOD, pages 147--160, 2008.
[2]
A. Arasu, S. Babu, and J. Widom. The CQL continuous query language: Semantic foundations and query execution. Technical report, Stanford University, 2003.
[3]
D. Carney, U. Çetintemel, M. Cherniack, C. Convey, S. Lee, G. Seidman, M. Stonebraker, N. Tatbul, and S. Zdonik. Monitoring streams --- a new class of data management applications. In Proc. VLDB, 2002.
[4]
S. Chakravarthy, V. Krishnaprasad, E. Anwar, and S.-K. Kim. Composite events for active databases: Semantics, contexts and detection. In Proc. VLDB, pages 606--617, 1994.
[5]
S. Chandrasekaran, O. Cooper, A. Deshpande, M. J. Franklin, J. M. Hellerstein, W. Hong, S. Krishnamurthy, S. R. Madden, V. Raman, F. Reiss, and M. A. Shah. TelegraphCQ: Continuous dataflow processing for an uncertain world. In Proc. CIDR, 2003.
[6]
J. Chen, D. J. DeWitt, F. Tian, and Y. Wang. NiagaraCQ: A scalable continuous query system for internet databases. In Proc. SIGMOD, pages 379--390, 2000.
[7]
A. Demers, J. Gehrke, M. Hong, M. Riedewald, and W. White. Towards expressive publish/subscribe systems. In Proc. EDBT, 2006.
[8]
A. Demers, J. Gehrke, B. Panda, M. Riedewald, V. Sharma, and W. White. Cayuga: A general purpose event monitoring system. In Proc. CIDR, 2007.
[9]
M. T. Edmead and P. Hinsberg. Windows NT Performance Monitoring, Benchmarking and Tuning. Pearson Education, 1998.
[10]
F. Fabret, H.-A. Jacobsen, F. Llirbat, J. Pereira, K. A. Ross, and D. Shasha. Filtering algorithms and implementation for very fast publish/subscribe. In Proc. SIGMOD, pages 115--126, 2001.
[11]
N. H. Gehani, H. V. Jagadish, and O. Shmueli. Composite event specification in active databases: Model and implementation. In Proc. VLDB, pages 327--338, 1992.
[12]
M. A. Hammad, M. J. Franklin, W. G. Aref, and A. K. Elmagarmid. Scheduling for shared window joins over data streams. In Proc. VLDB, pages 297--308, 2003.
[13]
Q. Jiang, R. Adaikkalavan, and S. Chakravarthy. Towards an integrated model for event and stream processing. Technical Report CSE-2004-10, University of Texas at Arlington, 2004. http://www.cse.uta.edu/research/publications/.
[14]
S. Krishnamurthy, M. J. Franklin, J. M. Hellerstein, and G. Jacobson. The case for precision sharing. In Proc. VLDB, pages 972--986, 2004.
[15]
S. Krishnamurthy, C. Wu, and M. Franklin. On-the-fly sharing for streamed aggregation. In Proc. SIGMOD, 2006.
[16]
S. R. Madden, M. A. Shah, J. M. Hellerstein, and V. Raman. Continuously adaptive continuous queries over streams. In Proc. SIGMOD, 2002.
[17]
H. Pirahesh, J. M. Hellerstein, and W. Hasan. Extensible/rule based query rewrite optimization in starburst. In Proc. SIGMOD, pages 39--48, 1992.
[18]
P. G. Selinger, M. M. Astrahan, D. D. Chamberlin, R. A. Lorie, and T. G. Price. Access path selection in a relational database management system. In Philip A. Bernstein, editor, Proc. SIGMOD, pages 23--34, 1979.
[19]
T. K. Sellis. Multiple-query optimization. ACM TODS, 13(1):23--52, 1988.
[20]
D. Shasha. Database Tuning: A Principled Approach. Prentice Hall, 1992.
[21]
E. Wu, Y. Diao, and S. Rizvi. High-performance complex event processing over streams. In Proc. SIGMOD, 2006.
[22]
R. Zhang, N. Koudas, B. C. Ooi, and D. Srivastava. Multiple aggregations over data streams. In Proc. SIGMOD, 2005.

Cited By

View all
  • (2024)Optimizing Disjunctive Queries with Tagged ExecutionProceedings of the ACM on Management of Data10.1145/36549612:3(1-25)Online publication date: 30-May-2024
  • (2023)Lightweight Materialization for Fast Dashboards Over JoinsProceedings of the ACM on Management of Data10.1145/36267351:4(1-27)Online publication date: 12-Dec-2023
  • (2023)Query Tuning in Semantic Inference Fuzzy Logic Algorithm for Real-Time Recommendations2023 International Conference on Networking, Electrical Engineering, Computer Science, and Technology (IConNECT)10.1109/IConNECT56593.2023.10327337(42-47)Online publication date: 25-Aug-2023
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Other conferences
EDBT '09: Proceedings of the 12th International Conference on Extending Database Technology: Advances in Database Technology
March 2009
1180 pages
ISBN:9781605584225
DOI:10.1145/1516360
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 24 March 2009

Permissions

Request permissions for this article.

Check for updates

Qualifiers

  • Research-article

Funding Sources

Conference

EDBT/ICDT '09
EDBT/ICDT '09: EDBT/ICDT '09 joint conference
March 24 - 26, 2009
Saint Petersburg, Russia

Acceptance Rates

Overall Acceptance Rate 7 of 10 submissions, 70%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)116
  • Downloads (Last 6 weeks)13
Reflects downloads up to 12 Feb 2025

Other Metrics

Citations

Cited By

View all
  • (2024)Optimizing Disjunctive Queries with Tagged ExecutionProceedings of the ACM on Management of Data10.1145/36549612:3(1-25)Online publication date: 30-May-2024
  • (2023)Lightweight Materialization for Fast Dashboards Over JoinsProceedings of the ACM on Management of Data10.1145/36267351:4(1-27)Online publication date: 12-Dec-2023
  • (2023)Query Tuning in Semantic Inference Fuzzy Logic Algorithm for Real-Time Recommendations2023 International Conference on Networking, Electrical Engineering, Computer Science, and Technology (IConNECT)10.1109/IConNECT56593.2023.10327337(42-47)Online publication date: 25-Aug-2023
  • (2022)Gloria: Graph-based Sharing Optimizer for Event Trend AggregationProceedings of the 2022 International Conference on Management of Data10.1145/3514221.3526145(1122-1135)Online publication date: 10-Jun-2022
  • (2021)To Share, or not to Share Online Event Trend Aggregation Over Bursty Event StreamsProceedings of the 2021 International Conference on Management of Data10.1145/3448016.3452785(1452-1464)Online publication date: 9-Jun-2021
  • (2021)Optimizing One-time and Continuous Subgraph Queries using Worst-case Optimal JoinsACM Transactions on Database Systems10.1145/344698046:2(1-45)Online publication date: 29-May-2021
  • (2021)A Structured Review of Data Management Technology for Interactive Visualization and AnalysisIEEE Transactions on Visualization and Computer Graphics10.1109/TVCG.2020.302889127:2(1128-1138)Online publication date: Feb-2021
  • (2020)Shared Execution Techniques for Business Data Analytics over Big Data StreamsProceedings of the 32nd International Conference on Scientific and Statistical Database Management10.1145/3400903.3400932(1-4)Online publication date: 7-Jul-2020
  • (2019)LEADProceedings of the 13th ACM International Conference on Distributed and Event-based Systems10.1145/3328905.3329501(91-102)Online publication date: 24-Jun-2019
  • (2019)AStreamProceedings of the 2019 International Conference on Management of Data10.1145/3299869.3319884(607-622)Online publication date: 25-Jun-2019
  • Show More Cited By

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Login options

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media