skip to main content
10.1145/2063576.2063793acmconferencesArticle/Chapter ViewAbstractPublication PagescikmConference Proceedingsconference-collections
research-article

Optimized processing of multiple aggregate continuous queries

Published:24 October 2011Publication History

ABSTRACT

Data Streams Management Systems are designed to support monitoring applications, which require the processing of hundreds of Aggregate Continuous Queries (ACQs). These ACQs typically have different time granularities, with possibly different selection predicates and group-by attributes. In order to achieve scalability in the presence of heavy workloads, in this paper, we introduce the concept of 'Weaveability' as an indicator of the potential gains of sharing the processing of ACQs. We then propose Weave Share, a cost-based optimizer that exploits weaveability to optimize the shared processing of ACQs. Our experimental analysis shows that Weave Share outperforms the alternative sharing schemes generating up to four orders of magnitude better quality plans. Finally, we describe a practical implementation of the Weave Share optimizer.

References

  1. D. J. Abadi et al. Aurora: a new model and architecture for data stream management. VLDBJ, 12(2):120--139, 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. D. J. Abadi et al. The design of the borealis stream processing engine. In CIDR, 2005.Google ScholarGoogle Scholar
  3. A. Arasu et al. STREAM: The stanford stream data manager. In SIGMOD, 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. E. Bach, K. Pruhs. Personal communications, June 2010.Google ScholarGoogle Scholar
  5. M. R. Garey, D. S. Johnson. Computers and Intractability; A Guide to the Theory of NP-Completeness. WH.Freeman & Co., 1990. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. T. M. Ghanem et al. Incremental evaluation of sliding- window queries over data streams. TKDE, 19(1):57--72, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. L. Golab et al. Multi-query optimization of sliding window aggregates by schedule synchronization. In CIKM, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. G. Graefe, W. J. McKenna. The volcano optimizer generator: Extensibility and efficient search. In ICDE, 1993. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. M. A. Hammad et al. Nile: A query processing engine for data streams. In ICDE, 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. R. Huebsch et al. Sharing aggregate computation for distributed queries. In SIGMOD, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. R. Johnson et al. To share or not to share? In VLDB, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. S. Krishnamurthy et al. On-the-fly sharing for streamed aggregation. In SIGMOD, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. J. Li et al. No pane, no gain: efficient evaluation of sliding- window aggregates over data streams. SIGMOD Rec., 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. J. Li et al. Semantics and evaluation techniques for window aggregates in data streams. In SIGMOD, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. S. Madden et al. Continuously adaptive continuous queries over streams. In SIGMOD, 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. H. Mistry et al. Materialized view selection and maintenance using multi-query optimization. In SIGMOD, 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. K. Naidu et al. Memory-constrained aggregate computation over data streams. In ICDE, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. P. Roy et al. Efficient and extensible algorithms for multi query optimization. In SIGMOD, 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. W. Scheufele, G. Moerkotte. On the complexity of generating optimal plans with cross products. In PODS, 1997. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. T. K. Sellis. Multiple-query optimization. TODS, 13(1):23--52, 1988. Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. Streambase, http://www.streambase.com, 2006.Google ScholarGoogle Scholar
  22. System S, http://domino.research.ibm.com/, 2008.Google ScholarGoogle Scholar
  23. S. D. Viglas, J. F. Naughton. Rate-based query optimization for streaming information sources. In SIGMOD, 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  24. S. Wang et al. State-slice: new paradigm of multi-query optimization of window-based stream queries. In VLDB, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  25. R. Zhang et al. Multiple aggregations over data streams. In SIGMOD, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  26. R. Zhang et al. Streaming multiple aggregations using phantoms. VLDBJ, 19(4):557--583, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  27. J. Zhou et al. Efficient exploitation of similar subexpressions for query processing. In SIGMOD, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Optimized processing of multiple aggregate continuous queries

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in
      • Published in

        cover image ACM Conferences
        CIKM '11: Proceedings of the 20th ACM international conference on Information and knowledge management
        October 2011
        2712 pages
        ISBN:9781450307178
        DOI:10.1145/2063576

        Copyright © 2011 ACM

        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 October 2011

        Permissions

        Request permissions about this article.

        Request Permissions

        Check for updates

        Qualifiers

        • research-article

        Acceptance Rates

        Overall Acceptance Rate1,861of8,427submissions,22%

        Upcoming Conference

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader