From: Nick C. <ni...@cl...> - 2003-01-21 18:09:27
|
On Tue, Jan 21, 2003 at 12:16:44PM -0500, Paul Roub wrote: > > > > Is this correct? If I'm getting what you're saying, we will need to delete > > messages from the beginning middle and end of a file if they contain more > > than one message. > > But in the normal (quota management) case, you'd delete oldest-first -- i.e. > from the beginning. If you batch this up a bit, it's not too bad. I don't like one big file including message bodies. The only simple way to delete a post (without risk of loosing the whole lot if the script is killed or the server reboots half way through) is to write out a new copy of the file and then rename it over the old version. That limits the total size you can have to *half* your quota, and makes it impossible to delete messages via the admin script once the account is over half quota. The users won't like that. Also, some system backup utils will dump only files modified since the last backup, and these will work much better with each message body in a separate file. -- Nick |