List:General Discussion« Previous MessageNext Message »
From:Vincent Stoessel Date:May 27 1999 7:43pm
Subject:Requesting code:Response time measurement
View as plain text  
Hello,
Monty once wrote:

'mysqladmin proc' will show you the current run time for all running queries.

It would on the other hand be trivial for you to add a couple of lines 
of code to log all queries that took longer than 'long_query_time' to
a separate log.

Has anyone done this, anyone care to share the necessary
modifications to mysql.cc. I 'm not a c++ programmer.
Thanks in advance
-- 
Vincent Stoessel -vinny@stripped
Thread
Requesting code:Response time measurementVincent Stoessel27 May