• DocumentCode
    2847778
  • Title

    Improving preemptive prioritization via statistical characterization of OLTP locking

  • Author

    McWherter, David T. ; Schroeder, Bianca ; Ailamaki, Anastassia ; Harchol-Balter, Mor

  • fYear
    2005
  • fDate
    5-8 April 2005
  • Firstpage
    446
  • Lastpage
    457
  • Abstract
    OLTP and transactional workloads are increasingly common in computer systems, ranging from e-commerce to warehousing to inventory management. It is valuable to provide priority scheduling in these systems, to reduce the response time for the most important clients, e.g. the "big spenders". Two-phase locking, commonly used in DBMS, makes prioritization difficult, as transactions wait for locks held by others regardless of priority. Common lock scheduling solutions, including non-preemptive priority inheritance and preemptive abort, have performance drawbacks for TPC-C type workloads. The contributions of this paper are two-fold: (i) We provide a detailed statistical analysis of locking in TPC-C workloads with priorities under several common preemptive and non-preemptive lock prioritization policies. We determine why non-preemptive policies fail to sufficiently help high-priority transactions, and why preemptive policies excessively hurt low-priority transactions, (ii) We propose and implement a policy, POW, that provides all the benefits of preemptive prioritization without its penalties.
  • Keywords
    scheduling; statistical analysis; transaction processing; DBMS; OLTP locking statistical characterization; TPC-C type workloads; nonpreemptive lock prioritization; nonpreemptive priority inheritance; preemptive abort; preemptive lock prioritization; priority scheduling; transaction processing; two-phase locking; Business; Database systems; Delay effects; Electronic commerce; Inventory management; Merchandise; Processor scheduling; Statistical analysis; Stock markets; Warehousing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Data Engineering, 2005. ICDE 2005. Proceedings. 21st International Conference on
  • ISSN
    1084-4627
  • Print_ISBN
    0-7695-2285-8
  • Type

    conf

  • DOI
    10.1109/ICDE.2005.78
  • Filename
    1410155