首先设置参数:
set profiles=1;

然后输入命令,可以查看已经执行命令执行的时间
show profiles;[
输入命令show profile;可获取执行每个详细步骤的时间。

show processlist查看连接数。
mysql查看每个操作所用的时间
最新推荐文章于 2023-08-25 14:19:28 发布
首先设置参数:
set profiles=1;

然后输入命令,可以查看已经执行命令执行的时间
show profiles;[
输入命令show profile;可获取执行每个详细步骤的时间。

show processlist查看连接数。
1096
1万+

被折叠的 条评论
为什么被折叠?