ORDER BY / GROYP BY slow - MySQL 8.0
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?
Subject
Views
Written By
Posted
ORDER BY / GROYP BY slow - MySQL 8.0
633
January 09, 2022 08:02AM
328
January 09, 2022 08:16AM
348
January 09, 2022 09:13AM
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.