Re: Really need help with optimization
Posted by:
Toa Sty
Date: August 23, 2006 12:50AM
Hiya,
You're joining on tblPriceData.sProductTitle and tblPriceCategory.sProductName but because you don't have any usable indexes for either of these my guess is that your queries will table scan to do the join. (not great)
As a first attempt, try sticking separate normal (non-fulltext) indexes on these two fields.
Also IIRC, fields should be of the same datatype to get good join performance, so try changing tblPriceCategory.sProductName to be a varchar(100) say.
If you can do these things then and post EXPLAIN plans for all/some query combinations it'd be very useful. (otherwise I have to try to work out in my head how the queries will run and I'm not smart enough to do that by far :D )
Toasty
Subject
Views
Written By
Posted
3318
August 22, 2006 01:43PM
2017
August 22, 2006 01:46PM
Re: Really need help with optimization
1990
August 23, 2006 12:50AM
2066
August 23, 2006 01:24PM
2004
August 24, 2006 04:53AM
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.