Re: Fulltext performance problem.

2004-08-24 Thread SGreen
How fast is this query? SELECT id FROM msg_body WHERE MATCH(body) AGAINST( 'WORD') If it's fast , you may have to re-state your query so that you are not FT searching and joining tables in the same statement. The optimizer can only use 1 index at a time from any table. We may be running into

Re: Fulltext performance problem.

2004-08-23 Thread Thomas Spahni
Hi Fredrik, a LEFT JOIN could be faster (I'm not sure, try it). And you don't have a fulltext index on msg_header.list. What about this? SELECTmsg_header.bodyid, msg_header.id, msg_header.subject, msg_header.mfrom, msg_header.date, msg_header.list FROM msg_header LEFT JOIN

Fulltext performance problem.

2004-08-20 Thread Fredrik Carlsson
Hi all, I'm running a small mail archive and have a little problem with the fulltext search performance. I really appreciate any tips/design suggestions (even if it dont have to do with the search problem ;) ). Database schema: mysql describe msg_header;