Re: High QPS, random index writes and vacuum - Mailing list pgsql-performance

From David Rowley
Subject Re: High QPS, random index writes and vacuum
Date
Msg-id CAApHDvoJPC-KAHq3ajhHAFWr8jBEWAFxx_xq=6gAmNKAMEUW8A@mail.gmail.com
Whole thread Raw
In response to High QPS, random index writes and vacuum  (peter plachta <pplachta@gmail.com>)
Responses Re: High QPS, random index writes and vacuum
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: High QPS, random index writes and vacuum
Next
From: peter plachta
Date:
Subject: Re: High QPS, random index writes and vacuum