Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / DB2 Topics / January 2007

Tip: Looking for answers? Try searching our database.

Snapshot Statement - No statement text if in lock-wait state ?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
PaulR - 29 Jan 2007 15:39 GMT
Hi all,
(DB2 LUW 8.2)

I'm just trying to write a little widget to capture lock wait details
(when they occur).

i.e when a lock-wait occurs, simply record the 2 statements involved
in the lock wait.

However, I am stumped by the fact that the snapshot monitor does not
seem to return
the SQL statement text of the application that is waiting ???
  -  I have tried the CLP and Snapshot Table Functions.
  -  the SQL statement text is available for the application holding
the lock.

NB. I am using the SYSPROC.SNAPSHOT_ * table functions.

I have the following monitor switches enabled in the DBM CFG
Buffer pool                         (DFT_MON_BUFPOOL)  = OFF
Lock                                 (DFT_MON_LOCK)         = ON
Sort                                  (DFT_MON_SORT)         = OFF
Statement                         (DFT_MON_STMT)         = ON
Table                                (DFT_MON_TABLE)        = OFF
Timestamp                        (DFT_MON_TIMESTAMP) = ON
Unit of work                       (DFT_MON_UOW)            = OFF

Any ideas?
PaulR - 29 Jan 2007 16:01 GMT
PLease ignore , This seems to be working now?? - not sure what
changed.

> Hi all,
> (DB2 LUW 8.2)
[quoted text clipped - 24 lines]
>
> Any ideas?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.