Performance analysis of dynamic locking with the no-waiting policy
- 1 July 1990
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Software Engineering
- Vol. 16 (7) , 684-698
- https://doi.org/10.1109/32.56095
Abstract
A transaction processing system with two-phase dynamic locking with the no waiting policy (DLNW) for concurrency control is considered. In this method, transactions making conflicting lock requests are aborted and restarted rather than blocked, thereby eliminating blocking delays (and deadlocks), but making it susceptible to cyclic restarts. Cyclic restarts are dealt with by delaying the restart of a transaction encountering a lock conflict or replacing it with a new transaction. Analytic solution methods for evaluating the performance of the variants of the DLNW method are described. The analytic methods, validated against simulation and shown to be acceptably accurate, are used to study the effect of the following parameters on system performance: transaction size and its distribution, degree of concurrency, the throughput characteristic of the computer system, and the mixture of read-only query and update transactions. A comparison of the DLNW and dynamic locking with waiting (DLW) methods shows that DLW provides higher throughput than DLNW, except when there is no hardware resource contention and conflicted transactions can be replaced by new transactions. The DLNW method outperforms the time-stamp ordering method, as observed from simulation results as well as case by case analyses of possible scenariosKeywords
This publication has 9 references indexed in Scilit:
- Concurrency control performance modeling: alternatives and implicationsACM Transactions on Database Systems, 1987
- Locking performance in centralized databasesACM Transactions on Database Systems, 1985
- A mean value performance model for locking in databasesJournal of the ACM, 1985
- Limitations of concurrency in transaction processingACM Transactions on Database Systems, 1985
- Analysis of some optimistic concurrency control schemes based on certificationPublished by Association for Computing Machinery (ACM) ,1985
- On the modeling of parallel access to shared dataCommunications of the ACM, 1983
- A decomposition solution to the queueing network model of the centralized DBMS with static lockingPublished by Association for Computing Machinery (ACM) ,1983
- On optimistic methods for concurrency controlACM Transactions on Database Systems, 1981
- System level concurrency control for distributed database systemsACM Transactions on Database Systems, 1978