From: Peter Galbavy <peter.galbavy@knowledge.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-sql@postgresql.org
Subject: Re: performance of functions - or rather lack of it
Date: Thu, 5 Apr 2001 08:29:10 +0100
Message-ID: <20010405082905.C25909@office.knowledge.com> (raw)
In-Reply-To: <7592.986403675@sss.pgh.pa.us>
References: <00bc01c0bcef$c527cf20$6601a8c0@knowledge.com>
<7592.986403675@sss.pgh.pa.us>
On Wed, Apr 04, 2001 at 01:01:15PM -0400, Tom Lane wrote:
> Without knowing which PG version you're using, what plans you're
> getting, or even whether you've VACUUM ANALYZEd lately, it's difficult
> to say more than that.
I followed that up quickly - server 7.0.2, client 7.1RC1. VACUUMed
etc prior to the test. OTOH, since the tests were done multiple
times directly after the other, the underlying infrastructure should
be the same.
BTW I deleted your paragraph above, but I agree about the parameters
and the constant stuff. I will retry with a fixed-value function
just for the completeness of it.
> Unless your TCP connection is running across tin cans and string,
> the transfer time for the query text is negligible ...
Fair point. I am not really in the 100Mb networking work in my heart
... :-)
--
Peter Galbavy
Knowledge Matters Ltd
http://www.knowledge.com/
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-sql@postgresql.org
Cc: peter.galbavy@knowledge.com, tgl@sss.pgh.pa.us
Subject: Re: performance of functions - or rather lack of it
In-Reply-To: <20010405082905.C25909@office.knowledge.com>
References: <00bc01c0bcef$c527cf20$6601a8c0@knowledge.com> <7592.986403675@sss.pgh.pa.us> <20010405082905.C25909@office.knowledge.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