Subject | Re: [firebird-support] Different plans on query |
---|---|
Author | dade2000 |
Post date | 2004-02-06T10:56:46Z |
Ivan Prenosil wrote:
Selectivity is
SingleRowInTable / TotalRows
In PK this is 1 and index has the better selectivity
when SingleRowInTable become < TotalRows then selectivity decrease --> 0
so bigger values (near 1) are better for selectivity.
I'm wrong?
Daniele
>>Max selectivity is 1Excuse me Ivan...
>
>
>>so 0.00003 is bigger than 0.0000006
>
>
>
>
> The lower the value the better ...
>
>
Selectivity is
SingleRowInTable / TotalRows
In PK this is 1 and index has the better selectivity
when SingleRowInTable become < TotalRows then selectivity decrease --> 0
so bigger values (near 1) are better for selectivity.
I'm wrong?
Daniele