← Back to team overview

mysql-proxy-discuss team mailing list archive

Re: query response time

 

On Mon, Dec 7, 2009 at 4:09 AM, Gadafi Aeiman <aeiman.gadafi@xxxxxxxxxxx> wrote:
> 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??

Someone did

http://fernandoipar.com/2009/04/06/using-mysql-proxy-to-benchmark-query-performance/

:)

Thanks

  -Diego

> Best regardes
>
> --
>
> Aeiman
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~mysql-proxy-discuss
> Post to     : mysql-proxy-discuss@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~mysql-proxy-discuss
> More help   : https://help.launchpad.net/ListHelp
>



-- 
Diego Medina
Web Developer
http://www.fmpwizard.com



Follow ups

References