Re: Really dumb planner decision

Поиск
Список
Период
Сортировка
От Grzegorz Jaśkiewicz
Тема Re: Really dumb planner decision
Дата
Msg-id 2f4958ff0904160348y4e05defam92b767ca396e0d70@mail.gmail.com
обсуждение исходный текст
Ответ на Really dumb planner decision  (Matthew Wakeling <matthew@flymine.org>)
Ответы Re: Really dumb planner decision  (Matthew Wakeling <matthew@flymine.org>)
Список pgsql-performance
On Thu, Apr 16, 2009 at 11:37 AM, Matthew Wakeling <matthew@flymine.org> wrote:
>
> I have a query that is executed really badly by Postgres. It is a nine table
> join, where two of the tables are represented in a view. If I remove one of
> the tables from the query, then the query runs very quickly using a
> completely different plan.

And what happens if you execute that view alone, with WHERE .. just
like it would be a part of the whole query? ((id = 1267676))


--
GJ

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

Предыдущее
От: Matthew Wakeling
Дата:
Сообщение: Really dumb planner decision
Следующее
От: Grzegorz Jaśkiewicz
Дата:
Сообщение: Re: Really dumb planner decision