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 > How to apply automatic force of application uses locks on table after 5 minutes?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-14-06, 05:19
grofaty grofaty is offline
Registered User
 
Join Date: Jan 2003
Posts: 1,570
How to apply automatic force of application uses locks on table after 5 minutes?

Hi,
is there any simple way to set some parameter on DB2 to automaticaly force application which uses locks on tables for some time, e.g. 5 minutes?

I can write a script (get snapshot lock and force application) to do this automaticaly, but I would like to know if something like this already exist on database.

My system:
db2 WSE v8.2.2 on Windows 2003

Thanks,
Grofaty
Reply With Quote
  #2 (permalink)  
Old 06-14-06, 05:23
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
DB2 Governor

Sathyaram
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #3 (permalink)  
Old 06-14-06, 07:12
grofaty grofaty is offline
Registered User
 
Join Date: Jan 2003
Posts: 1,570
Hi,
can you post some sample of governor cfg file how to solve the problem?
Grofaty
Reply With Quote
  #4 (permalink)  
Old 06-14-06, 11:56
przytula przytula is offline
Registered User
 
Join Date: Nov 2004
Posts: 374
lockwait

you can also wait for agents in lockwait and use locktimeout config parameter to force the lock waiter
__________________
Best Regards, Guy Przytula
DB2/ORA/SQL Services
DB2 DBA & Advanced DBA Certified
DB2 Dprop Certified
http://users.skynet.be/przytula/dbss.html
Reply With Quote
  #5 (permalink)  
Old 06-15-06, 02:21
grofaty grofaty is offline
Registered User
 
Join Date: Jan 2003
Posts: 1,570
przytula,

I would like to force application that is using the lock not the application that is waiting for a lock - that is what locktimeout does.

Does someone have some good book or web page about DB2 Governor, I have read DB2 Admin Performance book the Governor section and I would like to read more. Not sufficient info to solve my problem.

Thanks,
Grofaty
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