Re: After Vacuum Analyse - Procedure performance not improved - Innner select is faster

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: After Vacuum Analyse - Procedure performance not improved - Innner select is faster
Дата
Msg-id 20080109050644.GF20913@alvh.no-ip.org
обсуждение исходный текст
Ответ на After Vacuum Analyse - Procedure performance not improved - Innner select is faster  ("Anoo Sivadasan Pillai" <aspillai@in.rm.com>)
Список pgsql-performance
Anoo Sivadasan Pillai wrote:

> Why the procedure is not getting the performance advantage of Vacuum
> analyse?

Plan caching by the function, probably.  Try disconnecting the session
and reconnecting to prove the hypothesis.

If it is a recurring problem for you, you could put the SELECT under
EXECUTE in the function.  But most likely this is just a one-time
problem.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

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

Предыдущее
От: "Anoo Sivadasan Pillai"
Дата:
Сообщение: After Vacuum Analyse - Procedure performance not improved - Innner select is faster
Следующее
От: "Anoo Sivadasan Pillai"
Дата:
Сообщение: Re: After Vacuum Analyse - Procedure performance notimproved - Innner select is faster