For those running dbmail_2_2_branch SVN, have you see the new timing
output and any of the lower debug levels? Here's the skinny:
TRACE(TRACE_DEBUG, "last transaction took [%d] seconds", elapsed);
if (elapsed > 10)
TRACE(TRACE_INFO, "slow transaction took [%d] seconds", elapsed);
if (elapsed > 20)
TRACE(TRACE_MESSAGE, "slow transaction took [%d] seconds", elapsed);
if (elapsed > 40)
TRACE(TRACE_WARNING, "slow transaction took [%d] seconds", elapsed);
Same pattern for individual queries. If there's one query that takes too
long inside of a transaction, we'll see both times. If there's too many
short queries that all happen inside one transaction, we'll see that
just in the transaction overall time.
I hope that this will yield some interesting results.
Feedback appreciated!
Aaron
_______________________________________________
Dbmail-dev mailing list
[email protected]
http://twister.fastxs.net/mailman/listinfo/dbmail-dev