On Mon, Dec 7, 2009 at 8:31 AM, Jose Benito Gonzalez Lopez <jose.benito.gonza...@cern.ch> wrote: > Since some time ago (not sure since when) our database > has passed from 15GB to 65GB so fast, and it keeps growing > little by little (2 to 5 GB per day). It is clear that something is not > correct in it.
Are you packing it regularly? > We would like to check which objects are taking most of the space > or just try to find out what is going on,... > > Any help or suggestions would be much appreciated. I typically write simple scripts using the file storage iterator for this. (I tend to prefer one-off scripts, mainly because I want to script mummies lile we have in ZODB/scripts. :) I've attached a script that computes statistics on class usage in a file-storage database. Hopefully, it is useful in its own right and useful as a starting point for similar scripts. Jim -- Jim Fulton
Description: Binary data
_______________________________________________ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org https://mail.zope.org/mailman/listinfo/zodb-dev