[ZODB-Dev] Blobstorage shrinks only after the second pack operation - bug or feature?

Andreas Jung lists at zopyx.com
Sun Dec 30 17:41:40 UTC 2012



Jim Fulton wrote:
> On Sun, Dec 30, 2012 at 12:22 PM, Andreas Jung <lists at zopyx.com> wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>>
>>
>> Jim Fulton wrote:
>>> On Sun, Dec 30, 2012 at 3:50 AM, Andreas Jung <lists at zopyx.com>
>>> wrote:
>>>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
>>>>
>>>> I noticed a strange behavior with packing a storage having lots of
>>>> data in a blob storage (Plone 4.2, Zope 2.13).
>>>>
>>>> I had a large Plone site (5 GB of data in blobstorage) in a
>>>> dedicated storage. I removed the Plone Site object and packed the
>>>> storage through the Zope 2 database management screen. The size of
>>>> the Data.fs went down however the blobstorage size remained the
>>>> same. Packing a second removed the obsolete data from the blob
>>>> storage.
>>>>
>>>> So why do I have to pack two times in order to get a minimized
>>>> blob storage?
>>> Without knowing more details, it's impossible to know.
>>>
>>> What did you have pack-keep-old set to?
>> I used the default of the Zope 2 UI which is 0 (days).
>
> You didn't answer my question.  I didn't ask how many days you packed to.
> I asked if you set pack-keep-old. I'm guessing from your response that you
> didn't.

There is no such value exposed exposed in the Zope 2 database management 
control panel. It only offers the same packed-to value as it did ten years
ago. 

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lists.vcf
Type: text/x-vcard
Size: 367 bytes
Desc: not available
URL: <http://mail.zope.org/pipermail/zodb-dev/attachments/20121230/cded207c/attachment.vcf>


More information about the ZODB-Dev mailing list