Re: lazy_scan_heap() should release lock on buffer before vacuuming FSM - Mailing list pgsql-hackers

From Robert Haas
Subject Re: lazy_scan_heap() should release lock on buffer before vacuuming FSM
Date
Msg-id CA+TgmoYfQwaQ6dUD0z-s=n5UHU2OWX_4uAxVQ0aCMvWwbf6cuQ@mail.gmail.com
Whole thread Raw
In response to Re: lazy_scan_heap() should release lock on buffer before vacuuming FSM  (Andres Freund <andres@anarazel.de>)
Responses Re: lazy_scan_heap() should release lock on buffer before vacuuming FSM
List pgsql-hackers
On Mon, Nov 13, 2023 at 8:26 PM Andres Freund <andres@anarazel.de> wrote:
> I think this undersells the situation a bit. We right now do
> FreeSpaceMapVacuumRange() for 8GB of data (VACUUM_FSM_EVERY_PAGES) in the main
> fork, while holding an exclusive page level lock.

That sounds fairly horrific?

--
Robert Haas
EDB: http://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: Melanie Plageman
Date:
Subject: Re: lazy_scan_heap() should release lock on buffer before vacuuming FSM
Next
From: Nathan Bossart
Date:
Subject: Re: Popcount optimization using AVX512