Re: Performance problems inside a stored procedure.

Поиск
Список
Период
Сортировка
От Euler Taveira de Oliveira
Тема Re: Performance problems inside a stored procedure.
Дата
Msg-id 479F3137.2070708@timbira.com
обсуждение исходный текст
Ответ на Re: Performance problems inside a stored procedure.  (Matthew Lunnon <mlunnon@rwa-net.co.uk>)
Ответы Re: Performance problems inside a stored procedure.  (Matthew Lunnon <mlunnon@rwa-net.co.uk>)
Список pgsql-performance
Matthew Lunnon wrote:

> Ahh, sorry, I have been too aggressive with my cutting, I am running
> 8.2.6 and the function is below.
>
<snip>

> $BODY$
>  LANGUAGE 'sql' VOLATILE;
                  ^^^^^^^^^^
I suspect that it's because you're using VOLATILE (so no good
optimizations is done); did you try STABLE? Could you show us the
EXPLAIN ANALYZE of query and function?


--
   Euler Taveira de Oliveira
   http://www.timbira.com/

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

Предыдущее
От: "Mike Smith"
Дата:
Сообщение: Re: 8x2.5" or 6x3.5" disks
Следующее
От: Adrian Moisey
Дата:
Сообщение: analyze