In psql, with \timing on, query times are displayed in milliseconds + hundredths of milliseconds. In MySQL, they are only displayed in seconds + hundredths of seconds. Is there a way to get MySQL to display them in milliseconds too (I'm trying to compare queries, but the small times just come out as zero in MySQL, which isn't very helpful).
Tell me more
×
Database Administrators Stack Exchange is a question and answer site for
database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.
|
|
|||
|
For a test/check session you can enable the Slow Query Log and setting the sysvar
|
|||
|
|
set profiling=1;As suggested in stackoverflow.com/questions/2825838/… – wkoot Sep 16 '12 at 11:09