Re: [GENERAL] how to get accurate values in pg_statistic - Mailing list pgsql-performance

From Mary Edie Meredith
Subject Re: [GENERAL] how to get accurate values in pg_statistic
Date
Msg-id 1063758041.5730.549.camel@ibm-e.pdx.osdl.net
Whole thread Raw
Responses Re: [GENERAL] how to get accurate values in pg_statistic  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-performance
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


pgsql-performance by date:

Previous
From: Jeff
Date:
Subject: Re: Inconsistent performance
Next
From: Tom Lane
Date:
Subject: Re: [GENERAL] how to get accurate values in pg_statistic