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

From Scott Marlowe
Subject Re: Simple join optimized badly?
Date
Msg-id 1160425859.6181.18.camel@state.g2switchworks.com
Whole thread Raw
In response to Re: Simple join optimized badly?  (Josh Berkus <josh@agliodbs.com>)
List pgsql-performance
On Sun, 2006-10-08 at 18:05, Josh Berkus wrote:

> Now, if you were offering us a patch to auto-populate the statistics as a
> table is loaded, I'd be all for that.   But I, personally, would need a
> lot of convincing to believe that hints don't do more harm than good.

Actually, I'd much rather have a log option, on by default, that spit
out info messages when the planner made a guess that was off by a factor
of 20 or 50 or so or more on a plan.

I can remember to run stats, but finding slow queries that are slow
because the plan was bad, that's the hard part.

pgsql-performance by date:

Previous
From: Chris Browne
Date:
Subject: Re: Simple join optimized badly?
Next
From: "Jim C. Nasby"
Date:
Subject: Re: Simple join optimized badly?