Re: query speed depends on lifetime of frozen db?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: query speed depends on lifetime of frozen db?
Дата
Msg-id 4476.1033145510@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: query speed depends on lifetime of frozen db?  (Andriy Tkachuk <ant@imt.com.ua>)
Список pgsql-general
Andriy Tkachuk <ant@imt.com.ua> writes:
> There is EXPLAIN ANALYSE when query is heavy:
> ...
> and there is, when query is light:
> ...

These sure appear to be the same query plan.  I am thinking that the
cost differential is not in the plan itself at all, but in some bit of
processing that doesn't show in the plan.  In particular, since all the
extra runtime shows up in the top join node (where the SELECT result
list would be evaluated), I am thinking that there's something funny
going on in some user-defined function that's called in the SELECT list.
You have not shown us the actual query yet, AFAIR.  Any
potentially-expensive functions in there?

            regards, tom lane

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

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: [SQL] function return multiply rows
Следующее
От: "Oleg Lebedev"
Дата:
Сообщение: DBLink problems