Subject | Re: [firebird-support] Re: another make my query faster question |
---|---|
Author | Svein Erling Tysvaer |
Post date | 2006-07-13T06:37:43Z |
markd_mms wrote:
used (i.e. he "recommended" the suboptimal plan rather than prevented
it). What you probably want is
INNER JOIN TITLE ON PRODUCT.TITLEID = TITLE.TITLEID+0
Hopefully, you have an index on TITLE.METAPHONE.
HTH,
Set
> --- In firebird-support@yahoogroups.com, "Adam" <s3057043@...> wrote:Adam had the right idea, he just prevented the wrong index from being
>> Try replacing the following line:
>>
>>> INNER JOIN TITLE ON PRODUCT.TITLEID = TITLE.TITLEID
>> With:
>>
>> INNER JOIN TITLE ON PRODUCT.TITLEID+0 = TITLE.TITLEID
>
> i did that but it didn't make a difference. the performance analysis
> (in ems sqlmanager) shows the following...
used (i.e. he "recommended" the suboptimal plan rather than prevented
it). What you probably want is
INNER JOIN TITLE ON PRODUCT.TITLEID = TITLE.TITLEID+0
Hopefully, you have an index on TITLE.METAPHONE.
HTH,
Set