Open GoogleCodeExporter opened 8 years ago
Looks like even a non-integer Lock_time would cause the error.
Original comment by jaykumar...@gmail.com
on 12 Aug 2011 at 1:10
[deleted comment]
Both the python and php version expect integers in the log file like the
following:
# Query_time: 0 Lock_time: 0 Rows_sent: 0 Rows_examined: 156
Until anyone rewrites the script to work with floats, you can filter the slow
query log with sed like the following:
cat mysqld-slow.log | sed -r 's/([0-9])\.([0-9]{6})/\1\2/g' >
mysqld-slow-int.log
When running the reports, the script will work like expected, just remember
that all times in the reports are microseconds, not seconds :)
Original comment by fredrik....@gmail.com
on 16 Dec 2011 at 4:44
Original issue reported on code.google.com by
jaykumar...@gmail.com
on 12 Aug 2011 at 12:45