[ZODB-Dev] How to turn off 'GC' when packing on ZODB3.6.2

Laurence Rowe l at lrowe.co.uk
Tue Jan 20 14:26:59 EST 2009


eastxing wrote:
> Hi,
> 
> I am using Plone2.5.5 with Zope2.9.8-final and ZODB3.6.2.Now my Data.fs 
> size is nearly 26G with almost 140k Plone objects and more than 4100k 
> zope objects in the database. Since 2 moths ago, I could not pack my 
> database successfully. Recent days I tried to pack it again, but after 
> more than 72 hours running, the pack process wasn't end
> 
> I readed lots of discussions on the forum, some guys said turn off 'GC' 
> when packing will improve the speed tremendously.Then I found an 
> experimental product -- 'zc.FileStorage' written by Jim, but it seems 
> that it only used by ZODB3.8 or later. So what should I do on ZODB3.6.2 
> to turn off 'GC' when do packing.
> 
> ps:If this is a wrong place to ask the question, please let me know, 
> I'll move it to the right place.

As an alternative to backporting the changes to pack, you could try 
doing a zexp export of the site, and then reimport the zexp into a blank 
Data.fs.

Laurence



More information about the ZODB-Dev mailing list