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 > db2diag

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-03-09, 05:26
manikandank_1984 manikandank_1984 is offline
Registered User
 
Join Date: Oct 2008
Posts: 65
db2diag

Hi,

The /db2/SID/db2dump folder reaches 95%utilisation.I have archive the db2diag log file also using db2diag -A path.After that it reaches 93%,I ghave checked db2ir.nfy size is 2.3 GB.Every day this file increasing.How to reduce this file..

Regards,
Raj
Reply With Quote
  #2 (permalink)  
Old 07-03-09, 06:16
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,530
This file is useful when you have to investigate system errors ...

On a daily basis, tar and compress the files in this directory, delete the files and move the compressed file to a different directory for later retrieval .. You can delete the compressed files older than n days (30 is my guideline)

Why not increase the size of the filesystem to accomodate more files in this directory ?

HTH

Sathyaram
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #3 (permalink)  
Old 07-06-09, 09:22
Cougar8000 Cougar8000 is offline
Registered User
 
Join Date: Nov 2005
Location: IL
Posts: 554
Wouldn't the right question be what is causing all those dumps and fix the problem then figuring out how to reduce folder utilization?
__________________
--
IBM Certified DBA on DB2 for Linux, UNIX, and Windows

DB2 v9.1.0.2 os 5.3.0.0
Reply With Quote
  #4 (permalink)  
Old 07-06-09, 10:26
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,530
Quote:
Originally Posted by Cougar8000
Wouldn't the right question be what is causing all those dumps and fix the problem then figuring out how to reduce folder utilization?
That's a good suggestion ..

Of course, there are other tasks that log into db2diag.log - like LOAD, automatic maintance, STMM etc. So the size of the db2dump filesystem has to accomodate this too ...

Cheers
Sathyaram
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #5 (permalink)  
Old 07-06-09, 13:38
Cougar8000 Cougar8000 is offline
Registered User
 
Join Date: Nov 2005
Location: IL
Posts: 554
Quote:
Originally Posted by sathyaram_s
Of course, there are other tasks that log into db2diag.log - like LOAD, automatic maintance, STMM etc. So the size of the db2dump filesystem has to accomodate this too ...
For sure. but I have a feeling it is not one of those that caused this posting
__________________
--
IBM Certified DBA on DB2 for Linux, UNIX, and Windows

DB2 v9.1.0.2 os 5.3.0.0
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