[ZODB-Dev] How do I find out the size of a subtree of the object graph?

Chris Withers chris at simplistix.co.uk
Mon Sep 14 07:10:34 EDT 2009


Jim Fulton wrote:
> ZODB doesn't provide any direct support because it has no notion of tree.

Does it have any notion of object size on disk for a given object?

> In Zope 2, you could export the folder and look at the size of the export.

Sadly, when you're trying to figure out which folder is using all the 
space on a disk that's running out of space, that's not practical...

Chris

-- 
Simplistix - Content Management, Batch Processing & Python Consulting
            - http://www.simplistix.co.uk


More information about the ZODB-Dev mailing list