DocumentCode :
1442827
Title :
Performance analysis of two-phase locking
Author :
Thomasian, Alexander ; Ryu, In Kyung
Author_Institution :
IBM Thomas J. Watson Res. Center, Yorktown Heights, NY, USA
Volume :
17
Issue :
5
fYear :
1991
fDate :
5/1/1991 12:00:00 AM
Firstpage :
386
Lastpage :
402
Abstract :
A straightforward analytic solution method is developed which takes into account the variability of transaction size (the number of lock requests). The authors first obtain analytic expressions for the probability of lock conflict, probability of deadlock, and the waiting time per lock conflict. They then develop a family of noniterative analytic solutions to evaluate the overall system performance by considering the expansion in transaction response time due to transaction blocking. The accuracy of these solutions is verified by validation against simulation results. Also introduced is a new measure for the degree of lock contention, which is a product of the mean number of lock conflicts per transaction and the mean waiting time per lock conflict (when blocked by an active transaction). It is shown that the variability in transaction size results in an increase in both measures as compared to fixed-size transactions of comparable size. The authors also provide a solution method for the case when the processing times of transaction steps are different
Keywords :
concurrency control; distributed databases; system recovery; transaction processing; deadlock; lock conflict; lock contention; lock requests; probability; simulation; system performance; transaction blocking; transaction response time; transaction size; two-phase locking; Concurrency control; Costs; Degradation; Delay; Frequency estimation; Hardware; Performance analysis; System performance; System recovery; Throughput;
fLanguage :
English
Journal_Title :
Software Engineering, IEEE Transactions on
Publisher :
ieee
ISSN :
0098-5589
Type :
jour
DOI :
10.1109/32.90443
Filename :
90443
Link To Document :
بازگشت