An analysis of lock-based and optimistic concurrency control protocols in multiprocessor real-time databases

被引:3
作者
Chiu, A
Kao, B [1 ]
Lam, KY
机构
[1] Univ Hong Kong, Dept Comp Sci, Hong Kong, Peoples R China
[2] City Univ Hong Kong, Dept Comp Sci, Hong Kong, Peoples R China
关键词
real-time databases; concurrency control; multiprocessor; transaction scheduling;
D O I
10.1016/S0164-1212(98)10015-8
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Previous studies, e.g., Haritsa et al. (Haritsa, J.R., Livny, M., Carey, M., 1990. Proceedings of Ninth ACM Symposium on Principles of Database systems) have shown that optimistic concurrency control (OCC) generally performs better than lock-based protocols in disk-based real-time database systems (RTDBS). In this paper we compare the two concurrency control protocols in both disk-based and memory-resident multiprocessor RTDBS. Based on simulation, we analyze the intrinsic behaviors of the two protocols. The result of our performance evaluation experiments show that different characteristics of the two environments indeed have great impact on the protocols' performance. We identify such system characteristics and expose the weaknesses of traditional OCC and lock-based protocols. To improve performance, a new protocol, called Two Phase Locking-Lock Write All (2PL-LW), is proposed. We show that 2PL-LW performs better than the traditional protocols in meeting transaction deadlines in both disk-based and memory-resident RTDBS. (C) 1998 Elsevier Science Inc. All rights reserved.
引用
收藏
页码:273 / 286
页数:14
相关论文
共 17 条
  • [1] Abbott R., 1988, Proceedings of the Fourteenth International Conference on Very Large Databases, P1
  • [2] ABBOTT RK, 1990, PROCEEDINGS : 11TH REAL-TIME SYSTEMS SYMPOSIUM, P113, DOI 10.1109/REAL.1990.128736
  • [3] Bernstein P.A., 1987, Concurrency Control and Recovery in Database Systems
  • [4] CAREY M, 1989, P 15 C VER LARG DAT
  • [5] CHIU A, 1996, TR9609 U HONG KONG D
  • [6] *CSIM, 1996, CSIM 18 US GUID
  • [7] HARITSA J, 1990, P 9 ACM S PRINC DAT
  • [8] Haritsa J.R., 1993, VLDB J, V2, P117
  • [9] HARITSA JR, 1991, PROCEEDING : TWELFTH REAL-TIME SYSTEMS SYMPOSIUM, P232, DOI 10.1109/REAL.1991.160378
  • [10] HARITSA JR, 1993, P 13 INT C DISTR COM, P428