From: | Peter Geoghegan <pg(at)bowt(dot)ie> |
---|---|
To: | Pavel Luzanov <p(dot)luzanov(at)postgrespro(dot)ru> |
Cc: | Melanie Plageman <melanieplageman(at)gmail(dot)com>, "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>, Heikki Linnakangas <hlinnaka(at)iki(dot)fi> |
Subject: | Re: PG17 optimizations to vacuum |
Date: | 2024-09-02 21:17:30 |
Message-ID: | CAH2-Wz=G-UWRY-x+Y70c+Kz0185cX=MoJz-Vh-b6GJhTqH6jWA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Mon, Sep 2, 2024 at 4:58 PM Peter Geoghegan <pg(at)bowt(dot)ie> wrote:
> On Mon, Sep 2, 2024 at 4:35 PM Pavel Luzanov <p(dot)luzanov(at)postgrespro(dot)ru> wrote:
> > If it helps, without creating index on id column, the numbers will be
> > much closer:
>
> Yes, avoiding all index vacuuming seems useful. It makes the test case
> cleaner, since we don't have to think about the variability from the
> TIDStore work (and from index vacuuming more generally).
It just occurred to me that earlier versions don't have the
HEAP_PAGE_PRUNE_MARK_UNUSED_NOW optimization added by commit
c120550edb. Postgres 17 does have that optimization, though, so it
should easily be able to write far fewer WAL records than earlier
versions. And yet your revised no-indexes test case seems to show that
Postgres 17 is doing slightly worse by that measure (and by others).
--
Peter Geoghegan
From | Date | Subject | |
---|---|---|---|
Next Message | Heikki Linnakangas | 2024-09-02 21:23:43 | Re: PG17 optimizations to vacuum |
Previous Message | Heikki Linnakangas | 2024-09-02 21:11:48 | Re: PG17 optimizations to vacuum |