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
170
January 09, 2022 08:02AM
96
January 09, 2022 08:16AM
96
January 09, 2022 09:13AM
Sorry, only registered users may post in this forum.
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.