pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: pgsql-performance@postgresql.org
Subject: Functionscan estimates
Date: Fri, 8 Apr 2005 15:15:50 -0700
Message-ID: <200504081515.50340.josh@agliodbs.com> (raw)

Folks,

I'm wondering if it might be useful to be able to add estimated selectivity to 
a function definition for purposes of query estimation.  Currently function 
scans automatically return a flat default 1000 estimated rows.   It seems 
like the DBA ought to be able to ALTER FUNCTION and give it a row estimate 
for planning purposes.   

Thoughts?

-- 
--Josh

Josh Berkus
Aglio Database Solutions
San Francisco



view thread (13+ messages)  latest in thread

Message-ID: <200504081515.50340.josh@agliodbs.com>
Permalink:  ../200504081515.50340.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200504081515.50340.josh@agliodbs.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-performance@postgresql.org
  Cc: josh@agliodbs.com
  Subject: Re: Functionscan estimates
  In-Reply-To: <200504081515.50340.josh@agliodbs.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