473,508 Members | 2,274 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PRUNE Logfile Command Question

Guys -

Does the PRUNE logfile command do anything other than just do a simple
delete of the files? Or is there more to it internally in DB2?

Thanks in Advance,

-B

Nov 12 '05 #1
2 3328
AFAIK, the prune command just cleans up your history file for all entries
equal to or prior to the timestamp specified.
It will clean all references to objects that are note involved with the
NUM_BACKUPS (default 12) specified.<
If you use the WITH FORCE option, it prunes all entries from that timestamp
without regard.

It does not touch any backup image nor does it touch logs (for all it knows,
they could be in an archive not accessible to the prune command).
It just "identifies" these entries in the recovery history as Active,
Inactive or Expired.

HTH, Pierre.

--
Pierre Saint-Jacques
SES Consultants Inc.
514-737-4515
<bw********@yahoo.com> a écrit dans le message de news:
11*********************@g44g2000cwa.googlegroups.c om...
Guys -

Does the PRUNE logfile command do anything other than just do a simple
delete of the files? Or is there more to it internally in DB2?

Thanks in Advance,

-B


Nov 12 '05 #2
PRUNE LOGFILE PRIOR TO <logfilename> will actually delete logfiles.

Fred

Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1231
by: mvh | last post by:
I had been rotating my log files with the equivalent of pg_ctl -w -s | flog /var/log/pgsql 2>&1 where 'flog' is a logfile rotation program... and this no longer seems to work with 7.4.1 -...
6
1589
by: Andy K | last post by:
Hi , I have an issue about logfile on db2 . My database (v7.2) is on linux ES 2.2 . The logretain is equal to recovery and userexit is off (for replication purpose that doesn't work...
3
10430
by: Phil Sherman | last post by:
UDB LUW (Windows) 8.1 FP9a I issued a PRUNE HISTORY 20050819 AND DELETE and was surprised to see that the archived log files were not physically deleted. The history record of the 20050818...
1
3181
by: FJ | last post by:
Hi all, I hope someone can help me with the following: I want my database to make a logfile in which it puts the date and time a code is used. The code is triggered by a timer. Every x mins it...
3
1753
by: Girish Sahani | last post by:
hi ppl, Here is a simple function to remove those keys of a dictionary whose values are less than some specified value. But it isnt working. Please help. def prune(d,cp): l = for rule,value...
2
3160
by: Andi Clemens | last post by:
Hi, we had some problems in the last weeks with our mailserver. Some messages were not delivered and we wanted to know why. But looking through the logfile is a time consuming process. So I...
6
6870
by: roger.lagrilliere | last post by:
Hello, is anyone willing to help me out to setup a logfile. I have a program running in Access, but I want to know the progress of it. It is rather easy I think, but don't know how to handle...
0
1515
by: Adam | last post by:
Hello, I have a small app I am creating to crawl a directory and check that if it is moved to another a location it's path will not break a character limit. Usually the Windows path limit. ...
2
2861
by: pompom | last post by:
hello all! i have to make a project for school , making a newsserver and a client. the thing is, i send messages between them to let the user know if everything is running ok. just some simple...
0
7398
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7061
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7502
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5637
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5057
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4716
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3208
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3194
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
769
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.