Re: Some queries starting to hang

Поиск
Список
Период
Сортировка
От Andrew Sullivan
Тема Re: Some queries starting to hang
Дата
Msg-id 20060605203851.GB7071@phlogiston.dyndns.org
обсуждение исходный текст
Ответ на Re: Some queries starting to hang  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Some queries starting to hang  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-performance
On Mon, Jun 05, 2006 at 04:07:19PM -0400, Tom Lane wrote:
>
> broke:
> >    ->  Nested Loop  (cost=30150.77..129334.04 rows=1 width=305)
>
> work:
> >    ->  Hash Join  (cost=30904.77..125395.89 rows=1810 width=306)
>
> I'm wondering about out-of-date or nonexistent ANALYZE stats, missing
> custom adjustments of statistics target settings, etc.

But even the nested loop shouldn't be a "never returns" case, should
it?  For 1800 rows?

(I've _had_ bad plans that picked nestloop, for sure, but they're
usually for tens of thousands of rows when they take forever).

A

--
Andrew Sullivan  | ajs@crankycanuck.ca
Users never remark, "Wow, this software may be buggy and hard
to use, but at least there is a lot of code underneath."
        --Damien Katz

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Some queries starting to hang
Следующее
От: Chris Beecroft
Дата:
Сообщение: Re: Some queries starting to hang