![]() |
Quote:
I dont see the exclussion in this condition :( |
always the small things that make a big impact. :)
Thanks. |
Quote:
But I'd love to hear more from Freddie on this :) |
thanks
|
vb3 rc4:
"Parse error: parse error, unexpected $ in /www/htdocs/********/search.php on line 1658" this is line 1654 to 1668: PHP Code:
|
Interesting - my method to limit the load was to modify the query so that it is forced to only scan the past 100 posts posted only. According to the mysql logs, that only made the query scan 100 rows. But I will try this out for sure. :)
|
Quote:
But: Table thread has an index called forumid which is built from the colums forumid, visible, sticky and lastpost. Three of them (forumid, visible and lastpost) are already conditions of that particular query, so if a condition for column sticky is added mySQL uses this index which dramatically reduces the time to execute the query. @thakikka The code excerpt you posted seems just fine, so the error must be somewhere above. |
It definitely sped things up. Thanks, Freddie!
|
Quote:
|
This should be listed as a bug if it's bringing servers to their knees. Nice try trying to hide it and offer it as a hack. It should have been announced at .com.
|
All times are GMT. The time now is 09:53 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:
|