Computing Reviews

A mean value performance model for locking in databases
Tay Y., Suri R. (ed), Goodman N. Journal of the ACM32(3):618-651,1985.Type:Article
Date Reviewed: 03/01/86

Performance of locking in database systems is extremely important. We need only consider the airline reservation system to realize how important the problem is that these researchers have addressed. Such a database is very large, and it is both updated and queried frequently by many users. Even though this paper is theoretical, it is well motivated and contains simulation results. This paper is the first of four reports on locking performance and is best summarized by reprinting their 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.

Reviewer:  Sharon Kuck Review #: CR109774

Reproduction in whole or in part without permission is prohibited.   Copyright 2024 ComputingReviews.com™
Terms of Use
| Privacy Policy