Conclusions
Time-critical scheduling in real-time database systems has two components: real-time scheduling and concurrency control. While both concurrency control and real-time scheduling are well-developed and well-understood, there is only limited knowledge about the integration of concurrency control and real-time scheduling. Though recently the problem has been studied actively, the proposed solutions are still at an initial stage. A major source of problems in integrating the two is the lack of coordination in the development. They are developed on different objectives and incompatible assumptions (Buchmann 1989).
Most of the proposed work for real-time concurrency control employ a simple method to utilize one concurrency control scheme such as 2PL, TO and OCC, and to consider the priority of operations inherited from the timing constraints of transactions in operation scheduling. This method has an inherent disadvantage of being limited by the concurrency control method used as the base. Since neither of pessimistic nor optimistic concurrency control is satisfactory by itself for real-time scheduling, this simple method using only one control can hardly satisfy the timing requirements of RTDBS. Problems such as excessive blocking, wasted restarts, and priority inversion are serious in RTDBS.
In this paper, we proposed two real-time transaction scheduling protocols which employ a hybrid approach, i.e., a combination of both pessimistic and optimistic approaches. These protocols make use of a new conflict resolution scheme called dynamic adjustment of serialization order, which supports priority-driven scheduling, and avoids unnecessary aborts.
Similar content being viewed by others
References
Bayer, R., Elhardt, K., Heigert, J. and Reiser, A. 1982. Dynamic timestamp allocation for transactions in database systems, Proc. 2nd Int. Symp. Distributed Data Bases, September, pp 9–20.
Bernstein, P.A., Hadzilacos, V. and Goodman, N. 1987. Concurrency Control and Recovery in Database Systems, Reading, Mass, Addison-Wesley.
Boksenbaum, C., Cart, M., Ferrie, J. and Pons, J. 1987. Concurrent certifications by intervals of timestamps in distributed database systems, IEEE Transactions on Software Engineering, SE-13, (4), April pp. 409–419.
Buchmann, A. et al., 1989. Time-critical database scheduling: a framework for integrating real-time scheduling and concurrency control, Fifth Data Engineering Conference, February 1989.
Haritsa, J.R., Carey, M.J. and Livny, M. 1990. Dynamic real-time optimistic concurrency control, IEEE Real-Time Systems Symposium, Orlando, Florida, December pp. 94–103.
Huang, J., Stankovic, J.A., Ramamritham, K. and Towsley, D. 1991. Experimental evaluation of real-time optimistic concurrency control schemes, VLDB Conference, Barcelona, Spain, September.
Son, S.H., Lee, J. and Lin. Y. 1992. Hybrid protocols using dynamic adjustment of serialization order, Technical Report TR-92-07, Department of Computer Science, University of Virginia, March.
Author information
Authors and Affiliations
Additional information
This work was supported in part by ONR, by NRaD, by DOE, and by IBM.
Rights and permissions
About this article
Cite this article
Son, S.H., Lee, J. & Lin, Y. Hybrid protocols using dynamic adjustment of serialization order for real-time concurrency control. The Journal of Real-Time Systems 4, 269–276 (1992). https://doi.org/10.1007/BF00365314
Issue Date:
DOI: https://doi.org/10.1007/BF00365314