开发者

How can I see how long statements take to execute on the mysql command line?

开发者 https://www.devze.com 2022-12-17 03:40 出处:网络
When I execute statements on the mysql 开发者_C百科command line, there must be some way to always display how long the command took to execute?It does show that info for every command executed:

When I execute statements on the mysql 开发者_C百科command line, there must be some way to always display how long the command took to execute?


It does show that info for every command executed:

mysql> select md5('dkejde');
+----------------------------------+
| md5('dkejde')                    |
+----------------------------------+
| 3960c3b0aa4acc97ca277cdea69775fd | 
+----------------------------------+
1 row in set (0.04 sec)

mysql> show databases;
...
38 rows in set (0.29 sec)

You don't see that?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号