Closed WildcardSearch closed 6 years ago
@WildcardSearch @chack1172 what about other areas, any way for further optimisation? :)
@Eldenroot tomorrow I'll check if there is something to optimize
I checked all the queries now and I found nothing to optimize @Eldenroot
Guys, I'm still short on time, but when I can test this PR, it should be trivial to get 3.2.4 released.
Thanks for all the help!
I've pulled @chack1172's fix, but talking to a BBO on Discord leads me to believe that we still need to do better. I'm thinking that ORDER BY MAX(p.pid) DESC
is the trouble. If the posts
table is very large then having to order all posts will be a heavy load on the host.
Maybe I can just use some PHP to sort the results from a less expensive query.
I think the last commit will make this query much cheaper for big boards. Any testing would be appreciated @chack1172 @Eldenroot
Brought to my attention by @chack1172