Subject | Re: [firebird-support] Desactivate usage of a poor selectivity index created by foreign key |
---|---|
Author | Andy Goodchild |
Post date | 2004-05-14T15:15:46Z |
Jerome Bouvattier wrote:
being the case. It's the way I have solved the problem in the past.
>I seem to remember a few threads in the past that have alluded to this
> >
> > when we create foreign key an index is created, but this index can
> have a
> > very
> > weak selectivity and then the plan is not very good
>
>
> I believe the only way so far, is to drop the FK (along with the
> index) and
> do referential integrity related stuff ourselves in triggers.
>
> Can anyone confirm ?
being the case. It's the way I have solved the problem in the past.