On Mar 21, 2006, at 11:41 AM, Jesus Cea wrote: > You do need a way to avoid multiple copies of an already copied > object. > Yes, you can use a file on disk for keep that info around. Yes, I forgot about that. > > Still, if I do a garbage collection of a 5 Gigabytes filestorage, I > will > need a temporal 5 gigabytes copyspace on disk. And remember, my > storage > is about 480 gigabytes, currently. No way I could do a garbage > collection in the way currently durus backend works :-p : performance, > time use, disk bandwidth and I can't afford a 480 mbytes temporal > file... > > So the reference counters in the BerkeleyDB backend :-) I understand. And, the fact that your application works is impressive. -- I asked about references between mailboxes before because I was wondering if you would benefit from using a separate database for each user, or maybe some partition by groups of users would be practical. I was also wondering if your message bodies are ever edited. Is it important to keep them in the database?