Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [mysqld]
- slow_query_log = 1
- slow-query_log_file=/var/lib/mysql/slow_queries.log
- long_query_time = 5
- log_queries_not_using_indexes=1
- tail -f slow_queries.log
- # User@Host: ascomaxx_hawk[ascomaxx_hawk] @ localhost []
- # Query_time: 0.005262 Lock_time: 0.000044 Rows_sent: 1 Rows_examined: 7535
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement