Re: Stored Procedure Performance - Mailing list pgsql-performance

From Rajesh Kumar Mallah
Subject Re: Stored Procedure Performance
Date
Msg-id a97c77030604110122o39534e83yf257801ce6bc4bd9@mail.gmail.com
Whole thread Raw
In response to Stored Procedure Performance  ("Simon Dale" <sdale@rm.com>)
Responses Re: Stored Procedure Performance
List pgsql-performance
On 4/11/06, Simon Dale <sdale@rm.com> wrote:
>
>
>
> Hi,
>
>
>
> I'm trying to evaluate PostgreSQL as a database that will have to store a
> high volume of data and access that data frequently. One of the features on
> our wish list is to be able to use stored procedures to access the data and
> I was wondering if it is usual for stored procedures to perform slower on
> PostgreSQL than raw SQL?


No.

RETURN NEXT keeps accumulating the data before returning.
I am not sure if any optimisations have been done to that effect.

In general functions are *NOT* slower than RAW SQL.

Regds
mallah.

pgsql-performance by date:

Previous
From: "hubert depesz lubaczewski"
Date:
Subject: Re: Stored Procedure Performance
Next
From: Richard Huxton
Date:
Subject: Re: Stored Procedure Performance