Subject | Re: [firebird-support] Re: High selectivity |
---|---|
Author | Aage Johansen |
Post date | 2003-09-27T11:06:22Z |
On Sat, 27 Sep 2003 09:18:05 +0000 (UTC), Jonathan Neve wrote:
I think of selectivity (for indexes) as the ratio of "unique index values"
to the "total number of rows" (which conveniently gives 1 for indexes on
primary keys).
--
Aage J.
>> ...The values you find just _represent_ selectivity.
>>
> This is _extremely_ confusing! :-)
> The reason I called it "high" selectivity, is simply because the value
> given by the index stats is... high! This value,
> from what I understood, corresponds to the average number of records
> given by each value of the index, which explains
> why unique indexes always have value 1. Anyway, never mind about
> terminology.
I think of selectivity (for indexes) as the ratio of "unique index values"
to the "total number of rows" (which conveniently gives 1 for indexes on
primary keys).
--
Aage J.