skip to Main Content

MySql group by is slow

I have a scenario whereby I am trying to fetch a user's most recent messages from over 2 million rows and group them by their parent (or thread) id. However, this grouping is causing the query time to be around…

VIEW QUESTION
Back To Top
Search