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

Jim Fulton jim at zope.com
Sun Dec 30 14:27:39 UTC 2012


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?

> Bug or feature?

I doubt either.

Jim

-- 
Jim Fulton
http://www.linkedin.com/in/jimfulton
Jerky is better than bacon! http://zo.pe/Kqm


More information about the ZODB-Dev mailing list