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 > transaction log

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-11-03, 11:40
asram asram is offline
Registered User
 
Join Date: Jul 2003
Posts: 34
transaction log

Goodmorning everybody!

We are running UDB8.1 on AIX 5.

Let's say there are 5 applications and the transaction log getting filled. How to identify which application is the main culprit out of the running 5!?
Reply With Quote
  #2 (permalink)  
Old 12-11-03, 12:50
GertK GertK is offline
Registered User
 
Join Date: Nov 2003
Location: Netherlands
Posts: 96
Re: transaction log

Quote:
Originally posted by asram
Goodmorning everybody!

We are running UDB8.1 on AIX 5.

Let's say there are 5 applications and the transaction log getting filled. How to identify which application is the main culprit out of the running 5!?
You can display the application statistics with db2 get snapshot for applications on <dbname> (this will display a lot of statistics for each application). By default the UOW statistics are not collected but they could show the log space used and the last commit time. You can let DB2 collect those statistics with db2 update monitor switches using uow on but I'm not sure if this will show all statistics for currently running processes. You can probably find the log filling application by checking the number of rows updated/deleted etc.

If you want to collect the UOW statistics (or other staitics) always you can set the database manager parm dft_mon_uow to ON, but this might cause the CPU usage the grow a little bit. If your system is already heavy loaded be carefull with it.

Hope this helps.
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