On Tue, Sep 27, 2011 at 4:23 AM, 刘一新 <liuy...@gmail.com> wrote:
> I found that the size of the storage file (test.fs for example) does not
> change when I remove some or all object from it.
> To empty test.fs, I recreate it.
> But If I want to only remove some object in test.fs, I must do following:
> 1. zeopack the database
> 2. rm -f test.fs.old
> Am I right?
> BTW, what does the zeopack exactly do? And when should I use it? I try to
> find some instructions on it but without success.
In addition to Vincent's remarks, I'll also note that FileStorage has
an option to keep old (unpacked) files. If set to False, the old file
will be automatically removed.
For more information about ZODB, see the ZODB Wiki:
ZODB-Dev mailing list - ZODB-Dev@zope.org