This is a static archive of our old Q&A Site. Please post any new questions and answers at

How to find time taken to execute msql query



I have captured mysql traffic with wireshark. I would like to know how long it took to execute the query.

what type of filter can i use to get this information.


asked 04 Mar '15, 05:29

scara's gravatar image

accept rate: 0%

One Answer:


Usually, find the request and find the last packet of the response. Then use a time reference point on the relative time column to determine how long it took between those two (set your time column to "seconds since beginning of the capture" and use the popup menu on the request packet to set a time reference).

answered 04 Mar '15, 05:40

Jasper's gravatar image

Jasper ♦♦
accept rate: 18%