Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
List topic sorted by subject/started_by is to slow #4820
In my test env its doubled or more the time run this query:
Qry for order by Subject:
Core issue is that the sort columns in different tables and the database maybe do the sort/limit stuff to late.
Both can be fixed and both would improve the runtime
After some sleep I realize that the cte version works easy without cte