Re: left outer join taking too long?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: left outer join taking too long?
Дата
Msg-id 2635.1051910217@sss.pgh.pa.us
обсуждение исходный текст
Ответ на left outer join taking too long?  ("Johnson, Shaunn" <SJohnson6@bcbsm.com>)
Список pgsql-general
"Johnson, Shaunn" <SJohnson6@bcbsm.com> writes:
> Merge Join  (cost=1081799.72..1088792.93 rows=1518781 width=237)
>   ->  Index Scan using t_mbr_ben_spans_i on t_mbr_ben_spans b
> (cost=0.00..3053.66 rows=51333 width=30)
>   ->  Sort  (cost=1081799.72..1081799.72 rows=1518781 width=207)
>         ->  Seq Scan on mbr a  (cost=0.00..73602.81 rows=1518781 width=207)

Increasing sort_mem would make that cost estimate drop.  What effects
it'd have on the actual runtime is harder to say; but I never trust
EXPLAIN's estimates very much ;-)

            regards, tom lane


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

Предыдущее
От: "Bob Krus"
Дата:
Сообщение: PostgreSQL Inquiry
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Connection closed