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

Jim Fulton jim at zope.com
Mon Sep 14 07:08:48 EDT 2009


On Mon, Sep 14, 2009 at 5:55 AM, Chris Withers <chris at simplistix.co.uk> wrote:
> Hi All,
>
> As the subject line says with the following definitions:
>
> - size = size on disk, in Mb
>
> - subtee = Zope folderish type things, in this case...

ZODB doesn't provide any direct support because it has no notion of tree.

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

Jim

-- 
Jim Fulton


More information about the ZODB-Dev mailing list