Re: High QPS, random index writes and vacuum

From: David Rowley <dgrowleyml(at)gmail(dot)com>
To: peter plachta <pplachta(at)gmail(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: High QPS, random index writes and vacuum
Date: 2023-04-18 02:40:37
Message-ID: CAApHDvoJPC-KAHq3ajhHAFWr8jBEWAFxx_xq=6gAmNKAMEUW8A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Tue, 18 Apr 2023 at 12:35, peter plachta <pplachta(at)gmail(dot)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

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message peter plachta 2023-04-18 02:43:22 Re: High QPS, random index writes and vacuum
Previous Message Tom Lane 2023-04-18 02:01:05 Re: High QPS, random index writes and vacuum