On Apr 5, 2008, at 11:49 AM, Manuel Vazquez Acosta wrote:
Recently I was appointed to improve a Plone's performance, and I have
the following issue:
I see too many transactions made by the anonymous user. I can
this behaviour: just watching the home page produces a transaction at
/index by None.
I wonder if there's a way to actually see what objects (or object
are modified by those transactions. So I can go directly to the source
of the (surely innecesary) transaction.
I tried analyze.py but I don't grasp the output accurately.
In a development environment, set a breakpoint (e.g. add "import pdb;
pdb.set_trace()" in ZODB.Connection.Connection.register.
You'll be able to see exactly what is causing object changes. I
recommend doing this in the zope debugger, which makes it easy to run
one request at a time.
For more information about ZODB, see the ZODB Wiki:
ZODB-Dev mailing list - ZODB-Dev@zope.org