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 > Active DB2 LOGS

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-29-04, 11:31
Koz Koz is offline
Registered User
 
Join Date: May 2002
Posts: 43
Active DB2 LOGS

Is there a query I can run to list all active DB2LOGS? My log filesystem is filling up fast and I wanted to prune the logs. I usually prune the logs after the weekend offling backup, but it does not look like it can wait.......

Afraid of removing a log and then a rollback occuring......
Reply With Quote
  #2 (permalink)  
Old 04-29-04, 11:33
J Petruk J Petruk is offline
Registered User
 
Join Date: Mar 2004
Location: Toronto, ON, Canada
Posts: 513
Quote:
Originally Posted by Koz
Is there a query I can run to list all active DB2LOGS? My log filesystem is filling up fast and I wanted to prune the logs. I usually prune the logs after the weekend offling backup, but it does not look like it can wait.......

Afraid of removing a log and then a rollback occuring......
db2 GET DB CFG FOR <BLAH>

...
First active log file = S0000142.LOG
...

I've always found it strange that it's in the db cfg, but I'm sure there are reasons.
__________________
--
Jonathan Petruk
DB2 Database Consultant
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