Re: Slow Index Creation, why is it not consuming more memory.

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: Slow Index Creation, why is it not consuming more memory.
Дата
Msg-id CAEYLb_XBryqSJ9e+4px3sw=Od9wLSB-1hjdvXfAe-1p6ZebrHw@mail.gmail.com
обсуждение исходный текст
Ответ на Slow Index Creation, why is it not consuming more memory.  (Tory M Blue <tmblue@gmail.com>)
Список pgsql-performance
On Mon, Dec 7, 2015 at 10:36 PM, Tory M Blue <tmblue@gmail.com> wrote:
> What am I not understanding missing?

Yes. There is a hard limit on the number of tuples than can be sorted
in memory prior to PostgreSQL 9.4. It's also the case that very large
work_mem or maintenance_work_mem settings are unlikely to help unless
they result in a fully internal sort.

There is evidence that the heap that tuple sorting uses benefits from
*lower* settings. Sometimes as low as 64MB.

We're working to make this better in 9.6.

--
Regards,
Peter Geoghegan


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

Предыдущее
От: Tory M Blue
Дата:
Сообщение: Slow Index Creation, why is it not consuming more memory.
Следующее
От: Tory M Blue
Дата:
Сообщение: checkpoints, proper config