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 > LOgs full

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-04-11, 12:51
rameshj6 rameshj6 is offline
Registered User
 
Join Date: Oct 2008
Posts: 51
Cool LOgs full

Can any one plz help me ... how to check why the logs are getting full so frequently


VERsion : 9.7
fp 3
os : AIX
Partitioned environment
Reply With Quote
  #2 (permalink)  
Old 09-05-11, 02:46
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
do you get logfull sqlcode
maybe long running transactions.. mass delete/update...
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
Reply With Quote
  #3 (permalink)  
Old 09-05-11, 03:32
skchandra skchandra is offline
Registered User
 
Join Date: Nov 2010
Posts: 14
In case of "log full" situation, you can find the application handle who is holding the active log from db2diag.log

Code:
db2diag -g message:="The active log is full"

Also, you can use sysibmadm.snapappl and sysibmadm.snapappl_info admin views for getting info on who is hogging the log space.
__________________
/* SK Chandra */
Reply With Quote
  #4 (permalink)  
Old 09-07-11, 09:02
Naval29 Naval29 is offline
Registered User
 
Join Date: Apr 2008
Posts: 9
This is case of applcaition performanve tunning with db. Please check what application are are running against the db at that time and Need to eleminate highly log space used application. Then issue frequent "COMMIT" in that activity. For immidiate relief you may want to add some more logs.

Thanks
Naval K
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