It's for mysql. In mysql, the default shows in seconds. I want the time unit to be accurated to milliseconds.
Asked
Active
Viewed 87 times
3 Answers
1
Check the link http://webmonkeyuk.wordpress.com/2011/04/18/mysql-servers-built-in-profiling-support/

niktrs
- 9,858
- 1
- 30
- 30
1
Personally I tend to find it a better thing to do at the app level. A query can be slow for a multitude of reasons:
- Dismal SQL statement
- Network latency (send the SQL, bring back the result)
- Parsing the result (eg date/datetime in ruby)
If you log the complete query time as seen by the app, you spot more bottlenecks.

Denis de Bernardy
- 75,850
- 13
- 131
- 154