I have a table called users
with a column firstname
and with collation utf8_bin
I want to know what happens under the hood when I execute an query like:
SELECT * FROM `users` `a` WHERE `a`.`firstname` = 'sander' COLLATE utf8_general_ci
The column firstname
isn't an index, what happens with the performance when the command executed?
And what if the default collation was utf8_general_ci
and the query is executed without COLLATE
?
I want to know the impact it has on a big table.