pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@dcc.uchile.cl>
To: Simon Riggs <simon@2ndquadrant.com>
To: pgsql-performance@postgresql.org
Cc: elein <elein@varlena.com>
Subject: Re: [Fwd: Re: Functionscan estimates]
Date: Thu, 14 Apr 2005 14:58:09 -0400
Message-ID: <20050414185809.GD28198@dcc.uchile.cl> (raw)
In-Reply-To: <20050414173903.GY5278@varlena.com>
References: <1113464198.16721.1725.camel@localhost.localdomain>
	<20050414173903.GY5278@varlena.com>

On Thu, Apr 14, 2005 at 10:39:03AM -0700, elein wrote:

> All functions could have a cost associated with them, set by the writer of
> the function in order for the planner to reorder function calls.
> The stonebraker airplane level example was:
> 	select ... from ... where f(id) = 3 and expensive_image_function(img)
> The idea, of course is to weight the expensive function so it was
> pushed to the end of the execution.

So there was only a constant cost associated with the function?  No
estimator function, for example?

-- 
Alvaro Herrera (<alvherre[@]dcc.uchile.cl>)
"If you have nothing to say, maybe you need just the right tool to help you
not say it."                   (New York Times, about Microsoft PowerPoint)



view thread (3+ messages)  latest in thread

Message-ID: <20050414185809.GD28198@dcc.uchile.cl>
Permalink:  ../20050414185809.GD28198@dcc.uchile.cl/
Also on:    postgresql.org/message-id/20050414185809.GD28198@dcc.uchile.cl

 · 

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: alvherre@dcc.uchile.cl, simon@2ndquadrant.com, elein@varlena.com
  Subject: Re: [Fwd: Re: Functionscan estimates]
  In-Reply-To: <20050414185809.GD28198@dcc.uchile.cl>

* 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