Provided by: Hunan University
Date Added: Nov 2011
In order to improve the security of the Real-Time DataBase (RTDB), this paper proposes a Multiversion Two-Phase Locking protocol (M2PL) based on Commit-locking. While guaranteeing the serialization of transactions, through expanding the compatibility of locking, it effectively solves the problems of conflicts in traditional read-write or write-read, and also gives an optimizing strategy to write-write conflicts. The experiment shows: in the case of transactions averagely arrive to the small interval; the transaction success rate of M2PL evidently exceeds that of 2PL, while the delay deadline rate is evidently under that of 2PL.The proposed algorithm is effective.