Subject | Re: Odd optimizer behaviour |
---|---|
Author | pi3k14 |
Post date | 2006-04-04T12:34:54Z |
--- In firebird-support@yahoogroups.com, Alexandre Benson Smith
<iblist@...> wrote:
important ??! came up).
The statistics for all the indicies where 0.
How can that happen?
When I created a new index that got correct statistics.
This was a nasty fault :(
---
frode
<iblist@...> wrote:
>not
> pi3k14 wrote:
> > I have defined an UNIQUE field in one table, this field is used in
> > joins to several other tables (used as foreign key).
> >
> > But I notice that the index created for this unique property is
> > used in the plans for my joins !?Lost statistics in fact (sorry for the late reply, but something more
> >
> > If I create a specific index for this field, that index is used.
> >
> >
> > Anyone have any idea why this is happening?
> >
> >
> > ---
> > frode
> >
> outdated statistics ?
>
> see you !
>
> --
> Alexandre Benson Smith
> Development
> THOR Software e Comercial Ltda
> Santo Andre - Sao Paulo - Brazil
> www.thorsoftware.com.br
>
important ??! came up).
The statistics for all the indicies where 0.
How can that happen?
When I created a new index that got correct statistics.
This was a nasty fault :(
---
frode