[ZODB-Dev] How do I find out the size of a subtree of the object graph?
Andreas Jung
lists at zopyx.com
Mon Sep 14 07:38:50 EDT 2009
On 14.09.09 13:27, Chris Withers wrote:
> 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?
Perhaps useful:
https://bugs.launchpad.net/zodb/+bug/424172
(but pretty low-level).
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lists.vcf
Type: text/x-vcard
Size: 316 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zodb-dev/attachments/20090914/d717c4c4/attachment.vcf
More information about the ZODB-Dev
mailing list