Re: Slow query in trigger function

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Slow query in trigger function
Дата
Msg-id 24307.1446475505@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Slow query in trigger function  (Guido Niewerth <gniewerth@ocsgmbh.com>)
Список pgsql-performance
Guido Niewerth <gniewerth@ocsgmbh.com> writes:
> As you can see there�s a huge runtime difference between the select query used in the trigger function and the one
runfrom the SQL editor. 

contrib/auto_explain might be useful in seeing what's going on, in
particular it would tell us whether or not a different plan is being
used for the query inside the function.

            regards, tom lane


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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: PostgreSQL limitation
Следующее
От: Guido Niewerth
Дата:
Сообщение: Re: Slow query in trigger function