A simple analysis of exclusive and shared lock contention in a database system

  • Authors:
  • Stephen S. Lavenberg

  • Affiliations:
  • -

  • Venue:
  • SIGMETRICS '84 Proceedings of the 1984 ACM SIGMETRICS conference on Measurement and modeling of computer systems
  • Year:
  • 1984

Quantified Score

Hi-index 0.00

Visualization

Abstract

We consider a probabilistic model of locking in a database system in which an arriving transaction is blocked and lost when its lock requests conflict with the locks held by currently executing transactions. Both exclusive and shared locks are considered. We derive a simple asymptotic expression for the probability of blocking which is exact to order 1/N where N is the number of lockable items in the database. This expression reduces to one recently derived by Mitra and Weinberger for the special case where all locks are exclusive.