pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Sullivan <andrew@libertyrms.info>
To: pgsql-performance@postgresql.org
Subject: Re: PL/pgSQL functions - text / varchar - havy performance
Date: Fri, 29 Aug 2003 11:54:01 -0400
Message-ID: <20030829155401.GM19388@libertyrms.info> (raw)
In-Reply-To: <3F4F7275.5030203@potentialtech.com>
References: <200308291554.46748.o.siegmar@vitrado.de>
	<3F4F6754.8050900@potentialtech.com>
	<20030829150151.GI19388@libertyrms.info>
	<3F4F7275.5030203@potentialtech.com>

On Fri, Aug 29, 2003 at 11:34:13AM -0400, Bill Moran wrote:
> Have any explanation as to why that function is so slow?

Sorry, no.  It might have to do with the planning, though.  I believe
the funciton is planned the first time it is run.  It may need to be
marked as "STABLE" in order to use any indexes, and that could be
part of the problem.

A

-- 
----
Andrew Sullivan                         204-4141 Yonge Street
Liberty RMS                           Toronto, Ontario Canada
<andrew@libertyrms.info>                              M2P 2A8
                                         +1 416 646 3304 x110




view thread (7+ messages)  latest in thread

Message-ID: <20030829155401.GM19388@libertyrms.info>
Permalink:  ../20030829155401.GM19388@libertyrms.info/
Also on:    postgresql.org/message-id/20030829155401.GM19388@libertyrms.info

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: andrew@libertyrms.info
  Subject: Re: PL/pgSQL functions - text / varchar - havy performance
  In-Reply-To: <20030829155401.GM19388@libertyrms.info>
  References: <200308291554.46748.o.siegmar@vitrado.de> <3F4F6754.8050900@potentialtech.com> <20030829150151.GI19388@libertyrms.info> <3F4F7275.5030203@potentialtech.com> <20030829155401.GM19388@libertyrms.info>

* 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