问题
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