Comment 8 for bug 223331

Revision history for this message
Laurence Rowe (lrowe) wrote :

It's certainly not a very informative name, though I have found it useful. (I've written up one use of it before here: http://plone.org/documentation/kb/debug-zodb-bloat). A documented toolkit for writing scripts like this would be nice, but I've found even these scripts helpful as a starting point for custom analyses. However, I suspect there is no need for them to be part of ZODB itself, they would probably be better moved to a separate zodbscripts distribution which is not tied to the ZODB release cycle. If I like I can volunteer to create such a distribution, though I can't promise to add any more tests.

The test was an attempt to mimic various types of pickles that may be found in a database. I'm sure it's incomplete, it was based more on what I observed in pdb while fixing the script.

Laurence