![]() |
Quote:
this hack speeds thread-display because it will not have to crawl the whole post-table to check the "visible" column, it just uses the indexed "thread" column which is alot faster. this is not "a tiny bit" this is MUCH faster on big forums whith huge threads. I've installed it on my 2 million post forum and it runs like a charm now. |
Unfortunately I don't have a forum with 2 million posts to check it on. http://smilies.xibase.com/shrug.gif Why not index the visible column then? Since you have a multi-GB post table, what's an extra few dozen megs gonna hurt?
As for the post count, $thread['replycount'] is not incremented for posts that are placed in the moderation queue. it is only updated when they are taken out of the queue. That's the whole point of the reply count field, if there were more replies showing in the count on forumdisplay than were visible in the thread, people would start to wonder. |
I like this hack and it definately improved the speed, but we have a moderated users hack and this causes those posts to show up anyway, so I had to uninstall it.
Definately a great concept though :) |
Nice.. Thanks
|
fury's suggestion for reducing yet another query, has this been independently confirmed as well before I play with it. :D
|
Quote:
|
Can this optimization work with this hack below?
https://vborg.vbsupport.ru/showthrea...threadid=36416 These lines (that you ask me to replace) are different in my showthread.php: PHP Code:
PHP Code:
|
great hack, noticed it straight away
|
Any solution on my question above anyone? :)
|
Mow installed on AVS Forum (http://www.avsforum.com) and it does help with this large active site.
Anything to make the DB server happier. :) |
All times are GMT. The time now is 01:46 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|