• DocumentCode
    2731560
  • Title

    Optimizing Concurrency Through Automated Lock Memory Tuning in DB2

  • Author

    Lightstone, Sam S. ; Eaton, Chris ; Lee, Yun Han ; Storm, Adam J.

  • Author_Institution
    IBM Canada, East Markham, Ont.
  • fYear
    2007
  • fDate
    15-20 April 2007
  • Firstpage
    1154
  • Lastpage
    1163
  • Abstract
    Lock memory consumption can be difficult to project and can vary rapidly in short amounts of time. This volatility makes lock memory tuning difficult and can result in either significant memory waste if systems are configured for peak requirements, or lock escalation and lock wait if under configured; either of which can cause significant performance penalties. This paper describes an algorithm for adaptive tuning of database lock memory. The DB2 technique adapts the locking memory in real time to mitigate the occurrence of lock escalations. The technique uses a combination of synchronous and asynchronous modification to the locking structures so that it can respond well to rapid immediate growth in locking requirements. The adaptive algorithm also relaxes the locking memory over time so that peak requirements in lock memory will not result in a permanently large allocation of memory to locks. Experimental tests have shown this technique to work well in a number of benchmark and adaptive workloads, converging almost immediately to optimal settings which avoid lock escalations and achieve optimal throughput. The solution has been implemented in DB2 9.
  • Keywords
    database management systems; storage management; DB2; adaptive algorithm; adaptive tuning; automated lock memory tuning; concurrency; database lock memory; lock escalation; lock memory consumption; locking structures; memory allocation; Adaptive algorithm; Benchmark testing; Concurrent computing; Humans; Memory management; Relational databases; Sorting; Storms; Throughput; Tuning;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Data Engineering, 2007. ICDE 2007. IEEE 23rd International Conference on
  • Conference_Location
    Istanbul
  • Print_ISBN
    1-4244-0802-4
  • Electronic_ISBN
    1-4244-0803-2
  • Type

    conf

  • DOI
    10.1109/ICDE.2007.368974
  • Filename
    4221764