Re: performance of functions - or rather lack of it - Mailing list pgsql-sql

From Peter Galbavy
Subject Re: performance of functions - or rather lack of it
Date
Msg-id 20010405082905.C25909@office.knowledge.com
Whole thread Raw
In response to Re: performance of functions - or rather lack of it  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-sql
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/


pgsql-sql by date:

Previous
From: Richard Huxton
Date:
Subject: Re: Memory and performance
Next
From: "Richard Huxton"
Date:
Subject: Re: Index on View ?