Re: Automagic tuning - Mailing list pgsql-performance

From Jim C. Nasby
Subject Re: Automagic tuning
Date
Msg-id 20050201045211.GB32356@decibel.org
Whole thread Raw
In response to Re: Automagic tuning  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Automagic tuning
List pgsql-performance
On Mon, Jan 31, 2005 at 03:26:12PM -0500, Tom Lane wrote:
> Josh Berkus <josh@agliodbs.com> writes:
> >> I would like something that really measures values like random_page_cost
> >> or cpu_tuple_cost that are hardware dependent.
> >>
> >> I assume such thing does not exist?
>
> > Nope.  You gotta whip out your calculator and run some queries.
>
> Preferably a whole lot of queries.  All the measurement techniques I can
> think of are going to have a great deal of noise, so you shouldn't
> twiddle these cost settings based on just a few examples.

Are there any examples of how you can take numbers from pg_stats_* or
explain analize and turn them into configuration settings (such and
random page cost)?
--
Jim C. Nasby, Database Consultant               decibel@decibel.org
Give your computer some brain candy! www.distributed.net Team #1828

Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming, or what?"

pgsql-performance by date:

Previous
From: "Lago, Bruno Almeida do"
Date:
Subject: Very important choice
Next
From: "Jim C. Nasby"
Date:
Subject: Re: High end server and storage for a PostgreSQL OLTP system