473,654 Members | 3,097 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 3492
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.lockw aits

best regards,
Joachim Müller

"interz12" <in******@yahoo .comschrieb im Newsbeitrag
news:11******** *************@w 5g2000hsg.googl egroups.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
8920
by: Nid | last post by:
How do I do row-level locking on SQL Server? Thanks, Nid
1
2971
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 RR. The documentation update doesn't tell me what the translation is, can some please shed some light on this? Thanks!
1
2888
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
1319
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 MyEmbededList (please refer to the MyTestClass below). I am not sure whether I implements the right locking mechanism here and hope someone can give me some advices. I have provided some codes for these two classes below. My questions are: 1. Am I...
5
4348
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 Partition 0 -- Database FOO_DB -- Active Changing data structure forced command termination. =======================================
0
4096
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 with "No locks" as the default, so that optimistic record locking should take place, and "Open databases using record-level locking" is selected. Each Java thread gets a new connection to the database, then updates its record. One of my users has...
7
3244
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
2442
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
3412
by: Shree | last post by:
Anybody with similar experience? Thx U Shree.
0
8290
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8815
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8707
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8482
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
5622
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4294
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2714
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 we have to send another system
1
1916
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1593
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.