Slow log not loggs all queries
Posted by: otar shavadze
Date: October 01, 2018 04:36AM

I have these settings:


set global slow_query_log = 1;
set global long_query_time = 0;
set global log_queries_not_using_indexes = 1;
set global log_output = 'TABLE';


Then, when I check "mysql.slow_log" table, there are not all queries logged, for example, this query:

SELECT * FROM mytable LIMIT 1400;

Is logged, while this one:

SELECT count(*), max(id) FROM mytable;

Is not in table.

What should reason of this?

I use MySQL 5.7, on Ubuntu OS

Options: ReplyQuote


Subject
Written By
Posted
Slow log not loggs all queries
October 01, 2018 04:36AM


Sorry, only registered users may post in this forum.

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.