Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2007
    Richmond, VA
    Provided Answers: 5

    Unanswered: Lock escalation?

    I typically support DB2 on Z/OS, but do provide some support on LUW. When defining a tablespace on Z/OS, I turn off lock escation using the LOCKMAX 0. Is there a similar parameter on a table on LUW? Been digging around but haven't found what I want yet. Reason for this is I do not want the size of the lock to escalate. If an app is locking that much data for an extended period of time then it should fail and proper commit logic should be added to ensure we are not locking other users/processes out of a table. Thanks for any help you can provide.
    Dave Nance

  2. #2
    Join Date
    Jan 2003
    Provided Answers: 5
    I do not think that there is any such mechanism in DB2 for LUW.


  3. #3
    Join Date
    May 2003
    You can discourage lock escalation in LUW by setting LOCKLIST to high value or automatic (if SELF_TUNING_MEM is on). Also increase MAXLOCKS to between 80 and 100 (percent).

    Lock escalation usually occurs when there is no more memory for locks in the Locklist memory.
    M. A. Feldman
    IBM Certified DBA on DB2 for Linux, UNIX, and Windows
    IBM Certified DBA on DB2 for z/OS and OS/390

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts