Re: [ZODB-Dev] Calculating Physical Object Size
Marius Gedminas wrote: On Tue, Aug 08, 2006 at 04:19:10PM -0400, Chris S wrote: Is there anyway to determine how much disk space a specific object (including child objects) occupies in filestorage? For argument's sake, I'm assuming farily simplistic structures with no circular references. There's a small program floating around that does something like that. analyze.py by Matt Kromer. I think I got it from this list, or maybe it comes with Zope 2. Or both ;) IIRC this belongs to the utilities delivered with the standalone ZODB package. It should be somewhere in the Zope tree too. Christian -- gocept gmbh co. kg - forsterstraße 29 - 06112 halle/saale - germany www.gocept.com - [EMAIL PROTECTED] - phone +49 345 122 9889 7 - fax +49 345 122 9889 1 - zope and plone consulting and development ___ 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
Re: [ZODB-Dev] Calculating Physical Object Size
On Tue, Aug 08, 2006 at 04:19:10PM -0400, Chris S wrote: Is there anyway to determine how much disk space a specific object (including child objects) occupies in filestorage? For argument's sake, I'm assuming farily simplistic structures with no circular references. There's a small program floating around that does something like that. analyze.py by Matt Kromer. I think I got it from this list, or maybe it comes with Zope 2. Or both ;) Marius Gedminas -- ... one of the main causes of the fall of the Roman Empire was that, lacking zero, they had no way to indicate successful termination of their C programs. -- Robert Firth signature.asc Description: Digital signature ___ 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
Re: [ZODB-Dev] Calculating Physical Object Size
Chris S wrote at 2006-8-8 16:19 -0400: Is there anyway to determine how much disk space a specific object (including child objects) occupies in filestorage? For argument's sake, I'm assuming farily simplistic structures with no circular references. No. For Zope there is a QuotaFolder product that tries to approximate this question. Maybe, you can find some hints there. If you want a complete solution, it will be very expensive. -- Dieter ___ 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