Mysql自帶profiling性能分析工具

1. show variables like '%profiling%'; (查看profiling信息)   2. set profiling=1; (開啓profiling)   3. 執行SQL查詢 例:select goods_name from ecs_goods where goods_id <5000; show  profiles;     4. show profile for
相關文章
相關標籤/搜索