Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Packing a non-ZEO Zope instance broken #623
For Zope 2.13, there was a button in the ZMI which allowed packing a DB - the button used to call ApplicationManager.manage_pack.
Both the button and the method got removed back in 2016
I'll look into that.
There's no point in creating a script for such a standalone instance. It wouldn't be able to access the Data.fs file unless you shut down the Zope instance, or it would end up basically faking out that button click in the ZMI if the button returns. Zope 2 never had such a script, either, for good reason.
Georg Pfolz wrote at 2019-8-14 01:44 -0700:
So how are we supposed to pack the ZODB for standalone instances with Zope4? There is a button "Minimize" now, but it doesn't seem affect the size of the ZODB, same for calling it from a POST request. Did I miss something?
"minimize" minimizes the ZODB caches (by unloading unused objects).