MySQL Forums
Forum List  »  General

Log slow queries
Posted by: Jonas Gauffin
Date: October 28, 2004 03:41AM

I've added the following to my my.cnf

[mysqld]
log_slow_queries=slow_queries.log
set-variable = long_query_time=5
long_query_time=5

Do it log queries that have locked a table for a long time too? Or only slow queries?

Options: ReplyQuote


Subject
Written By
Posted
Log slow queries
October 28, 2004 03:41AM
October 28, 2004 12:32PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.