
08-09-2009, 03:21 PM
|
|
|
Join Date: Oct 2007
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by thincom2000
The cron is deadly to boards with many threads... the cron query returns every thread in the database, (the 500 "limit" applies to how many loop recursions are processed), where it should be limiting the query itself. Once that's fixed, we face a table scan - an INDEX should be added on taglist and autoskip:
Code:
ALTER TABLE " . TABLE_PREFIX . "thread
ADD INDEX taglist (taglist ( 1 ) , autoskip)
Since we only need to check if taglist is empty, indexing the entire MEDIUMTEXT value is unnecessary, so use a length of 1 to save space.
|
I have a huge board, is it safe to install given this limitation?
|