Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Slow Queries – 300 second query times


chrishajer
Participant

@chrishajer

There have been some relevant discussions here:

https://bbpress.org/forums/topic/bbpress-0901-gt-30-queries-per-page

https://bbpress.org/forums/topic/server-overload

https://bbpress.org/forums/topic/fulltext-searching-very-slow

https://bbpress.org/forums/topic/how-to-evaluate-server-speed

Looking at the front page of your forum, I see a total of 3074 threads and 22,121 posts. Is there more than meets the eye here to come up with 2.5 million rows of data? Or maybe there’s not 2.5 millions rows in bb_topics, it’s just because of the subquery that it looks at that many records (like it’s something I don’t understand about the way MySQL displays the number or rows searched)?

Did the amount of data grow exponentially after the conversion from xdforums? Maybe there were 20K rows in xdforums, but something with the conversion didn’t go well and it duplicated a bunch of data? How many rows were there in comparable tables before and after conversion?

Something doesn’t add up.

Also, are all those queries the same, and if so, is that query just trying to determine the last poster, from the “Forum Last Poster” plugin? If so, have you tried just turning that plugin off? If that works, then maybe just optimizing the query for your installation would work and you could turn it back on after modifying the plugin.

Of all the plugins, the only other one I could see affecting the queries like that would be the Post Count Plus. That would be the second one I turn off and check for a performance difference.

Skip to toolbar