• DocumentCode
    1554779
  • Title

    Analytic modelling of locking protocols in database systems

  • Author

    Lam, K.-W. ; Hung, S.L.

  • Author_Institution
    Dept. of Comput. Sci., City Univ. of Hong Kong, Kowloon, Hong Kong
  • Volume
    146
  • Issue
    3
  • fYear
    1999
  • fDate
    5/1/1999 12:00:00 AM
  • Firstpage
    161
  • Lastpage
    167
  • Abstract
    The consistency of the database for concurrent transaction processing in database systems is guaranteed by concurrency control protocols which are normally implemented by two phase locking. Queuing network models are used to study two important locking protocols namely, the static and dynamic two phase locking protocols. Using simple combinatorial arguments and elementary probability theory, an efficient way of deriving expressions is provided for quantities such as the blocking delays of transactions, the probability of a lock being granted and the probability of deadlocks. Mean value analysis is then applied to the two models. The analysis is straightforward and the models are easy to understand. The analytic results show remarkable good agreement with simulation results. Some conclusions are drawn regarding the performance of locking protocols in the database systems
  • Keywords
    concurrency control; protocols; query processing; queueing theory; analytic modelling; concurrency control protocols; concurrent transaction processing; database consistency; database systems; elementary probability theory; locking protocols; mean value analysis; queuing network models; simulation results;
  • fLanguage
    English
  • Journal_Title
    Computers and Digital Techniques, IEE Proceedings -
  • Publisher
    iet
  • ISSN
    1350-2387
  • Type

    jour

  • DOI
    10.1049/ip-cdt:19990190
  • Filename
    790841