From: Scott Marlowe <smarlowe@g2switchworks.com>
To: josh@agliodbs.com
Cc: pgsql-performance@postgresql.org, Denis Lussier <denisl@enterprisedb.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Bruce Momjian <bruce@momjian.us>
Cc: korryd@enterprisedb.com <korryd@enterprisedb.com>
Cc: Jonah H. Harris <jharris@enterprisedb.com>
Cc: Craig A. James <cjames@modgraph-usa.com>
Subject: Re: Simple join optimized badly?
Date: Mon, 09 Oct 2006 15:30:59 -0500
Message-ID: <1160425859.6181.18.camel@state.g2switchworks.com> (raw)
In-Reply-To: <200610081605.03501.josh@agliodbs.com>
References: <45274A77.7080005@modgraph-usa.com>
<18722.1160236300@sss.pgh.pa.us>
<5f820f750610071850o6ed0b19o162d65d1987b2a8c@mail.gmail.com>
<200610081605.03501.josh@agliodbs.com>
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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: smarlowe@g2switchworks.com, josh@agliodbs.com, denisl@enterprisedb.com, tgl@sss.pgh.pa.us, bruce@momjian.us, korryd@enterprisedb.com, jharris@enterprisedb.com, cjames@modgraph-usa.com
Subject: Re: Simple join optimized badly?
In-Reply-To: <1160425859.6181.18.camel@state.g2switchworks.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox