Shift Delete in local search

Technical support and discussion of Newsbin Version 6 series.

Shift Delete in local search

Postby flat_beer » Mon Apr 16, 2012 9:28 pm

If I do a local search then a Shift-Delete does that purge those records from the local spool?

The main reason I'm wondering this is that I have my spool on a 48GB partition and I'm down to only 3.7GB free. Using search to find spam that is crossposted to multiple groups and nuke it all at once. That way freeing up space for real posts.

Hum. Looks like I have 6GB wasted on the Image DB. I guess I'll blow that away.

Having newsbin use a separate partition for the spool is helpful in keeping the drive defragmented. (This was much more important back when newsbin used a separate file for each day for each newsgroup. I know there were 30,000+ files in that partition.)
flat_beer
Active Participant
Active Participant
 
Posts: 56
Joined: Mon Aug 18, 2003 12:21 am

Registered Newsbin User since: 04/14/03

Re: Shift Delete in local search

Postby Quade » Mon Apr 16, 2012 10:19 pm

Shift-delete deletes but, won't get you any space back till you "Compact Database" which is under "Post Storage"/
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44981
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Shift Delete in local search

Postby flat_beer » Mon Apr 16, 2012 11:13 pm

I was under the impression that after the Shift-delete but before the compact the space will get reused by new headers as they arrive. Is this correct? If that is correct then I see no reason to do a compact. At least not very often to most of the groups.

If compacting does something in addition to freeing up drive space (like sorting or something else that speeds up access) then that may be a reason to do it.

BTW. Does compacting take a lot of space when it is doing the compaction? (my current a.b.multimedia spool takes 7.7GB. Will it take about another 7GB while the compaction is running?)

PS. I assume I can just shut off Image DB feature and just delete the .SFE files?
flat_beer
Active Participant
Active Participant
 
Posts: 56
Joined: Mon Aug 18, 2003 12:21 am

Registered Newsbin User since: 04/14/03

Re: Shift Delete in local search

Postby Quade » Tue Apr 17, 2012 8:18 am

I was under the impression that after the Shift-delete but before the compact the space will get reused by new headers as they arrive. Is this correct? If


1 - Yes it free's up pages that eventually get re-used.

2 - Compaction does more than free up space. It makes insertion and loading faster.

3 - I'd assume compaction would take about 3 times or more the size of the the existing DB3.

4 - Yes on the image DB.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44981
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97


Return to V6 Technical Support

Who is online

Users browsing this forum: No registered users and 5 guests

cron