Mutual Consistency in Real-Time Databases

A real-time database is composed of real-time objects whose values remain valid only within their validity intervals. Each object in the database models a real world entity. The freshness of these objects is maintained by update transactions that sample the real world entities. The literature proposes various ways to derive a schedule of transactions that preserves the freshness (also known as absolute consistency) of these objects. But these approaches do not take care of the mutual consistency of the objects, i.e., whether together they represent a logical state of the system. We investigate the problem of checking whether, given an update transaction schedule, a periodic query would be able to read mutually consistent values. We propose solutions for both single- and multiple-query cases in the presence of non-preemptable query executions. Specifically, we first investigate formulas that give the maximal value of mutual gaps among a set of data read at a certain point in time. (A mutual gap for two object values read from the database refers to the difference between the times at which the two objects were updated.) We then propose design approaches to (1) decide the period and relative deadline of a query so that it would guarantee mutual consistency; (2) decide if a given set of queries with relative deadlines and periods can guarantee mutual consistency. Finally, we suggest ways of reducing the complexity of our proposed approaches for both harmonic periods and general cases

[1]  Joseph Y.-T. Leung,et al.  On the complexity of fixed-priority scheduling of periodic, real-time tasks , 1982, Perform. Evaluation.

[2]  James W. Layland,et al.  Scheduling Algorithms for Multiprogramming in a Hard-Real-Time Environment , 1989, JACM.

[3]  Özgür Ulusoy Current research on real-time databases , 1992, SGMD.

[4]  Tei-Wei Kuo,et al.  SSP: A semantics-based protocol for real-time data access , 1993, 1993 Proceedings Real-Time Systems Symposium.

[5]  Richard Gerber,et al.  Guaranteeing end-to-end timing constraints by calibrating intermediate processes , 1994, 1994 Proceedings Real-Time Systems Symposium.

[6]  Gultekin Özsoyoglu,et al.  Temporal and Real-Time Databases: A Survey , 1995, IEEE Trans. Knowl. Data Eng..

[7]  Jane W.-S. Liu,et al.  Maintaining Temporal Consistency: Pessimistic vs. Optimitic Concurrency Control , 1995, IEEE Trans. Knowl. Data Eng..

[8]  Krithi Ramamritham,et al.  Where Do Time Constraints Come From? Where Do They Go? , 1996 .

[9]  Donald F. Towsley,et al.  Scheduling transactions with temporal constraints: exploiting data semantics , 1996, 17th IEEE Real-Time Systems Symposium.

[10]  Tei-Wei Kuo,et al.  Similarity-based load adjustment for real-time data-intensive applications , 1997, Proceedings Real-Time Systems Symposium.

[11]  Doug Locke,et al.  Real-Time Databases: Real-World Requirements , 1997 .

[12]  Jörgen Hansson,et al.  Misconceptions About Real-Time Databases , 1999, Computer.

[13]  Tei-Wei Kuo,et al.  Real-Time Data Semantics and Similarity-Based Concurrency Control , 2000, IEEE Trans. Computers.

[14]  Prashant J. Shenoy,et al.  Maintaining mutual consistency for cached Web objects , 2001, Proceedings 21st International Conference on Distributed Computing Systems.

[15]  Sang Hyuk Son,et al.  A QoS-sensitive approach for timeliness and freshness guarantees in real-time databases , 2002, Proceedings 14th Euromicro Conference on Real-Time Systems. Euromicro RTS 2002.

[16]  Jörgen Hansson,et al.  Data management in real-time systems: a case of on-demand updates in vehicle control systems , 2004, Proceedings. RTAS 2004. 10th IEEE Real-Time and Embedded Technology and Applications Symposium, 2004..

[17]  Jörgen Hansson,et al.  Dynamic on-demand updating of data in real-time database systems , 2004, SAC '04.

[18]  Krithi Ramamritham,et al.  Deriving deadlines and periods for real-time update transactions , 1999, IEEE Transactions on Computers.

[19]  Aloysius K. Mok,et al.  Scheduling Similarity-Constrained Real-Time Tasks , 2004, ESA/VLSI.

[20]  Krithi Ramamritham Real-time databases , 2005, Distributed and Parallel Databases.

[21]  Song Han,et al.  A deferrable scheduling algorithm for real-time transactions maintaining data freshness , 2005, 26th IEEE International Real-Time Systems Symposium (RTSS'05).

[22]  Song Han,et al.  Deferrable Scheduling for Temporal Consistency: Schedulability Analysis and Overhead Reduction , 2006, 12th IEEE International Conference on Embedded and Real-Time Computing Systems and Applications (RTCSA'06).

[23]  Yang Guo,et al.  Quality of service guarantee for temporal consistency of real-time transactions , 2006, IEEE Transactions on Knowledge and Data Engineering.

[24]  Krithi Ramamritham,et al.  Efficient Real-Time Support for Automotive Applications: A Case Study , 2006, 12th IEEE International Conference on Embedded and Real-Time Computing Systems and Applications (RTCSA'06).