I have noticed weird CPU consumption peaks for MySQL process. When I monitor running queries, it's empty or some reasonable queries being executed. How do I better address the problem?
Is there a tool, which can monitor MySQL getting into CPU peak and dump stats on running queries to some log?