Subject | Re: [ib-support] Full table scan |
---|---|
Author | Danny Garcia Hernandez |
Post date | 2002-06-25T10:39:52Z |
Using the Plan clause together your select. For a example:
select no_client, name from table_client
where (no_client = 5)
plan (table_client index(no_client_idx))
Use this clause with care, many times is better let the optimizer choose the
plan. Optimizer knows selectivity question in the real time that you can�t
consider in the design time.
Look for a complete Plan's explanation inside Interbase help Docs.
regards
danny
""semprolbat"" <semprolbat@...> escribi� en el mensaje
news:af9ddq+kkah@......
select no_client, name from table_client
where (no_client = 5)
plan (table_client index(no_client_idx))
Use this clause with care, many times is better let the optimizer choose the
plan. Optimizer knows selectivity question in the real time that you can�t
consider in the design time.
Look for a complete Plan's explanation inside Interbase help Docs.
regards
danny
""semprolbat"" <semprolbat@...> escribi� en el mensaje
news:af9ddq+kkah@......
> I have a table with 300K+ records that has an index.
> How can I force Interbase to avoid using the index when I do
> a 'select *' ?
>
>
> Magnus
>
>
>
> To unsubscribe from this group, send an email to:
> ib-support-unsubscribe@egroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>