• DocumentCode
    962029
  • Title

    Database Applications of the FETCH-AND-ADD Instruction

  • Author

    Stone, Harold S.

  • Author_Institution
    IBM T. J. Watson Research Center, Yorktown Heights, NY 10598.; Department of Electrical and Computer Engineering, University of Massachusetts, Amherst, MA 01003.
  • Issue
    7
  • fYear
    1984
  • fDate
    7/1/1984 12:00:00 AM
  • Firstpage
    604
  • Lastpage
    612
  • Abstract
    The FETCH-AND-ADD instruction provides for synchronization of multiple processes in a parallel manner. This paper explores the use of FETCH-AND-ADD in the context of database systems. We show how to enqueue locks, detect lock conflicts, and release locks without resorting to critical program sections that require mutual exclusion during execution. The scheme is compatible with a variant of lock management proposed by Rosenkrantz and Stearns. A second approach to parallel lock management is based on a reservation scheme by Milenkovic. This methodology uses FETCH-AND-ADD implementation of a priority queue. An implementation of such a queue originally reported by Gottlieb and Kruskal is used for this purpose, although the storage requirements for queue management may be unacceptably large in specific cases. Both approaches described in the paper suggest that FETCH-AND-ADD is potentially effective for eliminating serial bottlenecks caused by lock conflicts in multiprocessor systems.
  • Keywords
    Concurrency control; Concurrent computing; Control systems; Memory management; Multiprocessing systems; Out of order; Parallel processing; Protocols; Testing; Transaction databases; Concurrency control; FETCH-AND-ADD; database computers; locking; parallel computers; ultracomputer;
  • fLanguage
    English
  • Journal_Title
    Computers, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    0018-9340
  • Type

    jour

  • DOI
    10.1109/TC.1984.5009333
  • Filename
    5009333