skip to main content
10.1145/564691.564698acmconferencesArticle/Chapter ViewAbstractPublication PagesmodConference Proceedingsconference-collections
Article

Continuously adaptive continuous queries over streams

Published:03 June 2002Publication History

ABSTRACT

We present a continuously adaptive, continuous query (CACQ) implementation based on the eddy query processing framework. We show that our design provides significant performance benefits over existing approaches to evaluating continuous queries, not only because of its adaptivity, but also because of the aggressive cross-query sharing of work and space that it enables. By breaking the abstraction of shared relational algebra expressions, our Telegraph CACQ implementation is able to share physical operators --- both selections and join state --- at a very fine grain. We augment these features with a grouped-filter index to simultaneously evaluate multiple selection predicates. We include measurements of the performance of our core system, along with a comparison to existing continuous query approaches.

References

  1. R. Avnur and J. M. Hellerstein. Eddies: Continuously adaptive query processing. In ACM SIGMOD, Dallas, TX, May 2000.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. J. Chen, D. DeWitt, and J. Naughton. Design and evaluation of alternative selection placement strategies in optimizing continuous queries. In ICDE, San Jose, CA, February 2002.]]Google ScholarGoogle Scholar
  3. J. Chen, D. DeWitt, F. Tian, and Y. Wang. NiagaraCQ: A scalable continuous query system for internet databases. In ACM SIGMOD, 2000.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. D. DeWitt, J. Naughton, and D. Schneider. An evaluation of non-equijoin algorithms. In VLDB, Barcelona, Spain, 1991.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. C. Forgy. Rete: A fast algorithm for the many patterns/many objects match problem. Artificial Intelligence, 19(1):17-37, 1982.]]Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. E. Hanson, N. A. Fayoumi, C. Carnes, M. Kandil, H. Liu, M. Lu, J. Park, and A. Vernon. TriggerMan: An Asynchronous Trigger Processor as an Extension to an Object-Relational DBMS. Technical Report 97-024, University of Florida, December 1997.]]Google ScholarGoogle Scholar
  7. W. Heinzelman, J. Kulik, and H. Balakrishnan. Adaptive protocols for information dissemination in wireless sensor networks. In MOBICOM, Seattle, WA, August 1999.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. J. M. Hellerstein, M. J. Franklin, S. Chandrasekaran, A. Deshpande, K. Hildrum, S. Madden, V. Raman, and M. Shah. Adaptive query processing: Technology in evolution. IEEE Data Engineering Bulletin, 23(2):7-18, 2000.]]Google ScholarGoogle Scholar
  9. J. Hill, R. Szewczyk, A. Woo, S. Hollar, and D. C. K. Pister. System architecture directions for networked sensors. In ASPLOS, November 2000.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. Z. G. Ives, D. Florescu, M. Friedman, A. Levy, and D. S. Weld. An adaptive query execution system for data integration. In Proceedings of the ACM SIGMOD, 1999.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. J. M. Kahn, R. H. Katz, and K. S. J. Pister. Mobile networking for smart dust. In MOBICOM, Seattle, WA, August 1999.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. N. Lanham. The telegraph screen scraper, 2000. http://db.cs.berkeley.edu/ nickl/tess.]]Google ScholarGoogle Scholar
  13. L. Liu, C. Pu, and W. Tang. Continual queries for internet-scale event-driven information delivery. IEEE Knowledge and Data Engineering, 1999. Special Issue on Web Technology.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. S. Madden and M. Franklin. Fjording the stream: An architecture for queries over streaming sensor data. San Jose, CA, February 2002. ICDE.]]Google ScholarGoogle ScholarCross RefCross Ref
  15. D. P. Miranker. Treat: A better match algorithm for ai production system matching. In Proceedings of AAAI, pages 42-47, 1987.]]Google ScholarGoogle Scholar
  16. H. Mistry, P. Roy, S. Sudarshan, and K. Ramamritham. Materialized view selection and maintenance using multi-query optimization. In ACM SIGMOD, 2001.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. P. Bonnet, J. Gehrke, and P. Seshadri. Towards sensor database systems. In 2nd International Conference on Mobile Data Management, Hong Kong, January 2001.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. V. Raman. Interactive Query Processing. PhD thesis, UC Berkeley, 2001.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. P. Roy, S. Seshadri, S. Sudarshan, and S. Bhobe. Efficient and extensible algorithms for multi query optimization. In ACM SIGMOD, pages 249-260, 2000.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. P. Selinger, M. Astrahan, D. Chamberlin, R. Lorie, and T. Price. Access path selection in a relational database management system. pages 23-34, Boston, MA, 1979.]]Google ScholarGoogle Scholar
  21. T. Sellis. Multiple query optimization. ACM Transactions on Database Systems, 1986.]]Google ScholarGoogle Scholar
  22. P. Seshadri, M. Livny, and R. Ramakrishnan. The design and implementation of a sequence database systems. In VLDB, Mumbai, India, September 1996.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. M. Shah, S. Madden, M. Franklin, and J. M. Hellerstein. Java support for data intensive systems. SIGMOD Record, December 2001.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  24. M. Sullivan and A. Heybey. Tribeca: A system for managing large databases of network traffic. In Proceedings of the USENIX Annual Technical Conference, New Orleans, LA, June 1998.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  25. D. Terry, D. Goldberg, D. Nichols, and B. Oki. Continuous queies over append-only databases. In ACM SIGMOD, pages 321-330, 1992.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  26. T. Urhan and M. Franklin. XJoin: A reactively-scheduled pipelined join operator. IEEE Data Engineering Bulletin, pages 27-33, 2000 2000.]]Google ScholarGoogle Scholar
  27. T. Urhan, M. J. Franklin, and L. Amsaleg. Cost-based query scrambling for initial delays. In ACM SIGMOD, 1998.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  28. A. Wilschut and P. Apers. Dataflow query execution in a parallel main-memory environment. In PDIS, pages 68-77, December 1991.]] Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Continuously adaptive continuous queries over streams

                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
                  SIGMOD '02: Proceedings of the 2002 ACM SIGMOD international conference on Management of data
                  June 2002
                  654 pages
                  ISBN:1581134975
                  DOI:10.1145/564691

                  Copyright © 2002 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: 3 June 2002

                  Permissions

                  Request permissions about this article.

                  Request Permissions

                  Check for updates

                  Qualifiers

                  • Article

                  Acceptance Rates

                  SIGMOD '02 Paper Acceptance Rate42of240submissions,18%Overall Acceptance Rate785of4,003submissions,20%

                PDF Format

                View or Download as a PDF file.

                PDF

                eReader

                View online with eReader.

                eReader