A mean value performance model for locking in databases
- 1 July 1985
- journal article
- Published by Association for Computing Machinery (ACM) in Journal of the ACM
- Vol. 32 (3) , 618-651
- https://doi.org/10.1145/3828.3831
Abstract
A new performance model for dynamic locking is proposed. It is based on a flow diagram and uses only the steady state average values of the variables. It is general enough to handle nonuniform access, shared locks, static locking, multiple transaction classes, and transactions of indeterminate length. The analysis is restricted to the case in which all conflicts are resolved by restarts. It has been shown elsewhere that, under certain conditions, this pure restart policy is as good as, if not better than, a policy that uses both blocking and restarts. The analysis is straightforward, and the computational complexity of the solution, given some nonrestrictive approximations, does not depend on the input parameters. The solution is also well defined and well behaved. The model's predictions agree well with simulation results. The model shows that data contention can cause the throughput to thrash, and gives a limit on the workload that will prevent this. It also shows that systems with a particular kind of nonuniform access and systems in which transactions share locks are equivalent to systems in which there is uniform access and only exclusive locking. Static locking has higher throughput, but longer response time, than dynamic locking. Replacing updates by queries in a multiprogramming mix may degrade performance if the queries are longer than the updates.Keywords
This publication has 12 references indexed in Scilit:
- Probabilistic Models of Database LockingJournal of the ACM, 1984
- A model of transaction blocking in databasesPerformance Evaluation, 1983
- Structural locking mechanisms and their effect on database management system performanceInformation Systems, 1982
- Why control of the concurrency level in distributed systems is more fundamental than deadlock managementPublished by Association for Computing Machinery (ACM) ,1982
- Concurrency Control in Distributed Database SystemsACM Computing Surveys, 1981
- Analysis of locking policies in database management systemsCommunications of the ACM, 1980
- Approximate Methods for Analyzing Queueing Network Models of Computing SystemsACM Computing Surveys, 1978
- Notes on data base operating systemsPublished by Springer Nature ,1978
- The notions of consistency and predicate locks in a database systemCommunications of the ACM, 1976
- Optimal multiprogrammingActa Informatica, 1976