Re: Slow Queries : Using Temporary , Using Filesort
Posted by:
Rick James
Date: October 26, 2010 10:37PM
Query 2:
SELECT o.id, o.title, o.desc, o.uid, o.keyword,
o.comp
FROM uniqueproducts o
INNER JOIN mem_pack m ON o.uid = m.uid
WHERE o.approv = 1
AND m.type = 3
AND match(o.title , o.keyword ) against ('+shirt +and +trouser/jeans' in boolean mode)
GROUP BY o.uid
ORDER BY o.date ASC, o.id ASC
LIMIT 0, 10;
You need this for FULLTEXT to kick in:
FULLTEXT(title, keyword)
KEY `uid` (`uid`),
Where's the field? It seems to be NULLable? Should it be?
Subject
Views
Written By
Posted
7229
October 22, 2010 06:41AM
2858
October 26, 2010 10:32PM
2453
October 30, 2010 03:29PM
Re: Slow Queries : Using Temporary , Using Filesort
2479
October 26, 2010 10:37PM
3186
October 30, 2010 03:42PM
2564
November 02, 2010 12:23PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.