Re: Fwd: views much slower in 9.3 than 8.4

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Fwd: views much slower in 9.3 than 8.4
Дата
Msg-id 5424.1426718490@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Fwd: views much slower in 9.3 than 8.4  ("Carson, Leonard" <lcarson@sdsc.edu>)
Ответы Re: views much slower in 9.3 than 8.4  ("Carson, Leonard" <lcarson@sdsc.edu>)
Список pgsql-performance
"Carson, Leonard" <lcarson@sdsc.edu> writes:
> There is only one server at this point.  The 8.4 machine was upgraded to 9.3 about a year ago and we have no 8.4
backupsso it's difficult if not impossible to recreate the 8.4 environment AFAIK.  One of our developers pointed out
thediscrepancy in execution times.  I decomposed a slow view and found out that it consists of a view calling a view
callinga view (3 deep).  This is the analyze explain plan of the innermost view: 

> http://explain.depesz.com/s/IMg

You're probably going to need to show us the actual view definitions.

I'm suspicious that the underlying cause might have to do with recent
versions being warier about optimizing sub-selects containing volatile
functions than 8.4 was.  However, that theory doesn't seem to explain
the horribly bad join size estimates you're showing.

            regards, tom lane


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

Предыдущее
От: "Carson, Leonard"
Дата:
Сообщение: Fwd: views much slower in 9.3 than 8.4
Следующее
От: Steven Jones
Дата:
Сообщение: Re: Very slow checkpoints