Subject | Re: [firebird-support] Plan not what I expected |
---|---|
Author | Dmitry Yemanov |
Post date | 2006-07-16T08:10:14Z |
"chrisacron" <chris@...> wrote:
sorting, so your plan is expected.
previous versions have problems with such queries.
Dmitry
>The current optimizer cannot use the same index for both retrieval and
> SELECT * FROM ImportBPData
> WHERE ImportBatchId = 'GRID0jwSl4wc2cb3'
> ORDER BY Field5
sorting, so your plan is expected.
> SELECT * FROM ImportBPDataHere index IBD_KEYF5 can be used. And it will be in FB2 and ODS11, but
> WHERE ImportBatchId = 'GRID0jwSl4wc2cb3'
> AND Field5 STARTING WITH 'Le'
> ORDER BY Field5
previous versions have problems with such queries.
Dmitry