I'm seeing queries in my MySQL slow query log that have the character "N" instead of a specific value. Can I change that? I need in logs the real value with witch the query was executed.
I'm using MySQL 5.5.32.
Are you using mysqldumpslow
to read your slow query log?
mysqldumpslow
converts all numbers to N
and all strings to 'S'
. It also normalises the case of all queries, any whitespace and any quoting before aggregating all similar queries together.
show variables like "%log%"
is:expire_logs_days | 10
Thanks for reply.mysqldumpslow
to read your slow query log?mysqldumpslow
and pipe the output toless
so I can read it, but now while reading data I forget that data don't come from file directly and thatmysqldumpslow
could be (as actually is) making some kind of change to the queries to summarize it. Thanks a lot @Ladadadada, if you write a answer I will select it. Thanks again for the help!