如何查看 mqsql中的sql的執行時間的長短

SHOW  VARIABLES LIKE "%pro%";  //  查看profile是否是打開的  ON 打開  off 關閉sql SET profiling = 1;    // 開啓 profiles blog 執行sql     如:SELECT COUNT(createtime) FROM  who_user_function;io show  profiles; // 查看該sql
相關文章
相關標籤/搜索