Re: function execute on v.9.2 slow down

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: function execute on v.9.2 slow down
Дата
Msg-id CA+TgmoYAjrWO2pEcZF9qXwWEA_s-mux8J_X3YsGDgS_NjwEhBQ@mail.gmail.com
обсуждение исходный текст
Ответ на function execute on v.9.2 slow down  (Александр Белинский<avinfo79@gmail.com>)
Ответы Re: function execute on v.9.2 slow down  (Александр Белинский<avinfo79@gmail.com>)
Список pgsql-performance
On Mon, Aug 12, 2013 at 8:21 AM, Александр Белинский <avinfo79@gmail.com> wrote:
> Hi!
> I can't explain why function is slow down on same data.
> Postgresql.conf the same, hardware is more powerful.
> Diffrents is postgresql version

Hmm.  PostgreSQL 9.2 will sometimes replan queries a number of times
where older releases, looking to see whether the choice of bind
variables affects the optimal plan choice, where older versions would
create a generic plan on first execution and use it forever.  I'm not
sure whether that behavior applies in this situation, though.  If you
run it say 15 times does it eventually start running faster?

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Marc Mamin
Дата:
Сообщение: Re: stable and immutable functions in GROUP BY clauses.
Следующее
От: Дмитрий Дегтярёв
Дата:
Сообщение: Re: Cpu usage 100% on slave. s_lock problem.