Subject | RE: [firebird-support] Re: Firebird 2.0 Indexing |
---|---|
Author | Alan McDonald |
Post date | 2005-05-30T10:42:29Z |
> >I cannot understand why anyone wouldso you want to scan 2.1 million records to pull back 5 distinct occurrences
> > want to run a statement without a where clause on a million-row
> table
> > (well, possibly if there were some kind of grouping reducing the
> > returned set to a few rows)
>
> My query does only return a few records from the table, I'm using
> a 'distinct' clause.
>
(handfull)? and you're holding the index efficiency as responsible for poor
timing?
Seems to me that a bit of normalising of your data is on order no?
Alan