Page 1 of 1

How to automatically delete headers > 5 days old

Posted: Tue Mar 15, 2005 12:49 am
by phaustin
I subscribe to a news server with a very strong retention. I keep up with it on a regular basis, but the sheer volume of headers is slowing NP to a crawl, even on an AMD64/939 with a gig of memory. When I try to open the folder that contains the groups that I've subscribed to, it can to 5 minutes to just open. Ouch

I am hoping to speed it up by having NP delete headers over 5 days, suspecting that it is the header volume causing the problem. (I don't keep many bodies in the group)

I first thought that it woudl be "Retention range". I found a reference that Retention range is how far back to go with the groups, but that the headers still remain in NP for as long as they exist on the server.

Is there a better way?


Thanks very much,
Pete

Posted: Wed Mar 16, 2005 4:08 am
by alex
the fastest way is to define 'last headers' instead of retention, since if you define only retention given there is no server command for retention newspro will have to scan all headers (although faster than to get them all but it is still much slower than just getting numbers and deleting all but last headers).

Speed issue

Posted: Fri Mar 18, 2005 2:34 pm
by phaustin
the fastest way is to define 'last headers' instead of retention, since if you define only retention given there is no server command for retention newspro will have to scan all headers (although faster than to get them all but it is still much slower than just getting numbers and deleting all but last headers).

----

Alex - Thanks. I looked at 'last headers' but it seems to max out at the last 3000. With Audiobooks and Movies, that is to small a number.

Is it possible to have NP only keep the last 5 days of headers in the database and delete the rest automatically? I can do it by 'Select' then delete, but that takes awhile, and I have to do it with each folder.

Thanks!

Posted: Mon Mar 21, 2005 9:06 am
by Bert
Ignore the default choices in the dropdown menu and just fill in a hgher number i.e. 300000.

Posted: Sat Apr 09, 2005 3:47 pm
by zatar
phaustin,

did you ever find a way to keep only the last 5 days. i'm interested in doing the same type of thing. the last headers seems interesting, but trying to determine what number to relates to 5 days seems a bit troublesome.