From: | Melanie Plageman <melanieplageman(at)gmail(dot)com> |
---|---|
To: | Pg Hackers <pgsql-hackers(at)postgresql(dot)org> |
Cc: | Andres Freund <andres(at)anarazel(dot)de>, Robert Haas <robertmhaas(at)gmail(dot)com>, Peter Geoghegan <pg(at)bowt(dot)ie> |
Subject: | Re: Emit fewer vacuum records by reaping removable tuples during pruning |
Date: | 2023-11-17 23:12:08 |
Message-ID: | CAAKRu_a3mq47XpEGsyrvK7Y69Uvmyv114unTQ2GYP0sQqYyZWQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Mon, Nov 13, 2023 at 5:28 PM Melanie Plageman
<melanieplageman(at)gmail(dot)com> wrote:
> When there are no indexes on the relation, we can set would-be dead
> items LP_UNUSED and remove them during pruning. This saves us a vacuum
> WAL record, reducing WAL volume (and time spent writing and syncing
> WAL).
...
> Note that (on principle) this patch set is on top of the bug fix I
> proposed in [1].
>
> [1] https://www.postgresql.org/message-id/CAAKRu_YiL%3D44GvGnt1dpYouDSSoV7wzxVoXs8m3p311rp-TVQQ%40mail.gmail.com
Rebased on top of fix in b2e237afddc56a and registered for the january fest
https://commitfest.postgresql.org/46/4665/
- Melanie
Attachment | Content-Type | Size |
---|---|---|
v2-0002-Set-would-be-dead-items-LP_UNUSED-while-pruning.patch | text/x-patch | 17.1 KB |
v2-0001-Indicate-rel-truncation-unsafe-in-lazy_scan-no-pr.patch | text/x-patch | 7.0 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Andres Freund | 2023-11-17 23:27:12 | Re: Change GUC hashtable to use simplehash? |
Previous Message | Tom Lane | 2023-11-17 22:58:48 | Re: On non-Windows, hard depend on uselocale(3) |