long_query_time seconds to execute.
mysqld writes a statement to the slow query log after it has been executed and after all locks have been released.
long_query_time are 1 and 10, respectively.
mysqld with the --log-slow-queries[=name] option.
mysqld uses the hostname followed by -slow.log and writes the file in the data directory.
mysqldumpslow command to summarize the queries that appear in the log.
mysqldumpslow --help to see the options this command supports.
How do I perform server log maintenance?
© 2007 John Michael Pierobon