Re: Questions/Observations related to Gist vacuum - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Questions/Observations related to Gist vacuum
Date
Msg-id 69EF7B88-F3E7-4E09-824D-694CF39E5683@iki.fi
Whole thread Raw
In response to Re: Questions/Observations related to Gist vacuum  (Amit Kapila <amit.kapila16@gmail.com>)
Responses Re: Questions/Observations related to Gist vacuum
Re: Questions/Observations related to Gist vacuum
List pgsql-hackers
On 16 October 2019 12:57:03 CEST, Amit Kapila <amit.kapila16@gmail.com> wrote:
>On Tue, Oct 15, 2019 at 7:13 PM Heikki Linnakangas <hlinnaka@iki.fi>
>wrote:
>> All things
>> considered, I'm not sure which is better.
>
>Yeah, this is a tough call to make, but if we can allow it to delete
>the pages in bulkdelete conditionally for parallel vacuum workers,
>then it would be better.

Yeah, if it's needed for parallel vacuum, maybe that tips the scale.

Hopefully, multi-pass vacuums are rare in practice. And we should lift the current 1 GB limit on the dead TID array,
replacingit with something more compact and expandable, to make multi-pass vacuums even more rare. So I don't think we
needto jump through many hoops to optimize the multi-pass case. 

- Heikki



pgsql-hackers by date:

Previous
From: Asif Rehman
Date:
Subject: Re: WIP/PoC for parallel backup
Next
From: Andrew Dunstan
Date:
Subject: Re: configure fails for perl check on CentOS8