Re: eliminate xl_heap_visible to reduce WAL (and eventually set VM on-access)
От | Melanie Plageman |
---|---|
Тема | Re: eliminate xl_heap_visible to reduce WAL (and eventually set VM on-access) |
Дата | |
Msg-id | CAAKRu_a-aVGxNEdkJt+96HGryQXuQNuXe+PhR0KcnUhXSOPBJw@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: eliminate xl_heap_visible to reduce WAL (and eventually set VM on-access) (Andrey Borodin <x4mmm@yandex-team.ru>) |
Ответы |
Re: eliminate xl_heap_visible to reduce WAL (and eventually set VM on-access)
|
Список | pgsql-hackers |
On Sun, Jul 13, 2025 at 2:34 PM Andrey Borodin <x4mmm@yandex-team.ru> wrote: > > > On 12 Jul 2025, at 03:19, Melanie Plageman <melanieplageman@gmail.com> wrote: > > > > remove the xl_heap_visible struct > > Same goes for VISIBILITYMAP_XLOG_CATALOG_REL and XLOG_HEAP2_VISIBLE. But please do not rush to remove it, perhaps I willhave a more exhaustive list later. Currently the patch set is expected to be unpolished. > I just need to absorb all effects to have a high-level evaluation of the patch set effect. I actually did remove those if you check the last version posted. I did notice there is one remaining comment referring to XLOG_HEAP2_VISIBLE I missed somehow, but the actual enums/macros were removed already. > I'm still trying to grasp connection of first patch with Assert(prstate->cutoffs) to other patches; I added this because I noticed that it was used without validating it was provided in that location. The last patch in the set which sets the VM on access changes where cutoffs are used, so I noticed what I felt was a missing assert in master while developing that page. > Also, I'd prefer "page is not marked all-visible but visibility map bit is set in relation" to emit XX001 for monitoringreasons, but again, this is small note, while I need a broader picture. Could you clarify what you mean by this? Are you talking about the string representation of the visibility map bits in the WAL record representations in heapdesc.c? - Melanie
В списке pgsql-hackers по дате отправления: