pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rajesh Kumar Mallah <mallah.rajesh@gmail.com>
To: Aaron Bono <postgresql@aranya.com>
Cc: Lista Postgres <pgsql-admin@postgresql.org>
Subject: Re: PostgreSQL and Performance of Functions
Date: Fri, 1 Dec 2006 15:15:50 +0530
Message-ID: <a97c77030612010145k53a62ecydfb1556669f3965@mail.gmail.com> (raw)
In-Reply-To: <bf05e51c0611301328y327f16fbwa5879b89f3b7d232@mail.gmail.com>
References: <bf05e51c0611301328y327f16fbwa5879b89f3b7d232@mail.gmail.com>

On 12/1/06, Aaron Bono <postgresql@aranya.com> wrote:
>
> Recently I have been put on a project that uses DB2 (not my choice).  I am
> using functions for reports and was told this may not be allowed.  They
> said:
>
> One gap is the ability to tune the code in the function (not really
> static) or to perform real-time analysis of performance problems.
>

Tuning the code in function requires to change the file containing the
function
defination and reloading the function. Hence the cycle of performance tuning
is
longer.

Regarding "real time analysis" what I understand is

EXPLAIN ANALYSE (of main SQL using the function) in postgresql cannot
provide the realtime analysis of the performace of queries inside the
function.
probably such a limitation may exists in db2 also.

I think the gap is genuine.

regds
mallah.







I normally use PostgreSQL for all my applications (this being an
> exception).  Does anyone know what this statement is about and, more
> importantly, does PostgreSQL have the same limitations?
>
> Thanks,
> Aaron
>
> --
> ==================================================================
>    Aaron Bono
>    Aranya Software Technologies, Inc.
>    http://www.aranya.com
>    http://codeelixir.com
> ==================================================================

view thread (5+ messages)  latest in thread

Message-ID: <a97c77030612010145k53a62ecydfb1556669f3965@mail.gmail.com>
Permalink:  ../a97c77030612010145k53a62ecydfb1556669f3965@mail.gmail.com/
Also on:    postgresql.org/message-id/a97c77030612010145k53a62ecydfb1556669f3965@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: mallah.rajesh@gmail.com, postgresql@aranya.com
  Subject: Re: PostgreSQL and Performance of Functions
  In-Reply-To: <a97c77030612010145k53a62ecydfb1556669f3965@mail.gmail.com>
  References: <bf05e51c0611301328y327f16fbwa5879b89f3b7d232@mail.gmail.com> <a97c77030612010145k53a62ecydfb1556669f3965@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox