Re: Tuning queries inside a function

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Tuning queries inside a function
Дата
Msg-id 20050429183830.GC28533@dcc.uchile.cl
обсуждение исходный текст
Ответ на Tuning queries inside a function  (Mike Nolan <nolan@gw.tssi.com>)
Ответы Re: Tuning queries inside a function  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
Re: Tuning queries inside a function  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On Fri, Apr 29, 2005 at 12:32:26PM -0500, Mike Nolan wrote:

> I need to find out if the function can be tuned further, but 'explain'
> doesn't really tell much about what's happening inside the function.
>
> Any ideas on how to tune a user function?

Maybe you could return a refcursor pointing to the EXPLAIN ANALYZE of
the query inside the function.

--
Alvaro Herrera (<alvherre[@]dcc.uchile.cl>)
"God is real, unless declared as int"

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

Предыдущее
От: Shelby Cain
Дата:
Сообщение: Re: ip connection on local p2p network
Следующее
От: Tim
Дата:
Сообщение: Re: out of memory for query result