[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:27:45 EDT 2009
Jens Vagelpohl wrote:
>
>> 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...
>
> How about simply writing a script that crawls the ZODB and gives you
> paths and sizes?
Indeed, and what's the magic incantation to get the size of the object
as it is on disk?
cheers,
Chris
--
Simplistix - Content Management, Batch Processing & Python Consulting
- http://www.simplistix.co.uk
More information about the ZODB-Dev
mailing list