The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
looking through my slow query log, i found a large number of these queries
Code:
SELECT
COUNT(*) AS count_posts
FROM post AS p
INNER JOIN thread as t ON p.threadid=t.threadid
WHERE p.visible=1
AND p.userid=11586;
Another problematic query is: Code:
SELECT
P.userid, COUNT(userid) AS times
FROM thread AS T
INNER JOIN post AS P ON T.lastpostid=P.postid
WHERE P.userid=11586
GROUP BY P.userid
ORDER BY P.dateline DESC, P.userid;
Thoughts... ? ndahiya |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|