I created a mutilple-column index say,
"create index col1_col2 on table_name (col1,col2) "
Both col1 and col2 are mediumint unsigned.
"explain select * from table_name where col1='value' order by col1 DESC,col2 DESC "
shows that the query is still using filesort !
This is not supposed the be the case. Mysql manual says it should read the index backward.
what is happening here? anyone know?
It's MySql version 3.23.23. Not including "DESC" doesn't use any filesort.
many thanks