If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Urgent -Can Lock Excalation on a table be disabled ?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-07-04, 15:20
mgupta mgupta is offline
Registered User
 
Join Date: Oct 2003
Posts: 80
Urgent -Can Lock Excalation on a table be disabled ?

Hello,
We are running on UDB 7.2 FP10 on AIX 5.2..

Having some issues with some batch jobs, so was wondering if its
possible to disable Lock excalation on a Table ???

Your help will be really appreciated...

thanks
Reply With Quote
  #2 (permalink)  
Old 04-07-04, 15:46
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,198
Increase the size of the locklist (number of 4K pages) and increase maxlocks (the percent of all locks held by one application before escalation occurs). If you are sure you never want lock escalation, you could try maxlocks at 100.

You may ned to rebind packages for this to take effect.

Note that this affects all tables and applicaitons.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390

Last edited by Marcus_A; 04-07-04 at 16:15.
Reply With Quote
  #3 (permalink)  
Old 04-09-04, 04:59
Tank Tank is offline
Registered User
 
Join Date: Feb 2004
Location: Copenhagen
Posts: 220
If it's feasible for you,
then set locksize=table
on the tables in question.
Then no escalation can occur.
(I think!)

BOW
__________________
Kristian K. Hansen
Project Supervisor
National Board of Health
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On