Subject | RE: [firebird-support] Re: Avoid using index in sql |
---|---|
Author | Helen Borrie |
Post date | 2004-02-09T08:50:51Z |
> > Thanks Brinkman..At 07:24 PM 9/02/2004 +1100, Alan McDonald wrote:
> > Is there any other way?
> >
> > Regards,
> > Siva
>If you really want to slow things down - you could pull that little blue**Cute**, but there are valid reasons for not using an index. Luckily, Arno
>cable out of the back of your server - it won't use any plans after that.
got to the question first and supplied a good answer to a perfectly
reasonable question.
-- not all indexes are good indexes
-- not all good indexes are "good" in any query
-- an index that is "good" with one set of "data demographics" might slow
things down with another.
Careful designers are very conservative about indexing, especially around
an optimizer that is significantly cost-driven. One of the daffiest things
you can do with Firebird is to become a slave to your CASE tool and the
rule-driven metadata it spits out for you, or to that "Made in Redmond" SQL
rulebook.
/hb