skip to main content
10.1145/253260.253287acmconferencesArticle/Chapter ViewAbstractPublication PagesmodConference Proceedingsconference-collections
Article
Free Access

The STRIP rule system for efficiently maintaining derived data

Published:01 June 1997Publication History

ABSTRACT

Derived data is maintained in a database system to correlate and summarize base data which records real world facts. As base data changes, derived data needs to be recomputed. This is often implemented by writing active rules that are triggered by changes to base data. In a system with rapidly changing base data, a database with a standard rule system may consume most of its resources running rules to recompute data. This paper presents the rule system implemented as part of the STandard Real-time Information Processor (STRIP). The STRIP rule system is an extension of SQL3-type rules that allows groups of rule actions to be batched together to reduce the total recomputation load on the system. In this paper we describe the syntax and semantics of the STRIP rule system, present an example set of rules to maintain stock index and theoretical option prices in a program trading application, and report the results of experiments performed on the running system. The experiments verify that STRIP's rules allow much more efficient derived data maintenance than conventional rules without batching.

References

  1. Ade97.B. Adelberg. STRIP: A Soft real-time database for open systems. PhD thesis, Stanford University, 1997. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. AKGM96a.B. Adelberg, B. Kao, and H. Garcia-Molina. Database support for efficiently maintaining derived data. In Proceedings of EDBT, pages 223-40, 1996. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. AKGM96b.B. Adelberg, B. Kao, and H. Garcia-Molina. Overview of the STanford Real-time Information Processor (STRIP). SIGMOD Record, 25(1):34-7, 1996. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. BBKZ93.H. Branding, A. Buchmann, T. Kudrass, and J. Zimmermann. Rules in an open system: The REACH rule system. In Proceedings of the first international workshop on rules in database systems, pages 111-26, 1993.Google ScholarGoogle Scholar
  5. BS73.F. Black and M. Scholes. The pricing of options and corporate liabilities. Journal of political economy, 81(3):637-54, 1973.Google ScholarGoogle Scholar
  6. CB94.M. Cochinwala and J. Bradley. A multidatabase system for tracking and retrieval of financial data. In Proceedings of VLDB, pages 714-721, 1994. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. CCS94.C. Collet, T. Coupaye, and T. Svensen. Naos - efficient and modular reactive capabilities in an objectoriented database system. In Proceedings of the 20th VLDB Conference, pages 132-43, 1994. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. CJL91.M. Carey, R. Jauhari, and M. Livny. On transaction boundaries in active databases: A performance perspective. IEEE 7kansactions on Knowledge and Data Engineering, 3(3):320-36, 1991. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. CKAK94.S. Chakravarthy, V. Krishnaprasad, E. Anwax, and S.K. Kim. Composite events for active databases. In Proceedings of VLDB, pages 606-17, 1994. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. CW91.S. Ceri and J. Widom. Deriving production rules for incremental rule maintenance. In Proceedings of the 17th VLDB Conference, pages 577-89, 1991. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. DD93.C.J. Date and H. Darwen. The SQL standard. Addison-Wesley, 3.0 edition, 1993.Google ScholarGoogle Scholar
  12. DHL90.U. Dayal, M. Hsu, and R. Ledin. Organizing longrunning activities with triggers and transactions. In Proceedings of the A CM SIGMOD Annual Conference on Management of Data, pages 204-14, 1990. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. GJS92.N.H. Gehani, H.V. Jagadish, and O. Shmueli. Composite event specification in active databases: Model & implementation. In Proceedings of the 18th VLDB Conference, pages 327-38, 1992. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. GMS92.H. Garcia-Molina and K. Salem. Main memory database systems: an overview. IEEE Transactions on Knowledge and Data Engineering, 4(6):509-16, 1992. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. HSTR90.J. Huang, J. Stankovic, D. Towsley, and K. Ramamritham. Real-time transaction processing: design, implementation and performance evaluation. Technical Report COINS 90-43, Univ. of Massachusetts, 1990.Google ScholarGoogle Scholar
  16. Leh86.T. Lehman. Design and performance evaluation of a main memory relational database system. PhD thesis, University of Wisconsin-Madison, 1986. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. New94.New York Stock Exchange, Inc. The TA Q database, 3.0 edition, June 1994.Google ScholarGoogle Scholar
  18. PTV90.P. Pucheral, J. Th~venin, and P. Valduriez. Efficient main memory data management using the D BGraph storage model. In Proceedings of the 16th VLDB Conference, pages 683-95, 1990. Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. Ram93.K. Ramamritham. Real-time databases. Distributed and Parallel Databases, 1(2):199-226, 1993. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. Rou82.N. Roussopoulos. View indexing in relational databases. A CM Transactions on Database Systems, 7(2):258-90, 1982. Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. WC96.J. Widom and S. Ceri. Active database systems. Morgan Kaufmann, 1.0 edition, 1996.Google ScholarGoogle Scholar

Index Terms

  1. The STRIP rule system for efficiently maintaining derived data

            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 '97: Proceedings of the 1997 ACM SIGMOD international conference on Management of data
              June 1997
              594 pages
              ISBN:0897919114
              DOI:10.1145/253260

              Copyright © 1997 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: 1 June 1997

              Permissions

              Request permissions about this article.

              Request Permissions

              Check for updates

              Qualifiers

              • Article

              Acceptance Rates

              SIGMOD '97 Paper Acceptance Rate42of202submissions,21%Overall Acceptance Rate785of4,003submissions,20%

            PDF Format

            View or Download as a PDF file.

            PDF

            eReader

            View online with eReader.

            eReader