PDA

View Full Version : Query for a specific amount of time...


stevenmw
07-20-2007, 12:56 AM
I was wondering if there was some possible way to display a mqsql query for an exact ammount of time? If anyone has any tips, or knows of any certain php functions I very much aprreciate it.

Thanks.

gemguy
07-23-2007, 01:03 PM
Hi,

Normally the query execution time will be 10 seconds by default. you can set the time by using long_query to make the execution faster.

long_query_time = 5

This would execute in 5 seconds rather than 10 seconds.