dbTalk Databases Forums  

Locked by agent id 0 huh!!

comp.databases.ibm-db2 comp.databases.ibm-db2


Discuss Locked by agent id 0 huh!! in the comp.databases.ibm-db2 forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Arun Srini
 
Posts: n/a

Default Locked by agent id 0 huh!! - 07-15-2010 , 08:01 AM






I saw from the db2top utility that the agent id 0 was holding locks on
other apps. So I took this following snapshot. I am totally confused
as to what agent this is, since querying the snapagent doesnt tell me
what this is.
Please shed some light if someone else has experienced similar stuff.
Does this have to concern with utilities such as runstats and loads???

arun@test01:~> db2 "SELECT agent_id,
agent_id_holding_lk ,lock_mode_requested, lock_mode, Lock_object_type,
trim(tabschema),tabname, lock_current_mode,
lock_release_flags,data_partition_id,dbpartitionnu m from
sysibmadm.snaplockwait"

AGENT_ID AGENT_ID_HOLDING_LK LOCK_MODE_REQUESTED
LOCK_MODE LOCK_OBJECT_TYPE
6
TABNAME
LOCK_CURRENT_MODE LOCK_RELEASE_FLAGS DATA_PARTITION_ID
DBPARTITIONNUM
-------------------- -------------------- -------------------
---------- ------------------
--------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------
----------------- -------------------- -----------------
--------------
47138 0 NS
X ROW_LOCK
FUS
ART
- 1 0
12
8289 0 NS
X ROW_LOCK
FUS
ART
- 1 0
12
6532 0 NS
X ROW_LOCK
FUS
ART
- 1 0
12
46913 0 NS
X ROW_LOCK
FUS
ART
- 1 0
12
7800 0 NS
X ROW_LOCK
FUS
ART
- 1 0
12
47142 0 NS
X ROW_LOCK
FUS
ART
- 1 0
12
6529 0 NS
X ROW_LOCK
FUS
ART
- 1 0
12
57436 0 NS
X ROW_LOCK
FUS
ART
- 1 0
12

8 record(s) selected.



Thanks
Arun

Reply With Quote
  #2  
Old   
Anwei Shen
 
Posts: n/a

Default Re: Locked by agent id 0 huh!! - 07-19-2010 , 08:18 AM






Try get snapshot on apps.
and list applications

Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.