Re: [PERFORMANCE] work_mem vs temp files issue

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PERFORMANCE] work_mem vs temp files issue
Дата
Msg-id 19928.1263245782@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [PERFORMANCE] work_mem vs temp files issue  (Jaime Casanova <jcasanov@systemguards.com.ec>)
Список pgsql-performance
Jaime Casanova <jcasanov@systemguards.com.ec> writes:
> the temp files shoul be coming from hash operations but AFAICS the
> files are small and every hash operation should be using until
> work_mem memory, right?

No, when a hash spills to disk the code has to guess the partition sizes
(number of buckets per partition) in advance.  So it wouldn't be at all
surprising if the actual sizes come out substantially different from
work_mem.

            regards, tom lane

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

Предыдущее
От: Bob Dusek
Дата:
Сообщение: Re: performance config help
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: performance config help