Relaxing consistency requirement for read-only transactions

Research output: Journal Publications and Reviews (RGC: 21, 22, 62)21_Publication in refereed journalpeer-review

2 Scopus Citations
View graph of relations

Author(s)

Related Research Unit(s)

Detail(s)

Original languageEnglish
Pages (from-to)115-146
Journal / PublicationInformation Sciences
Volume143
Issue number1-4
Publication statusPublished - Jun 2002

Abstract

In this paper, we investigate the approach to relaxing consistency requirement of serializability to improve the performance of real-time database systems. We make use of the property that a read-only transaction (ROT) only reads, but does not update any data item. Since there is a significant proportion of ROTs in several real-time systems, it is important to investigate how to process ROTs effectively. We define a weaker form of consistency, view consistency, which allows ROTs to perceive different serialization orders of update transactions. Although view consistency permits non-serializablility, ROTs are still ensured to see consistent data. We devise a separate algorithm to process ROTs from update transactions for view consistency. For comparison, we devise another separate algorithm to process ROTs for strong consistency that is equivalent to serializability. Our simulation results show that the two separate algorithms outperform the locking and optimistic protocols significantly. Using separate algorithms reduces the interference between ROTs and update transactions. This reduced interference alleviates the impact of concurrency control on real-time priority-driven scheduling and improves the timeliness of the system. To our great surprise, the two separate algorithms perform almost the same. In our investigation, we found that most data conflicts between an ROT and update transactions are independent data conflicts. These independent data conflicts can be easily resolved by using a separate algorithm even under serializability. Thus, this observation indicates that using a separate algorithm to process ROTs from update transactions is more effective than relaxing consistency requirement. © 2002 Published by Elsevier Science Inc.

Citation Format(s)

Relaxing consistency requirement for read-only transactions. / Lam, Kwok-wa; Son, Sang H; Lee, Victor C.S. et al.
In: Information Sciences, Vol. 143, No. 1-4, 06.2002, p. 115-146.

Research output: Journal Publications and Reviews (RGC: 21, 22, 62)21_Publication in refereed journalpeer-review