Predictability and consistency in real-time transaction processing

A real-time database system (RTDBS) can be de ned as a database system where transactions are associated with real-time constraints typically in the form of deadlines. The system must process transactions so as to both meet the deadlines and maintain the data consistency. Previous research e ort in this eld has been focused on scheduling transactions with soft or rm deadlines under the conventional transaction model and database system architecture which cannot support predictable real-time transaction processing. In this thesis, we provide a framework to realize predictable real-time transaction processing, satisfying both timing and consistency constraints of a real-time database system. First, we classify data objects and transactions found in typical real-time database applications, considering their distinct characteristics and requirements. Each type of real-time data objects has its own correctness criteria, di erent from the conventional one. Real-time transactions are categorized, according to their timing constraints, arrival patterns, data access patterns, availability of data and run-time requirements, and accessed data type. Our model is a superset of conventional models; it includes both hard and soft real-time transactions, and supports the temporal consistency as well as the logical consistency of the database. Second, we develop an integrated transaction processing scheme that extends a xedpriority-based task scheduling framework for mixed task sets into a transaction processing environment, combining it with best-e ort real-time transaction scheduling algorithms. This scheme provides predictability for a RTDBS in the sense that under our transaction processing scheme it is guaranteed that every application in the system will achieve its own performance goals. Along with the transaction processing scheme, a temporal consistency enforcement scheme called Static Temporal Consistency Enforcement (STCE) is introduced.

[1]  John A. Stankovic,et al.  Real-time computing systems: the next generation , 1988 .

[2]  Miron Livny,et al.  Dynamic real-time optimistic concurrency control , 1990, [1990] Proceedings 11th Real-Time Systems Symposium.

[3]  Lui Sha,et al.  Concurrency control for distributed real-time databases , 1988, SGMD.

[4]  Sang Hyuk Son An Adaptive Checkpointing Scheme for Distributed Databases with Mixed Types of Transactions , 1989, IEEE Trans. Knowl. Data Eng..

[5]  Xiaohui Song,et al.  Performance of multiversion concurrency control algorithms in maintaining temporal consistency , 1990, Proceedings., Fourteenth Annual International Computer Software and Applications Conference.

[6]  Hector Garcia-Molina,et al.  System M: A Transaction Processing Testbed for Memory Resident Data , 1990, IEEE Trans. Knowl. Data Eng..

[7]  A. Burns,et al.  Scheduling hard real-time systems: a review , 1991, Softw. Eng. J..

[8]  Michael J. Carey,et al.  A recovery algorithm for a high-performance memory-resident database system , 1987, SIGMOD '87.

[9]  John A. Stankovic,et al.  On real-time transactions , 1988, SGMD.

[10]  Jayant R. Haritsa,et al.  Transaction scheduling in firm real-time database systems , 1992 .

[11]  Jay K. Strosnider,et al.  Engineering and Analysis of Fixed Priority Schedulers , 1993, IEEE Trans. Software Eng..

[12]  A. Burns,et al.  Implementing analysable hard real-time sporadic tasks in Ada 9X , 1994, ALET.

[13]  Hideyuki Tokuda,et al.  Evaluation of Real-Time Synchronization in Real-Time Mach , 1991, USENIX MACH Symposium.

[14]  Miron Livny,et al.  Earliest deadline scheduling for real-time database systems , 1991, [1991] Proceedings Twelfth Real-Time Systems Symposium.

[15]  Michael Stonebraker,et al.  Virtual memory transaction management , 1984, OPSR.

[16]  Hideyuki Tokuda,et al.  RT-IPC: An IPC Extension for Real-Time Mach , 1993, USENIX Microkernels and Other Kernel Architectures Symposium.

[17]  Michael J. Carey,et al.  A Study of Index Structures for a Main Memory Database Management System , 1986, HPTS.

[18]  P. Dasgupta,et al.  Clouds: A support architecture for fault tolerant, distributed systems , 1986 .

[19]  Hideyuki Tokuda,et al.  Real-Time Mach: Towards a Predictable Real-Time System , 1990, USENIX MACH Symposium.

[20]  Margaret H. Dunham,et al.  MARS: The Design of a Main Memory Database Machine , 1987, IWDM.

[21]  Roger L. Haskin,et al.  Recovery management in QuickSilver , 1988, TOCS.

[22]  Alan Burns,et al.  Hard Real-Time Scheduling: The Deadline-Monotonic Approach , 1991 .

[23]  Alan Burns,et al.  Absolute and relative temporal constraints in hard real-time databases , 1992, Fourth Euromicro workshop on Real-Time Systems.

[24]  Michael Stonebraker,et al.  Problems in supporting data base transactions in an operating system transaction manager , 1985, OPSR.

[25]  Alan Burns,et al.  Applying new scheduling theory to static priority pre-emptive scheduling , 1993, Softw. Eng. J..

[26]  Vijay Kumar,et al.  Performance measurement of some main memory database recovery algorithms , 1991, [1991] Proceedings. Seventh International Conference on Data Engineering.

[27]  Lui Sha,et al.  Exploiting unused periodic time for aperiodic service using the extended priority exchange algorithm , 1988, Proceedings. Real-Time Systems Symposium.

[28]  Donald F. Towsley,et al.  Experimental evaluation of real-time transaction processing , 1989, [1989] Proceedings. Real-Time Systems Symposium.

[29]  L TraigerIrving Virtual memory management for database systems , 1982 .

[30]  Young-Kuk Kim,et al.  Managing contention and timing constraints in a real-time database system , 1995, Proceedings 16th IEEE Real-Time Systems Symposium.

[31]  John P. Lehoczky,et al.  An optimal algorithm for scheduling soft-aperiodic tasks in fixed-priority preemptive systems , 1992, [1992] Proceedings Real-Time Systems Symposium.

[32]  Alan Burns,et al.  Scheduling slack time in fixed priority pre-emptive systems , 1993, 1993 Proceedings Real-Time Systems Symposium.

[33]  Michael Stonebraker,et al.  Implementation techniques for main memory database systems , 1984, SIGMOD '84.

[34]  Donald F. Towsley,et al.  On using priority inheritance in real-time databases , 1991, [1991] Proceedings Twelfth Real-Time Systems Symposium.

[35]  Yi Lin,et al.  An integrated real-time locking protocol , 1992, [1992] Eighth International Conference on Data Engineering.

[36]  Armando P. Stettner The design and implementation of the 4.3BSD UNIX operating system , 1988 .

[37]  Hector Garcia-Molina,et al.  Scheduling real-time transactions: a performance evaluation , 1988, TODS.

[38]  J. L. Eppinger,et al.  Virtual memory management for transaction processing systems , 1989 .

[39]  Robert I. Davis Approximate Slack Stealing Algorithms for Fixed Priority Pre-emptive Systems , 1993 .

[40]  K.-J. Lin,et al.  Consistency issues in real-time database systems , 1989, [1989] Proceedings of the Twenty-Second Annual Hawaii International Conference on System Sciences. Volume II: Software Track.

[41]  Michael J. Carey,et al.  Query processing in main memory database management systems , 1986, SIGMOD '86.

[42]  Hans Diel,et al.  Data management facilities of an operating system kernel , 1984, SIGMOD '84.

[43]  Lui Sha,et al.  Priority Inheritance Protocols: An Approach to Real-Time Synchronization , 1990, IEEE Trans. Computers.

[44]  Robert B. Hagmann A Crash Recovery Scheme for a Memory-Resident Database System , 1986, IEEE Transactions on Computers.

[45]  Lui Sha,et al.  A Real-Time Locking Protocol , 1991, IEEE Trans. Computers.

[46]  Young-Kuk Kim,et al.  An Approach Towards Predictable Real-Time Transaction Processing , 1993, Fifth Euromicro Workshop on Real-Time Systems.

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

[48]  Jiandong Huang Real-time transaction processing: design, implementation, and performance evaluation , 1991 .

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

[50]  Alan Burns,et al.  Data Consistency in Hard Real-Time Systems , 1995, Informatica.

[51]  L. DiPippo,et al.  Real-Time Databases , 1995 .

[52]  Calton Pu,et al.  Towards Predictable Transaction Executions in Real-Time Database Systems , 1992 .

[53]  Hideyuki Tokuda,et al.  ARTS: a distributed real-time kernel , 1989, OPSR.

[54]  Yi Lin,et al.  Concurrency control in real-time databases by dynamic adjustment of serialization order , 1990, [1990] Proceedings 11th Real-Time Systems Symposium.

[55]  Miron Livny,et al.  On being optimistic about real-time constraints , 1990, PODS '90.

[56]  Donald F. Towsley,et al.  Experimental Evaluation of Real-Time Optimistic Concurrency Control Schemes , 1991, VLDB.

[57]  Sang Hyuk Son,et al.  Using dynamic adjustment of serialization order for real-time database systems , 1993, 1993 Proceedings Real-Time Systems Symposium.

[58]  Umeshwar Dayal,et al.  Time-critical database scheduling: a framework for integrating real-time scheduling and concurrency control , 1989, [1989] Proceedings. Fifth International Conference on Data Engineering.

[59]  Michael J. Fischer,et al.  The architecture of the Eden system , 1981, SOSP.