What does 'Compact' feature do?

Technical support and discussion of Newsbin Version 6 series.

What does 'Compact' feature do?

Postby vspazv » Sat Jul 04, 2015 12:08 am

I compacted a large group the other day and it went from 20 GB to 20.8 GB... I'm pretty sure that wasn't the goal.
vspazv
Occasional Contributor
Occasional Contributor
 
Posts: 31
Joined: Thu May 23, 2002 12:45 am

Registered Newsbin User since: 04/03/03

Re: What does 'Compact' feature do?

Postby Quade » Sat Jul 04, 2015 10:41 am

It basically re-organizes and defragments the DB. If you'd done some big deletes, it would recover space. If there was no space to recover it won't. I've seen them get bigger after a compact. I think it doesn't something to the indexes.

Compact will speed up the DB operations and can make the file smaller if you deleted from it.

If you want to recover some space, the best way is to reduce the "Storage Age", update the group by downloading latest headers, then doing a compact. Most servers aren't really reliable out beyond 1400 days these days so keeping more than that is probably not necessary.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44951
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: Google [Bot] and 2 guests