Subject | Re: [ib-support] Query Plan |
---|---|
Author | Sindunata Sudarmaji |
Post date | 2001-02-22T01:14:13Z |
Hi Sean,
that IB choose to use both indexes, and it performed
very poorly then. But when I specifically told IB to
use 1 index, it works like a champ.
slow down the query? I only take less than 10% of the
total rows in a table so I think index is needed in my
case.
regards,
Sindu
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices! http://auctions.yahoo.com/
> > > Are you sure that your getting the exact sameYupe, I got exactly the same results. It's strange
> results?
that IB choose to use both indexes, and it performed
very poorly then. But when I specifically told IB to
use 1 index, it works like a champ.
> What I do is add a +0 to date columns and thisHi Jason, but if the index is not used, wouldn't it
> effectively drops the index
> and then a plan is not needed. With strings you can
> use || '' and this will
> accomplish the same thing.
slow down the query? I only take less than 10% of the
total rows in a table so I think index is needed in my
case.
regards,
Sindu
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices! http://auctions.yahoo.com/