[TYPO3-dev] indexed_search kills server

Oliver Rowlands oliver at liquidlight.co.uk
Wed May 21 11:45:15 CEST 2008


Hi Steffen,

The 21,263,272 Rows_examined is where your problems are coming from.

The bottom line is 'indexed_search' does not scale. It's great for a 100 
page site but beyond that you will be better off using an external crawler.

You might want to give Dimitry's 'mnogosearch' extension a try, it is 
far more scalable and efficient than 'indexed_search' will ever be.

If you are stuck with 'indexed_search' you could try enabling 
'$join_pages' in the tx_indexedsearch class if you are not bothered by 
'extendToSubpages':

http://typo3.org/documentation/document-library/extension-manuals/doc_indexed_search/current/view/1/6/#id3520912

Best regards,

Oliver

Steffen Kamper wrote:
> Hi,
> 
> on my server i encountered massive problems with indexed_search.
> 
> Have a look to query times:
> 
> # Time: 080521 10:18:31
> # User at Host: web2[web2] @ localhost []
> # Query_time: 555  Lock_time: 0  Rows_sent: 30  Rows_examined: 21263272
> SELECT IR.phash
>                         FROM index_words IW,
>                                                 index_rel IR,
>                                                 index_section ISEC
>                         WHERE
>                                 IW.baseword LIKE '%einrichtung%'
>                                                 AND IW.wid=IR.wid
>                                                 AND ISEC.phash = IR.phash
>                                                 AND ISEC.rl0 IN (1)
>                                                  AND is_stopword=0
>                         GROUP BY IR.phash;
> # Time: 080521 10:28:30
> # User at Host: web2[web2] @ localhost []
> # Query_time: 599  Lock_time: 0  Rows_sent: 960  Rows_examined: 21270094
> SELECT IR.phash
>                         FROM index_words IW,
>                                                 index_rel IR,
>                                                 index_section ISEC
>                         WHERE
>                                 IW.baseword LIKE '%von%'
>                                                 AND IW.wid=IR.wid
>                                                 AND ISEC.phash = IR.phash
>                                                 AND ISEC.rl0 IN (1)
>                                                  AND is_stopword=0
>                         GROUP BY IR.phash;
> 
> This causes a very high server load and my only chance is to deactivate the 
> indexed_search.
> So any hints are welcome.
> 
> vg Steffen 
> 
> 


-- 
Oliver Rowlands
:: Liquid Light ::

E - oliver at liquidlight.co.uk
W - http://www.liquidlight.co.uk

T - 00 44 (0)845 6 58 88 35
F - 00 44 (0)845 6 58 44 35




More information about the TYPO3-dev mailing list