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 > steps for monitoring locks in tables.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-29-11, 15:18
georgipa georgipa is offline
Registered User
 
Join Date: Dec 2002
Location: Madrid - Spain
Posts: 282
steps for monitoring locks in tables.

Hi, colleagues,
Can anyone tell me the steps to monitor locks on tables, my idea is to build a script and executing collect information of locks in the tables.

Thank you very much.
Reply With Quote
  #2 (permalink)  
Old 12-29-11, 21:36
fengsun2 fengsun2 is offline
Registered User
 
Join Date: Nov 2011
Posts: 124
three ways:
1 db2 get snap shot for locks on <dbname> (plz update monitor switches first )
2 db2pd -d dbname -locks show locks
3 db2 create event monitor for locks ..........................(maybe some performance impact)
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