MySQL Forums
Forum List  »  Performance

ORDER BY / GROYP BY slow - MySQL 8.0
Posted by: Christos Chatzaras
Date: January 09, 2022 08:02AM

I use query https://dpaste.com/EFQYBCQYG with MySQL 8.0 which takes 1.2 sec.

If I remove ORDER BY and GROUP BY then it takes 0.0087 sec.

I guess the slowdown is because of filesort.

Can I use an index to speedup it? Or any my.cnf configuration?

Options: ReplyQuote


Subject
Views
Written By
Posted
ORDER BY / GROYP BY slow - MySQL 8.0
652
January 09, 2022 08:02AM


Sorry, you can't reply to this topic. It has been closed.

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.