Subject | Re: [firebird-support] Query optimization |
---|---|
Author | Tim Ledgerwood |
Post date | 2003-07-02T12:50:10Z |
At 02:51 PM 07/02/2003 +0200, you wrote:
uses :
PLAN SORT (SORT (MERGE (SORT (S NATURAL),SORT (JOIN (C NATURAL,L INDEX
(IDX_POSTYPE))))))
There is a small improvement in execution time.
[Non-text portions of this message have been removed]
>And it probably uses it because you haven't got those two additionalCreated the indices and ran the query again. Here's the plan the optimizer
>indexes that I suggested (one natural for your first table I normally find
>acceptable, but two is like multiplying them).
>
>Set
uses :
PLAN SORT (SORT (MERGE (SORT (S NATURAL),SORT (JOIN (C NATURAL,L INDEX
(IDX_POSTYPE))))))
There is a small improvement in execution time.
[Non-text portions of this message have been removed]