Subject | Re: [ib-support] Strange query problem |
---|---|
Author | Helen Borrie |
Post date | 2003-02-12T14:50:22Z |
At 04:39 PM 12/02/2003 +0200, you wrote:
think an index could/should/would be used?
heLen
>Hi all,This query has no ordering, joins, groupings or where clause. Why do you
>
>I have a query:
>
>"select hist.cguid from con_discon_info hist"
think an index could/should/would be used?
>Table "con_discon_info" has an index on field "cguid".The index is used because it will help the sorting for the grouping.
>After query execution I can see in the performance monitor that all of
>the reads where non-indexed reads
>
>If I modify the querylike this:
>
>"select hist.cguid from con_discon_info hist group by cguid"
> ^^^^^^^^^^^^^^^
>All reads become indexed ?????
heLen