Re: function performance vs in-line sql - Mailing list pgsql-performance

From Schwarz, Karl
Subject Re: function performance vs in-line sql
Date
Msg-id 9E64800D28DF264DB32B0309B6F222D5188549@xcgny105.northgrum.com
Whole thread Raw
In response to Re: function performance vs in-line sql  (Richard Huxton <dev@archonet.com>)
List pgsql-performance
Thanks. I was not looking for help with the query just wanted to know
that I didn't overlook some basic
configuration setting.

Karl

-----Original Message-----
From: Richard Huxton [mailto:dev@archonet.com]
Sent: Thursday, March 08, 2007 12:50 PM
To: Schwarz, Karl
Cc: pgsql-performance@postgresql.org
Subject: Re: [PERFORM] function performance vs in-line sql

Schwarz, Karl wrote:
> Is there something basic I am missing here with the use of a function.

> I am no database expert, but my assumption was that a function would
> give me better results than in-line sql.

Not necessarily. Usually it means the planner has less information to go
on.

We'll need more information though - table definitions, queries, how is
the function called etc.

--
   Richard Huxton
   Archonet Ltd

pgsql-performance by date:

Previous
From: Ron
Date:
Subject: Re: compact flash disks?
Next
From: Ron
Date:
Subject: Re: strange performance regression between 7.4 and 8.1