Subject | Re: [firebird-php] Connectionpool |
---|---|
Author | Deian Popov |
Post date | 2008-02-16T00:34:14Z |
It may return up to 250,000+ records. How given index can become "bad"?
On Sat, Feb 16, 2008 at 3:22 AM, Alexandre Benson Smith <
iblist@...> wrote:
On Sat, Feb 16, 2008 at 3:22 AM, Alexandre Benson Smith <
iblist@...> wrote:
> Deian Popov wrote:[Non-text portions of this message have been removed]
> > I can provide the plan output Monday next week. I can explain approx.
> table
> > structure:
> >
> > id : int PK
> > col1 varchar(12)
> > impdate DATE
> > some other cols (no blobs)
> >
> > I have index on impdate(it's not unique). If I call SELECT ... FROM ....
> > WHERE impdate=<somedate> it may take up to 8 seconds to fetch the
> records
> > for that specific period. I'm sure it uses the index.
> >
> > On Fri, Feb 15, 2008 at 4:58 PM, Alexandre Benson Smith <
> > iblist@... <iblist%40thorsoftware.com.br>> wrote:
> >
>
> How many rows it returns ?
>
> Perhaps a too bad index ?
>
> see you !
>
> --
> Alexandre Benson Smith
> Development
> THOR Software e Comercial Ltda
> Santo Andre - Sao Paulo - Brazil
> www.thorsoftware.com.br
>
>
>