Re: Stored Procedure Performance

From: "Rajesh Kumar Mallah" <mallah(dot)rajesh(at)gmail(dot)com>
To: "Simon Dale" <sdale(at)rm(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Stored Procedure Performance
Date: 2006-04-11 08:22:48
Message-ID: a97c77030604110122o39534e83yf257801ce6bc4bd9@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On 4/11/06, Simon Dale <sdale(at)rm(dot)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.

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Richard Huxton 2006-04-11 10:04:25 Re: Stored Procedure Performance
Previous Message hubert depesz lubaczewski 2006-04-11 07:58:33 Re: Stored Procedure Performance