[Product-Developers] Useful/possible to pack the blobstorage?

Simone Orsi simahawk at gmail.com
Mon Feb 13 20:20:34 UTC 2012


Hi Maarten,

On 13/02/12 20:21, Maarten Nieber wrote:
> ajung<lists at ...>  writes:
>> Packing affects of the Data.fs and the blobstorage. Or?
>>
> I just packed the database on my local machine (filestorage:60 mb, blobstorage:
> 2.5 Gb) and the filestorage was reduced from 60 to 30 mb, whereas the
> blobstorage remained the same size. So it seems that the blobstorage is not
> packed.

the answer is "yes".

Take a look here:

http://plone.293351.n2.nabble.com/backup-of-blobstorage-in-collective-recipe-backup-td5411264.html

and actually if you look at the code here:

eggs/ZODB3-3.9.5-py2.6-linux-i686.egg/ZODB/blob.py

you'll see a "pack" method that does the job.

Cheers,
SimO


More information about the Product-Developers mailing list