Adding ORDER BY significantly slows down JOIN query even though all relevant columns are indexed. How can I make it faster?

This isn't a solution, but it will likely help: avoid using '*' to specify the columns you want and specify them explicitly. When you use * to specify all columns, MySQL has to do more work shunting data around when it's sorting the data, thus more likely to do a filesort, which is slow.

The only other way I can think off to get around this would be to alter the table to default the order by - and then remove the order by from your query all together.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions