On Thu, 2007-06-28 at 10:02 +0200, Marc Dirix wrote:
> >
> > Right, and mysql can, too.  But looking at eg. the "slow squirrelmail"
> > thread on the dbmail list right now, if dbmail itsself provided timing
> > along with all the other level 5 info, there would be no need to be
> > requesting that from the original poster.  That's a somewhat common  
> > info
> > request, so would save time debuggging things.  It wouldn't slow  
> > things
> > too much (primarily the extra log message) .. and as you mentioned,  
> > level
> > is slow, it's only for debugging problems, not real use.
> >
> 
> As most do these sort of debugging on the production system, I would  
> say every performance hit
> has to be taken with care. I would not like to put anymore strain on  
> the users then necessary when
> already debugging a "slow" problem.

How expensive can doing this ourselves this be? Two calls to time(2),
subtract, compare with some threshold value, log if it exceeds that.
Seems like a great deal because we can log slow queries at a higher
level, making it less expensive to debug problems like these.

Aaron

_______________________________________________
Dbmail-dev mailing list
[email protected]
http://twister.fastxs.net/mailman/listinfo/dbmail-dev

Reply via email to