Re: views much slower in 9.3 than 8.4

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: views much slower in 9.3 than 8.4
Дата
Msg-id 13022.1426806262@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: views much slower in 9.3 than 8.4  ("Carson, Leonard" <lcarson@sdsc.edu>)
Ответы Re: views much slower in 9.3 than 8.4  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-performance
"Carson, Leonard" <lcarson@sdsc.edu> writes:
> Here are the 3 views and some timing notes:
> http://pgsql.privatepaste.com/decae31693#

That doesn't really leave us any wiser than before, unfortunately.

It's clear that the root of the problem is the drastic underestimation of
the size of the rq/a join, but it's not clear why that's happening, nor
why 8.4 would not have fallen into the same trap.

Would it be possible to provide the data in the join columns involved in
that part of the query?  To wit
requests.account_id
requests.start_date
allocations.account_id
allocations.initial_start_date
allocations.resource_id

            regards, tom lane


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

Предыдущее
От: Joao Junior
Дата:
Сообщение: Re: Very slow checkpoints
Следующее
От: Vladimir Borodin
Дата:
Сообщение: Re: [GENERAL] [pgadmin-support] Issue with a hanging apply process on the replica db after vacuum works on primary