Re: eliminate xl_heap_visible to reduce WAL (and eventually set VM on-access)

From: Kirill Reshke <reshkekirill(at)gmail(dot)com>
To: Melanie Plageman <melanieplageman(at)gmail(dot)com>
Cc: Alexander Lakhin <exclusion(at)gmail(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, Andrey Borodin <x4mmm(at)yandex-team(dot)ru>, Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>, Xuneng Zhou <xunengzhou(at)gmail(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
Subject: Re: eliminate xl_heap_visible to reduce WAL (and eventually set VM on-access)
Date: 2026-01-31 05:09:35
Message-ID: CALdSSPiaCantt6o=_0Y3hDTTzqsjfrJronDqtvvojN9NN1YmVw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, 31 Jan 2026 at 02:36, Melanie Plageman
<melanieplageman(at)gmail(dot)com> wrote:
>
> On Fri, Jan 30, 2026 at 4:25 AM Kirill Reshke <reshkekirill(at)gmail(dot)com> wrote:
> >
> > > create table test_vac_unmodified_heap(a int) with (autovacuum_enabled = false);
> >
> > Yes I did try this, but it does not help, because autovacuum runs on
> > catalog relations, still causing fail.
> >
> > We cannot disable autovac globally in regression suite, so I propose
> > to changes this to TAp test
>
> Andres suggested making the table a temp table. He said other sessions
> vacuuming catalog tables shouldn't affect the temp table horizon. If
> you try that in your repro does it fix it?
>
> - Melanie

Yes indeed, it does.

--
Best regards,
Kirill Reshke

Attachment Content-Type Size
v1-0001-Create-test-tables-as-temporary-to-avoid-autovacu.patch application/octet-stream 1.8 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message John Naylor 2026-01-31 06:01:44 Re: More speedups for tuple deformation
Previous Message Tom Lane 2026-01-31 04:46:08 Re: Decoupling our alignment assumptions about int64 and double