Re: FW: Simple join optimized badly? - Mailing list pgsql-performance

From Jim C. Nasby
Subject Re: FW: Simple join optimized badly?
Date
Msg-id 20061012135248.GS28647@nasby.net
Whole thread Raw
In response to Re: FW: Simple join optimized badly?  (Mark Kirkwood <markir@paradise.net.nz>)
Responses Re: FW: Simple join optimized badly?
List pgsql-performance
On Thu, Oct 12, 2006 at 10:59:23PM +1300, Mark Kirkwood wrote:
> H.J. Sanders wrote:
>
> > why not just like in some other (commercial) databases:
> >
> > a statement to say: use index ............
> >
> > I know this is against all though but if even the big ones can not resist
> > the pressure of their users, why not?
> >
>
> Yeah - some could not (e.g. Oracle), but some did (e.g. DB2), and it
> seemed (to me anyway) significant DB2's optimizer worked much better
> than Oracle's last time I used both of them (Oracle 8/9 and DB2 7/8).

If someone's going to commit to putting effort into improving the
planner then that's wonderful. But I can't recall any significant
planner improvements since min/max (which I'd argue was more of a bug
fix than an improvement). In fact, IIRC it took at least 2 major
versions to get min/max fixed, and that was a case where it was very
clear-cut what had to be done.
--
Jim Nasby                                            jim@nasby.net
EnterpriseDB      http://enterprisedb.com      512.569.9461 (cell)

pgsql-performance by date:

Previous
From: Mark Kirkwood
Date:
Subject: Re: FW: Simple join optimized badly?
Next
From: Tom Lane
Date:
Subject: Re: FW: Simple join optimized badly?