Deleting stored posts

This is the place to help test and discuss Version 6 Beta releases.

Deleting stored posts

Postby usmarinecpl » Tue Mar 29, 2011 11:54 am

Previously, when I did a shift+del for the posts, it would reflect on the folder size of the posts folder. Now, when I do a shift+del, it seems to just delete it from view and for future searches, but are the posts deleted from the folders? The folder size doesn't change.
usmarinecpl
Occasional Contributor
Occasional Contributor
 
Posts: 18
Joined: Tue Nov 18, 2003 8:52 am

Registered Newsbin User since: 11/18/03

Re: Deleting stored posts

Postby richy99 » Tue Mar 29, 2011 12:02 pm

the db3 file doesnt shrink, it gets toa size then when you delete stuff that space is re allocated for future use such as when you update headers
User avatar
richy99
Elite NewsBin User
Elite NewsBin User
 
Posts: 6353
Joined: Fri Nov 21, 2003 8:04 pm
Location: Wales

Registered Newsbin User since: 12/31/03

Re: Deleting stored posts

Postby usmarinecpl » Tue Mar 29, 2011 12:06 pm

I was referring to the spool file. That doesn't change?
usmarinecpl
Occasional Contributor
Occasional Contributor
 
Posts: 18
Joined: Tue Nov 18, 2003 8:52 am

Registered Newsbin User since: 11/18/03

Re: Deleting stored posts

Postby itimpi » Tue Mar 29, 2011 12:14 pm

In v6 the headers are initially downloaded into a rv4 file and then processed into a .db3 database. The .rv4 files are removed after being processed. The processed header information is stored in the .db3 databases. This .db3 file does not shrink as headers are removed - instead the space merely gets marked internally for re-use. This means that for a given group it tends to grow until the number of headers in the database reaches a steady value and then the database stays at that size. This is the trade-ff that v6 makes - the additional space required to store the information in a database to get the extra speed of access and reduced memory footprint at a later stage when loading and processing Post lists.

I guess one could run a sqlite3 "vacuum" command on the database and that would reclaim any unused space, but it could take a long time to run on a large database.
Last edited by itimpi on Tue Mar 29, 2011 12:15 pm, edited 1 time in total.
The Newsbin Online documentation
The Usenettools for tutorials, useful information and links
User avatar
itimpi
Elite NewsBin User
Elite NewsBin User
 
Posts: 12605
Joined: Sat Mar 16, 2002 7:11 am
Location: UK

Registered Newsbin User since: 03/28/03

Re: Deleting stored posts

Postby richy99 » Tue Mar 29, 2011 12:14 pm

and the spool is a db3 file, no it grows to a size and then if things are deleted the space doesnt just shrink it just puts new data there
User avatar
richy99
Elite NewsBin User
Elite NewsBin User
 
Posts: 6353
Joined: Fri Nov 21, 2003 8:04 pm
Location: Wales

Registered Newsbin User since: 12/31/03


Return to Newsbin Version 6 Beta Support

Who is online

Users browsing this forum: No registered users and 2 guests