Re: Memory exhausted (leak?)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Memory exhausted (leak?)
Дата
Msg-id 10972.1094767198@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Memory exhausted (leak?)  ("Joshua D. Drake" <jd@commandprompt.com>)
Ответы Re: Memory exhausted (leak?)
Список pgsql-general
"Joshua D. Drake" <jd@commandprompt.com> writes:
> 1. Are the row estimates accurate? If not increase your statistics.

Presumably not, since he'd surely never overflow memory with hashes of
only a few hundred rows.

The hash join code is capable of splitting the table into multiple
segments, but it won't do so unless the planner's estimate of the
table size is larger than sort_mem.  So the real problem IMHO is
the bad rowcount estimate.

            regards, tom lane

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

Предыдущее
От: Aaron Birkland
Дата:
Сообщение: Re: Memory exhausted (leak?)
Следующее
От: Steve Atkins
Дата:
Сообщение: Re: How to determine a database is intact?