A mean value performance model for locking in databases

Yong Chiang Tay, R. Suri, Nathan Goodman · ACM SIGACT-SIGMOD Symposium on Principles of Database Systems (PODS) · 1984

An earlier paper introduced a simple performance model for studying the behaviour of locking. That paper treats a highly simplified form of locking, called the no waiting case, in which transactions restart when they request locks that are already held by others. This analysis is now extended to the more realistic waiting case, in which transactions are allowed to wait for conflicting locks, and restart only if there is a deadlock. The analysis begins with a system that has uniform access and exclusive locks only. The model's predictions for this base system agree well with simulation results. Next, a system with nonuniform access and another with shareable locks are each shown to be reducible to the base system. A comparison of the waiting and no waiting cases yields a surprising result: the throughput for the no waiting case is often better than for the waiting case, and never much worse.

Cited by 36 works. doi:10.1145/588011.588056 Open-access PDF

Authors

References