pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron Mayer <rm_pg@cheapcomplexdevices.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Subject: Re: More thoughts about planner's cost estimates
Date: Tue, 06 Jun 2006 17:32:03 -0700
Message-ID: <44861E83.9070403@cheapcomplexdevices.com> (raw)
In-Reply-To: <11319.1149287800@sss.pgh.pa.us>
References: <14821.1149104747@sss.pgh.pa.us>
	<11319.1149287800@sss.pgh.pa.us>

Tom Lane wrote:
> 
> One objection to this is that after moving "off the gold standard" of
> 1.0 = one page fetch, there is no longer any clear meaning to the
> cost estimate units; you're faced with the fact that they're just an
> arbitrary scale.  I'm not sure that's such a bad thing, though.

It seems to me the appropriate gold standard is Time, in microseconds
or milliseconds.

The default postgresql.conf can come with a set of hardcoded
values that reasonably approximate some real-world system; and
if that's documented in the file someone reading it can say
  "hey, my CPU's about the same but my disk subsystem is much
  faster, so I know in which direction to change things".
And another person may say "ooh, now I know that my 4GHz
machines should have about twice the number here as my 2GHz
box".

For people who *really* care a lot (HW vendors?), they could
eventually make measurements on their systems.



view thread (42+ messages)

Message-ID: <44861E83.9070403@cheapcomplexdevices.com>
Permalink:  ../44861E83.9070403@cheapcomplexdevices.com/
Also on:    postgresql.org/message-id/44861E83.9070403@cheapcomplexdevices.com

 · 

reply

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-hackers@postgresql.org
  Cc: rm_pg@cheapcomplexdevices.com, tgl@sss.pgh.pa.us
  Subject: Re: More thoughts about planner's cost estimates
  In-Reply-To: <44861E83.9070403@cheapcomplexdevices.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