[ZODB-Dev] ZODB load/save tracing

Christian Theune ct at gocept.com
Sat Feb 24 14:00:40 EST 2007


Hi,

I'm pretty sure there are no hooks around that do what you need.

The methods you want to tap into would be

store()
load*()

on the storages.

You might want to look into how the BlobStorage was created to make
yourself a "tracing storage" that can be wrapped around an existing
storage to allow usage with multiple other storages.

This could be a useful extensions to ZODB. If you go this way,  I'd be
happy to help out with some of the packaging mechanics and getting the
ZConfig parts fletched out.

Christian

Am Samstag, den 24.02.2007, 14:33 +0100 schrieb Adam Groszer:
> Hello,
> 
> I'm using ZODB in a GUI application, so outside of Zope.
> 
> I'm having performance problems. I'm already on the way of figuring
> out what causes a lot of object load. getTransferCounts helped in
> that. But now I would need something more detailed.
> 
> Are there any hooks or something to get detailed object load
> statistics?
> Worst case I could hook into some methods of ZODB temporarly to
> collect the data, but into which methods?
> 
> Any help or pointers are welcome.
> 
-- 
gocept gmbh & co. kg - forsterstraße 29 - 06112 halle/saale - germany
www.gocept.com - ct at gocept.com - phone +49 345 122 9889 7 -
fax +49 345 122 9889 1 - zope and plone consulting and development
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://mail.zope.org/pipermail/zodb-dev/attachments/20070224/2fb4d8b1/attachment.bin


More information about the ZODB-Dev mailing list