← Back to team overview

mysql-proxy-discuss team mailing list archive

query response time

 

Hello,
I want to monitor the response time of the mysql servers
I have to write a lua script that do this:
for each received query
	time1= getcurrentTime "in milliseconde"
	execute query
	time2= getcurrentTime "in milliseconde"
	print "time2-time1"

Did someone do this before??
Best regardes

-- 

Aeiman