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 > LogsHeld Monitor

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-20-09, 07:20
DBFinder DBFinder is offline
Registered User
 
Join Date: Sep 2008
Location: Toronto,Canada
Posts: 606
LogsHeld Monitor

Hello Friends,

We are having LogsHeld problem in our production environment. This happens once a fortnight roughly. The casinos fall off because of slowness. Forcing holding application recovers.

I need to write a monitor to tarck a situatiion when a transaction log is held for long time that causes everything to slow down.
At the moment I will start with SEC_LOGS_ALLOCATED monitored. If so I will check further(APPL_ID_OLDEST_XACT . . . .). If not I will think that everything is normal.

Any body who might have done this, please advise or correct me .

(DB2V9.5 fp 4 on Win2k3)

DBFinder
Reply With Quote
  #2 (permalink)  
Old 11-20-09, 16:20
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
You may want to look at max_log / num_log_span db cfg parameters - they can be used in order to stop an appl from consuming a lot of active log space.
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