On May 26, 2009, at 11:17 AM, Laurence Rowe wrote: > Jim Fulton wrote: >> On May 26, 2009, at 10:16 AM, Pedro Ferreira wrote: > >>> In any case, it's not such a surprising number, since we have ~73141 >>> event objects and ~344484 contribution objects, plus ~492016 >>> resource >>> objects, and then each one of these may contain authors, and fore >>> sure >>> some associated objects that store different bits of info... So, >>> even if >>> it doesn't include revisions, 19M is not such a surprising number. >>> I've also tried to run the "analyze.py" script, but it returns me a >>> stream of '''type' object is unsubscriptable" errors, due to: >>> >>> classinfo = pickle.loads(record.data) >>> >>> any suggestion? >> >> No. Unfortunately, most of the "scripts" in ZODB aren't tested or >> documented well and tend to bitrot. >> >>> Also, is there any documentation about the basic structures of the >>> database available? We found some information spread through >>> different >>> sites, but we couldn't find exhaustive documentation for the API >>> (information about the different kinds of persistent classes, >>> etc...). >>> Is there any documentation on this? >> >> >> No. Comprehensive ZODB documentation is needed. This is an upcoming >> project for me. > > I have a patch at https://bugs.launchpad.net/zodb/+bug/223331 which > fixes this.
Wow! Comprehensive ZODB documentation in a patch. ;) Feel free to check this in. Feel even freer to write a test. :) Jim -- Jim Fulton Zope Corporation _______________________________________________ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman/listinfo/zodb-dev