Re: Vacuuming the free space map considered harmful? - Mailing list pgsql-hackers

From Melanie Plageman
Subject Re: Vacuuming the free space map considered harmful?
Date
Msg-id CAAKRu_aXqoj2Vfqu3yzscsTX=2nPQ4y-aadCNz6nJP_o12GyxA@mail.gmail.com
Whole thread Raw
In response to Vacuuming the free space map considered harmful?  (Christophe Pettus <xof@thebuild.com>)
Responses Re: Vacuuming the free space map considered harmful?
List pgsql-hackers
On Wed, Mar 19, 2025 at 4:54 AM Christophe Pettus <xof@thebuild.com> wrote:
>
> Everything seems to point to the vacuum free space map operation, since it would have a lot of work to do in that
particularsituation, it happens at just the right place in the vacuum cycle, and its resource consumption is not
throttledthe way the regular vacuum operation is. 

Do you know how big the FSM was?

As others have said, it could be worth adding a phase to
pg_stat_progress_vacuum.

I know you said you saw this all the way back to 15, but it made me
wonder if this would actually get worse after 17 and the tidstore
optimization -- since a large table with indexes requiring multiple
vacuum passes would actually end up having its FSM vacuumed sooner.

- Melanie



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Add -k/--link option to pg_combinebackup
Next
From: torikoshia
Date:
Subject: Re: RFC: Allow EXPLAIN to Output Page Fault Information