[ZODB-Dev] Is there any convenient way to reduce the storage file size after delete something in database?

刘一新 liuyxpp at gmail.com
Tue Sep 27 03:23:01 EST 2011


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.

Thanks!

-- 
*Dr. Yi-Xin Liu*
*Department of Macromolecular Science*
*Fudan University*
*Room 415, Yuejing Building *
*Handan Rd. 220, **Shanghai, China*
*Tel +86-021-65642863*
*Mobile +86-13916819745*
http://www.mendeley.com/profiles/yi-xin-liu/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zodb-dev/attachments/20110927/44bd648d/attachment.html 


More information about the ZODB-Dev mailing list