From: | Thomas Munro <thomas(dot)munro(at)gmail(dot)com> |
---|---|
To: | peter plachta <pplachta(at)gmail(dot)com> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-performance(at)postgresql(dot)org |
Subject: | Re: High QPS, random index writes and vacuum |
Date: | 2023-04-18 02:49:59 |
Message-ID: | CA+hUKGLcrtugqiuPdBKzd8Pcrkt0uu4y+3NqDt1xjd+H+Y2PtQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
On Tue, Apr 18, 2023 at 2:43 PM peter plachta <pplachta(at)gmail(dot)com> wrote:
> I was trying to understand whether there are any known workarounds for random access + index vacuums. Are my vacuum times 'normal' ?
Ah, it's not going to help on the old versions you mentioned, but for
what it's worth: I remember noticing that I could speed up vacuum of
uncorrelated indexes using parallel vacuum (v13), huge_pages=on,
maintainance_work_mem=BIG, min_dynamic_shared_memory=BIG (v14),
because then the memory that is binary-searched in random order avoids
thrashing the TLB.
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Geoghegan | 2023-04-18 02:52:34 | Re: High QPS, random index writes and vacuum |
Previous Message | peter plachta | 2023-04-18 02:44:47 | Re: High QPS, random index writes and vacuum |