Skip to main navigation Skip to search Skip to main content

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

  • Anthony Chiu
  • , Ben Kao*
  • , Kam-yiu Lam
  • *Corresponding author for this work

Research output: Journal Publications and Reviews › RGC 21 - Publication in refereed journal › peer-review

Abstract

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. © 1998 Elsevier Science Inc. All rights reserved.
Original languageEnglish
Pages (from-to)273-286
JournalJournal of Systems and Software
Volume42
Issue number3
DOIs
Publication statusPublished - Sept 1998

Research Keywords

  • Concurrency control
  • Multiprocessor
  • Real-time databases
  • Transaction scheduling

Fingerprint

Dive into the research topics of 'An analysis of lock-based and optimistic concurrency control protocols in multiprocessor real-time databases'. Together they form a unique fingerprint.

Cite this