Re: [HACKERS] Interesting index/LIKE/join slowness problems - Mailing list pgsql-hackers

From Ole Gjerde
Subject Re: [HACKERS] Interesting index/LIKE/join slowness problems
Date
Msg-id Pine.LNX.4.05.9907181521570.12072-100000@snowman.icebox.org
Whole thread Raw
In response to Re: [HACKERS] Interesting index/LIKE/join slowness problems  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [HACKERS] Interesting index/LIKE/join slowness problems
List pgsql-hackers
On Fri, 16 Jul 1999, Tom Lane wrote:
> I was wrong about that --- the executor *does* handle OR'd indexqual
> conditions, basically by performing a new indexscan for each OR'd
> condition.  (That's why EXPLAIN is listing the index multiple times.)
> The trouble with OR-of-ANDs is entirely the optimizer's fault; the
> executor would do them fine if the optimizer would only hand them over
> in that form.
> > What would be the outlook on fixing the problem and not the symptom? :)
> I plan to look into fixing this for 6.6, but don't hold your breath
> waiting...

Thanks for giving the very detailed explanation!

Since we really need to have this work, or go with a different database,
we would be willing to pay someone to fix this problem.  Would anybody be
interested in doing this, how soon and how much?  It would be preferable
that this would be a patch that would be accepted back into postgres for
6.6.

Thanks,
Ole Gjerde
Avsupport Inc.




pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: 6.6 branding
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] Interesting index/LIKE/join slowness problems