Concurrency Control in Real-Time Database System: Optimistic Scheme vs. Two-Phase Locking

  • Authors:
  • Jiandong Huang;John A. Stankovic

  • Affiliations:
  • -;-

  • Venue:
  • Concurrency Control in Real-Time Database System: Optimistic Scheme vs. Two-Phase Locking
  • Year:
  • 1990

Quantified Score

Hi-index 0.00

Visualization

Abstract

The two-phase locking approach widely used for concurrency control in database systems have some inherent disadvantages such as deadlock and unpredictable blocking time. These appear to be serious problems with respect to real-time transaction processing, since in a real-time environ- ment transactions need to meet their time constraints as well as their consistency requirements. Integrated with CPU scheduling, we investigate an optimistic concurrency control approach for real- time transaction processing, which possesses the properties of deadlock freedom and predictable blocking time. We also give solutions to the problem of transaction starvation. The proposed optimistic concurrency control scheme is implemented on a real-time database testbed. The per- formance results show that the optimistic scheme outperforms two-phase locking even when the system is CPU bound.