Dan*_*Dan 26 mysql sql profiling database-tuning
如何配置MySQL数据库.我想看到所有SQL都是针对数据库运行的.
我知道你可以这样做:
set profiling=1;
SELECT * FROM messages WHERE fromaddress='xxx';
SHOW PROFILES;
但这似乎只适用于在命令行上运行的东西,我希望看到运行网站的结果.
Tom*_*ter 6
您需要查询日志 - 但显然在繁重的生产服务器上执行此操作可能是......不明智的.
归档时间:
16 年,6 月 前
查看次数:
28342 次
最近记录:
10 年,5 月 前