From: Mary Edie Meredith <maryedie@osdl.org>
To: pgsql-performance <pgsql-performance@postgresql.org>
To: osdldbt-general <osdldbt-general@lists.sourceforge.net>
Subject: Re: [GENERAL] how to get accurate values in pg_statistic
Date: 16 Sep 2003 17:21:04 -0700
Message-ID: <1063758041.5730.549.camel@ibm-e.pdx.osdl.net> (raw)
Yesterday Jenny and I started to look at plan changes with different
seed and default_statistics_sample changes.
Since we have 21 plans to check, it takes a long time to determine if
the plans were different. We had to do it visually with xxdiff. Diff
will always show a difference since the costs are almost always
different.
Is there any option to remove the cost numbers from the plan so we can
just use "diff" to automate the plan comparisons? Otherwise it will be
very tedious to do this experiment.
On Sun, 2003-09-07 at 17:32, Tom Lane wrote:
> Greg Stark <gsstark@mit.edu> writes:
> > Perhaps the default of 10 is simply way
> > too small and should be raised?
>
> I've suspected since the default existed that it might be too small ;-).
> No one's yet done any experiments to try to establish a better default,
> though. I suppose the first hurdle is to find a representative dataset.
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend
--
Mary Edie Meredith <maryedie@osdl.org>
Open Source Development Lab
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: maryedie@osdl.org, osdldbt-general@lists.sourceforge.net
Subject: Re: [GENERAL] how to get accurate values in pg_statistic
In-Reply-To: <1063758041.5730.549.camel@ibm-e.pdx.osdl.net>
References: <1063758041.5730.549.camel@ibm-e.pdx.osdl.net>
* 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