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.
- Ade97.B. Adelberg. STRIP: A Soft real-time database for open systems. PhD thesis, Stanford University, 1997. Google ScholarDigital Library
- 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 ScholarDigital Library
- 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 ScholarDigital Library
- 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 Scholar
- BS73.F. Black and M. Scholes. The pricing of options and corporate liabilities. Journal of political economy, 81(3):637-54, 1973.Google Scholar
- 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 ScholarDigital Library
- 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 ScholarDigital Library
- 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 ScholarDigital Library
- 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 ScholarDigital Library
- 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 ScholarDigital Library
- DD93.C.J. Date and H. Darwen. The SQL standard. Addison-Wesley, 3.0 edition, 1993.Google Scholar
- 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 ScholarDigital Library
- 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 ScholarDigital Library
- 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 ScholarDigital Library
- 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 Scholar
- Leh86.T. Lehman. Design and performance evaluation of a main memory relational database system. PhD thesis, University of Wisconsin-Madison, 1986. Google ScholarDigital Library
- New94.New York Stock Exchange, Inc. The TA Q database, 3.0 edition, June 1994.Google Scholar
- 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 ScholarDigital Library
- Ram93.K. Ramamritham. Real-time databases. Distributed and Parallel Databases, 1(2):199-226, 1993. Google ScholarDigital Library
- Rou82.N. Roussopoulos. View indexing in relational databases. A CM Transactions on Database Systems, 7(2):258-90, 1982. Google ScholarDigital Library
- WC96.J. Widom and S. Ceri. Active database systems. Morgan Kaufmann, 1.0 edition, 1996.Google Scholar
Index Terms
- The STRIP rule system for efficiently maintaining derived data
Recommendations
The STRIP rule system for efficiently maintaining derived data
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 ...
Probabilistic rule induction with the LERS data mining system
Based on classical rough set approximations, the LERS (Learning from Examples based on Rough Sets) data mining system induces two types of rules, namely, certain rules from lower approximations and possible rules from upper approximations. By relaxing ...
Effect of rule weights in fuzzy rule-based classification systems
This paper examines the effect of rule weights in fuzzy rule-based classification systems. Each fuzzy IF-THEN rule in our classification system has antecedent linguistic values and a single consequent class. We use a fuzzy reasoning method based on a ...
Comments