XF 1.1 Incomplete Import: xf_search_index

Douglas Taylor

Active member
Converted from vb4 to XF1.1

Import failed when during import/rebuild of the search index.

Attempted to rebuild search index and the server continued to time out.

Followed this: http://xenforo.com/community/thread...ch-index-for-a-large-site-experts-only.11195/

Accomplished this:

Code:
ALTER TABLE xf_search_index DISABLE KEYS;

And then ran the rebuild search index: successful

Attempted this:

Code:
ALTER TABLE xf_search_index ENABLE KEYS;

Server processed for 8-plus hours and eventually overloaded and started crashing.

Does anyone have any creative ideas on how to get my search index rebuilt?

Thanks!
 
I'm wondering if I could just do this locally thru MAMP and re-insert it...

Nope. The fulltext indexes don't transfer when you copy a database between servers. The indexes have to be rebuilt.

edit - well maybe. I mean the indexes are built for each record that is inserted into the table (i.e. during the restore).

1.5 million posts.

I'm on CentOS

Shared or dedicated? If the server is crashing during that query then it may not have enough resources or may already be under load.
 
MySQL only has 512K of tmp space? Is that what you meant? That is very small and may slow down the rebuild. Try increasing it.

If you continue to have problems then I say post your my.cnf file (minus any sensitive info) and move this thread to the server forum.
 
Oh... I have also 1.5 Mio Posts. And on my XEON QuadCore with 16GB RAM, the Query runs about one hour. During the rebuild the Load raised up to 6.
 
Top Bottom