From: Jim C. Nasby <decibel@decibel.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: josh@agliodbs.com, Markus Schaber <schabios@logi-track.com>
Cc: Christopher Kings-Lynne <chriskl@familyhealth.com.au>
Cc: PostgreSQL Performance List <pgsql-performance@postgresql.org>
Subject: Re: Automagic tuning
Date: Mon, 31 Jan 2005 22:52:11 -0600
Message-ID: <20050201045211.GB32356@decibel.org> (raw)
In-Reply-To: <3900.1107203172@sss.pgh.pa.us>
References: <20040727151531.4f60b5b0@kingfisher.intern.logi-track.com>
<41066485.7080502@familyhealth.com.au>
<41FE4692.6080104@logi-track.com>
<200501311209.31827.josh@agliodbs.com>
<3900.1107203172@sss.pgh.pa.us>
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?"
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: decibel@decibel.org, tgl@sss.pgh.pa.us, schabios@logi-track.com, chriskl@familyhealth.com.au
Subject: Re: Automagic tuning
In-Reply-To: <20050201045211.GB32356@decibel.org>
* 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