how to analyze Query CPU time

杀马特。学长 韩版系。学妹 提交于 2020-01-01 22:49:49

问题


How can I analyze the CPU time consumed by my Innodb queries?

I have innotop, but I cant seems to find where it is.

Thanks.


回答1:


You may analyze CPU usage by individual queries with SHOW PROFILE CPU command

AFAIK there is no way to check how much CPU "all innodb queries used".



来源:https://stackoverflow.com/questions/2280984/how-to-analyze-query-cpu-time

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!