查看SQL运行时间

set @d=now();
select * from table;
select timestampdiff(second,@d,now());
原文地址:https://www.cnblogs.com/liang545621/p/9564256.html