Analysis of database performance with dynamic locking
- 1 July 1990
- journal article
- Published by Association for Computing Machinery (ACM) in Journal of the ACM
- Vol. 37 (3) , 491-523
- https://doi.org/10.1145/79147.79152
Abstract
A detailed model of a transaction processing system with dynamic locking is developed and analyzed. Transaction classes are distinguished on the basis of the number of data items accessed and the access mode (read-only/update). The performance of the system is affected by transaction blocking and restarts, due to lock conflicts that do not or do cause deadlocks, respectively. The probability of these events is determined by the characteristics of transactions and the database access pattern. Hardware resource contention due to concurrent transaction processing is taken into account by specifying the throughput characteristic of the computer system for processing transactions when there is no data contention. A solution method based on decomposition is developed to analyze the system, and also used as the basis of an iterative scheme with reduced computational cost. The analysis to estimate the probability of lock conflicts and deadlocks is based on the mean number of locks held by transactions. These probabilities are used to derive the state transition probabilities for the Markov chain specifying the transitions among the system states. The decomposition solution method and the associated iterative scheme are shown to be more accurate than previously defined methods for dynamic locking through validation against simulation results. Several important conclusions regarding the behavior of dynamic locking systems are derived from parametric studies.Keywords
This publication has 14 references indexed in Scilit:
- Performance analysis of dynamic locking with the no-waiting policyIEEE Transactions on Software Engineering, 1990
- The Performance of Alternative Strategies for Dealing with Deadlocks in Database Management SystemsIEEE Transactions on Software Engineering, 1987
- Concurrency control performance modeling: alternatives and implicationsACM Transactions on Database Systems, 1987
- Locking performance in centralized databasesACM Transactions on Database Systems, 1985
- Limitations of concurrency in transaction processingACM Transactions on Database Systems, 1985
- On the modeling of parallel access to shared dataCommunications of the ACM, 1983
- Deadlock detection is cheapACM SIGMOD Record, 1983
- The distribution of granule accesses made by database transactionsCommunications of the ACM, 1982
- Locking granularity revisitedACM Transactions on Database Systems, 1979
- Queueing network models for concurrent transaction processing in a database systemPublished by Association for Computing Machinery (ACM) ,1979