Re: Bad plan choice nestloop vs. hashjoin

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Bad plan choice nestloop vs. hashjoin
Дата
Msg-id 24460.1263601647@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Bad plan choice nestloop vs. hashjoin  (Kenneth Marshall <ktm@rice.edu>)
Список pgsql-performance
Kenneth Marshall <ktm@rice.edu> writes:
> We have just upgraded our monitoring server software and
> now the following query for graphing the data performs
> abysmally with the default settings. Here is the results
> of the EXPLAIN ANALYZE run with nestloops enabled:

That plan seems a bit wacko --- I don't see a reason for it to be using
an indexscan on items ii.  Can you extract a self-contained test case?

            regards, tom lane

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

Предыдущее
От: Kenneth Marshall
Дата:
Сообщение: Re: Bad plan choice nestloop vs. hashjoin
Следующее
От: Eduardo Piombino
Дата:
Сообщение: Re: a heavy duty operation on an "unused" table kills my server