Imagine you tried to use the slow query log to debug a
performance problem. Does the current format have enough details?
# Time: 100309 18:48:23
# User@Host: root[root] @ localhost []
# Query_time: 0 Lock_time: 0 Rows_sent: 1 Rows_examined: 1
I have added Thread_id, Errno, Start and
End. Thread_id can be used to find similar data
from SHOW PROCESSLIST and the binlog. Errno is useful in
many cases. Start and End are there for
convenience. Can you suggest anything else that would be easy to
add? Note that Rows_sent and Rows_examined are
always zero for insert, update and delete statements. Feature
request 49756 is open to change that. Maybe that is easy to
fix.
# Query_time: 0 Lock_time: 0 Rows_sent: 1 Rows_examined: 1\
Thread_id: 3 Errno: 0 Start: 18:48:23 End: 18:48:23 …
[Read more]