Re: PostgreSQL and Performance of Functions

Поиск
Список
Период
Сортировка
От Aaron Bono
Тема Re: PostgreSQL and Performance of Functions
Дата
Msg-id bf05e51c0612011621pb963f25vff25f4460a59d933@mail.gmail.com
обсуждение исходный текст
Ответ на Re: PostgreSQL and Performance of Functions  ("Rajesh Kumar Mallah" <mallah.rajesh@gmail.com>)
Ответы Re: PostgreSQL and Performance of Functions
Список pgsql-admin
On 12/1/06, Rajesh Kumar Mallah <mallah.rajesh@gmail.com> wrote:


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.


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




I was told that, for DB2, stored procedures are a better choice for parameterized views which is what I was trying to do with the functions.  Is the same true for PostgreSQL?

-Aaron


--
==================================================================
   Aaron Bono
   Aranya Software Technologies, Inc.
   http://www.aranya.com
   http://codeelixir.com
==================================================================

В списке pgsql-admin по дате отправления:

Предыдущее
От: "Simon Riggs"
Дата:
Сообщение: Re: PostgreSQL and Performance of Functions
Следующее
От: Peter Wilson
Дата:
Сообщение: Re: Problem restoring with pg_dump