Re: What *_mem to increase when running CLUSTER

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: What *_mem to increase when running CLUSTER
Дата
Msg-id 14786.1125001190@sss.pgh.pa.us
обсуждение исходный текст
Ответ на What *_mem to increase when running CLUSTER  (Andrew Lazarus <andrew@pillette.com>)
Список pgsql-performance
Andrew Lazarus <andrew@pillette.com> writes:
> Should I temporarily increase sort_mem, vacuum_mem, neither, or both
> when doing a CLUSTER on a large (100 million row) table

The only part of that job that can use lots of memory is the index
rebuilds.  In recent PG versions maintenance_work_mem is the thing
to increase for an index build; previously sort_mem controlled it.
I forget when the changeover was; maybe 8.0.

            regards, tom lane

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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: Read/Write block sizes
Следующее
От: Ron
Дата:
Сообщение: Re: Read/Write block sizes