473,503 Members | 1,646 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

db2pd locking

Hi,
Does anyone know of a tool that gives a bit more readable info out of
the db2pd tool when executing Locktest? I'm thinking of something that
will show the type of lock and which tables by name rather than by ids
etc.

thanks!
A

May 15 '07 #1
2 3483
interz12 wrote:
Hi,
Does anyone know of a tool that gives a bit more readable info out of
the db2pd tool when executing Locktest? I'm thinking of something that
will show the type of lock and which tables by name rather than by ids
etc.

thanks!
A
What you mean by locktest?

I have a script which shows application handle(s) and tables locked when
there is a lock wait situation.

Type of lock, page and row you can get by adding showlock to db2pd:

db2pd -lock wait showlock -db <alias>
Jan M. Nelken
May 15 '07 #2
Hi,

in DB2 9 there are a lot of SYSIBMADM views that you can use:

sysibmadm.locks_held
sysibmadm.lockwaits

best regards,
Joachim Müller

"interz12" <in******@yahoo.comschrieb im Newsbeitrag
news:11*********************@w5g2000hsg.googlegrou ps.com...
Hi,
Does anyone know of a tool that gives a bit more readable info out of
the db2pd tool when executing Locktest? I'm thinking of something that
will show the type of lock and which tables by name rather than by ids
etc.

thanks!
A
May 15 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
8896
by: Nid | last post by:
How do I do row-level locking on SQL Server? Thanks, Nid
1
2946
by: Private Pyle | last post by:
I have a question about db2pd. When using the -activestatements the column -EffISO is the effective isolation level. The value in this column is an integer, not something easy like UR, CS, RS, or...
1
2879
by: BAS | last post by:
Guys, Assume i have taken the db2pd -locks output and there i have seen lockesculations like this +898 0x42D14020 37 000E28090028A5020000000052 Row .NS W
0
1309
by: xpding | last post by:
Hello, I have a class MyEmbededList contains a generic dictionary, the value field is actually the MyEmbededList type as well. There is another class need to access and manipulate a list of...
5
4333
by: Jeroen van den Broek | last post by:
db2 8.1 fp13 on Linux for zSeries (64-bit) Every invocation of db2pd except for the "-version" and "-osinfo" options gives following message: ======================================= Database...
0
4085
by: Cindy Huyser | last post by:
I have an Access 2000 database behind a threaded Java application that that can have have concurrent access to the same table (but not the same record). The database is set up for shared access...
7
3237
by: andyw | last post by:
hi all I'm trying to make the application which use a db2pd facility. so, I am looking for db2pd api. where can i find db2pd api ? thanks for advance.
2
2432
by: James | last post by:
In output of comand "db2pd -d <dbname-tcbstats index", what's the meaning of IID=0? Please advise. Thanks so much. James
5
3400
by: Shree | last post by:
Anybody with similar experience? Thx U Shree.
0
7072
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7319
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6979
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
4998
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4666
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3160
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1498
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
730
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
373
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.