Re: High QPS, random index writes and vacuum

Поиск
Список
Период
Сортировка
От David Rowley
Тема Re: High QPS, random index writes and vacuum
Дата
Msg-id CAApHDvoJPC-KAHq3ajhHAFWr8jBEWAFxx_xq=6gAmNKAMEUW8A@mail.gmail.com
обсуждение исходный текст
Ответ на High QPS, random index writes and vacuum  (peter plachta <pplachta@gmail.com>)
Ответы Re: High QPS, random index writes and vacuum  (peter plachta <pplachta@gmail.com>)
Список pgsql-performance
On Tue, 18 Apr 2023 at 12:35, peter plachta <pplachta@gmail.com> wrote:
> I increased work_mem to 2Gb

maintenance_work_mem is the configuration option that vacuum uses to
control how much memory it'll make available for storage of dead
tuples. I believe 1GB would allow 178,956,970 tuples to be stored
before multiple passes would be required. The chunk of memory for dead
tuple storage is capped at 1GB.

David



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: High QPS, random index writes and vacuum
Следующее
От: peter plachta
Дата:
Сообщение: Re: High QPS, random index writes and vacuum