pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Greg Stark <gsstark@mit.edu>
Cc: Christopher Browne <cbbrowne@acm.org>
Cc: pgsql-performance@postgresql.org
Subject: Re: What about utility to calculate planner cost constants?
Date: Tue, 22 Mar 2005 13:56:10 -0500
Message-ID: <10950.1111517770@sss.pgh.pa.us> (raw)
In-Reply-To: <87hdj3bnc2.fsf@stark.xeocode.com>
References: <A66A11DBF5525341AEF6B8DE39CDE77008805C@black.aprote.com>
	<200503210951.06044.josh@agliodbs.com>
	<87acowcmut.fsf@stark.xeocode.com>
	<m34qf3aktn.fsf@knuth.knuth.cbbrowne.com>
	<87hdj3bnc2.fsf@stark.xeocode.com>

Greg Stark <gsstark@mit.edu> writes:
> Christopher Browne <cbbrowne@acm.org> writes:
>> Are you certain it's a linear system?  

> If you just consider the guc parameters that tell postgres how long various
> real world operations take (all the *_cost parameters) then it's a linear
> system. It has to be.

No it doesn't.  Think caching effects for instance.  We do have cache
effects in the cost models, even though they are wrong as per my nearby
rant...

			regards, tom lane



view thread (21+ messages)  latest in thread

Message-ID: <10950.1111517770@sss.pgh.pa.us>
Permalink:  ../10950.1111517770@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/10950.1111517770@sss.pgh.pa.us

 · 

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-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, gsstark@mit.edu, cbbrowne@acm.org
  Subject: Re: What about utility to calculate planner cost constants?
  In-Reply-To: <10950.1111517770@sss.pgh.pa.us>

* 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