performance - How to find more information about a given MySQL process? -
i have slow query built orm , i'm curios how find out exact query being executed.
i cannot monitor mysql-slow.log
because never finishes execution (as in don't have eternity wait it, more hour in still waiting).
also cannot query orm, after execution. , way think of getting process list.
show processlist \g
but problem of query trimmed of, before from
keyword.
this question has been asked before no answer https://stackoverflow.com/questions/3741356/find-queries-from-process-id-mysql-5-1-x
any suggestions?
if query formatted in multiple lines, mysql clients display first line. see full output run show full processlist;
query in mysql console.
Comments
Post a Comment