logging - MySQL: Slow log; append CPU usage -



logging - MySQL: Slow log; append CPU usage -

i have mysql slow log feature enabled: http://dev.mysql.com/doc/refman/5.1/en/slow-query-log.html

but query_times high due high cpu load.

how can append current cpu load each entry in mysql slow log (it writes file)?

the cpu may high due slow query.

mysql not monitor cpu, going need 3rd party monitoring tool , compare times cpu high times query (that logged) running.

i utilize aws, has nice monitoring, , alert when cpu high, can tail slow query log , see ones causing it.

hope helps some. guess cpu high due query , not query slow due cpu. guess tho.

mysql logging cpu-usage

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -