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

Predicate result range caching for continuous queries

Published:14 June 2005Publication History

ABSTRACT

Many analysis and monitoring applications require the repeated execution of expensive modeling functions over streams of rapidly changing data. These applications can often be expressed declaratively, but the continuous query processors developed to date are not designed to optimize queries with expensive functions. To speed up such queries, we present CASPER: the CAching System for PrEdicate Result ranges. CASPER computes and caches predicate result ranges, which are ranges of stream input values where the system knows the results of expensive predicate evaluations. Over time, CASPER expands ranges so that they are more likely to contain future stream values. This paper presents the CASPER architecture, as well as algorithms for computing and expanding ranges for a large class of predicates. We demonstrate the effectiveness of CASPER using a prototype implementation and a financial application using real bond market data.

References

  1. H. Abelson, G. J. Sussman, and J. Sussman. Structure and Interpretation of Computer Programs. MIT Press, 1994.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. R. L. Burden and J. D. Faires. Numerical Analysis. Brooks/Cole, 2001.]]Google ScholarGoogle Scholar
  3. S. Chaudhuri and K. Shim. Optimization of queries with user-defined predicates. In VLDB, 1996.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. R. Cheng, D. V. Kalashnikov, and S. Prabhakar. Evaluating probabilistic queries over imprecise data. In SIGMOD, 2003.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. L. Clewlow and C. Strickland. Energy Derivatives: Pricing and Risk Management. Lacima, 2000.]]Google ScholarGoogle Scholar
  6. L. Clewlow and C. Strickland. Implementing Derivatives Models. Wiley, 2000.]]Google ScholarGoogle Scholar
  7. C. Downing, R. Stanton, and N. Wallace. An empirical test of a two-factor mortgage valuation model: Do housing prices matter? Working Paper, UC Berkeley, 2002.]]Google ScholarGoogle Scholar
  8. E. Dyson and E. Dean. Rfid: Logistics meets identity. Release 1.0, Vol. 21, No. 6, 2003.]]Google ScholarGoogle Scholar
  9. R. Carney et al. Monitoring streams - a new class of data management applications. In VLDB, 2002.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. R. Motwani et al. Query processing, approximation, and resource management in a data stream management system. In CIDR, 2003.]]Google ScholarGoogle Scholar
  11. S. Chandrasekaran et. al. Telegraphcq: Continuous dataflow processing for an uncertain world. In CIDR, 2003.]]Google ScholarGoogle Scholar
  12. F. J. Fabozzi. Band Markets, Analysis and Strategies. Prentice Hall, 2000.]]Google ScholarGoogle Scholar
  13. Global financial data. http://www.globalfindata.com/.]]Google ScholarGoogle Scholar
  14. G. Graefe. Query evaluation techniques for large databases. ACM Computing Surveys 25(2), 1993.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. J. M. Hellerstein and J. Naughton. Query execution techniques for caching expensive predicates. In SIGMOD, 1996.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. J. M. Hellerstein and M. Stonebraker. Predicate migration: Optimizing queries with expensive predicates. In SIGMOD, 1993.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. P. Jackel. Monte Carlo Methods in Finance. Wiley, 2002.]]Google ScholarGoogle Scholar
  18. J. E. Dennis Jr. and R. B. Schnabel. Numerical Methods for Unconstrained Optimization and Nonlinear Equations. SIAM, 1996.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. A. Kemper, G. Moerkotte, K. Peithner, and M. Steinbrunn. Optimizing disjunctive queries with expensive predicates. In SIGMOD, 1994.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. D. Maier and J. Stein. Indexing in an object-oriented dbms. In Workshop on Object-Oriented Database Systems, 1996.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. C. Olston, J. Widom, and J. Jiang. Adaptive filters for continuous queries over distributed data streams. In SIGMOD, 2003.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. N. Shivakumar, H. Garcia-Molina, and C. S. Chekuri. Filtering with approximate predicates. In VLDB, 1998.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. R. Stanton. Rational prepayment and the valuation of mortgage-backed securities. In Review of Financial Studies Vol. 8, No. 3, 1995.]]Google ScholarGoogle ScholarCross RefCross Ref
  24. Yahoo! finance. http://finance.yahoo.com/.]]Google ScholarGoogle Scholar
  1. Predicate result range caching for 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
      SIGMOD '05: Proceedings of the 2005 ACM SIGMOD international conference on Management of data
      June 2005
      990 pages
      ISBN:1595930604
      DOI:10.1145/1066157
      • Conference Chair:
      • Fatma Ozcan

      Copyright © 2005 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: 14 June 2005

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • Article

      Acceptance Rates

      Overall Acceptance Rate785of4,003submissions,20%

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader