Re: BUG #5652: Optimizer does wrong thing with partitioned tables - Mailing list pgsql-bugs

From Jeff Davis
Subject Re: BUG #5652: Optimizer does wrong thing with partitioned tables
Date
Msg-id 1284145220.21706.7.camel@jdavis-ux.asterdata.local
Whole thread Raw
In response to Re: BUG #5652: Optimizer does wrong thing with partitioned tables  (Mladen Gogala <mgogala@vmsinfo.com>)
List pgsql-bugs
On Fri, 2010-09-10 at 10:37 -0400, Mladen Gogala wrote:
> Euler, optimizer is selecting a wrong path, which is a bug by
> definition.

I agree that the optimizer should be improved here, but it's not really
a "bug". I think what you are requesting is considered more of a feature
to make the optimizer smarter.

The optimizer will never be so good that it always picks the best path.
Consider a 100-table join: would it be a "bug" if it didn't find the
perfect join order?

Regards,
    Jeff Davis

pgsql-bugs by date:

Previous
From: Chris Travers
Date:
Subject: Re: BUG #5652: Optimizer does wrong thing with partitioned tables
Next
From: Jeff Davis
Date:
Subject: Re: BUG #5652: Optimizer does wrong thing with partitioned tables