Re: function performance vs in-line sql

From: "Schwarz, Karl" <Karl(dot)Schwarz(at)ngc(dot)com>
To: "Richard Huxton" <dev(at)archonet(dot)com>
Cc: <pgsql-performance(at)postgresql(dot)org>
Subject: Re: function performance vs in-line sql
Date: 2007-03-08 18:45:09
Message-ID: 9E64800D28DF264DB32B0309B6F222D5188549@xcgny105.northgrum.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)archonet(dot)com]
Sent: Thursday, March 08, 2007 12:50 PM
To: Schwarz, Karl
Cc: pgsql-performance(at)postgresql(dot)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

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Ron 2007-03-08 18:59:50 Re: strange performance regression between 7.4 and 8.1
Previous Message Ron 2007-03-08 18:40:32 Re: compact flash disks?