Yep, that will probably be slow as hell on a forum with loads of threads.
It wont directly bring apache down, although if you have loads of visitors and everyone is running that query, and taking that long, its going to have some serious effects, and you will likely run out of resources for httpd to run properly (and mysql if its on the same box).
The lastpost in the Order By seems a bit redundant as well.
Turn that plugin off.
|