Purge/Rescan question

Post Reply
ilias
Posts: 17
Joined: Mon Nov 07, 2005 8:36 am

Purge/Rescan question

Post by ilias »

Hi Alex and all,

In the newsgroup options, I have "Reclaim purged headers" to "No". However, when I purge some articles and then rescan the newsgroup, those purge headers reappear as new. I am quite certain that this was not the behavior in Newspro.

Or is this because this is a compact binary group?

On the other hand, deleted headers don't reappear as new after a rescan. So, deleting rather than purging may be a better strategy in UE?
alex
Posts: 4543
Joined: Thu Feb 27, 2003 5:57 pm

Post by alex »

yes it is stated in UE.txt, mostly because it didn't make sense, defeating the purpose of saving memory (it what purging is supposed to be for), for compact binary type as to partials deleted headers take significantly less memory than purged headers would take. in fact if you would try to purge a large binary newsgroup it would be significant waste of memory if implemented differently.

thus purging makes sense only for non-compact newsgroup types, since then newsgroup storage takes much more memory but when purged headers take less memory (it is why in newspro it always works, no compact type there).

so it is like a safety feature to prevent you from making the program to use too much memory, when you expect the opposite.

here what is written in UE.txt:

"Currently the storage for expired/purged is not connected to compact binary type for partials, so instead of purging partials you can just delete headers, in any scenario it wouldn't decrease the database space, so no compelling reason to purge headers for the type"

it is also written there that an exception is made for headers with bodies, so headers with bodies are fully purged (it makes some sense, since we don't usually have too many headers with bodies so the impact on RAM will be minimal).
Post Reply