Re: [PoC] Improve dead tuple storage for lazy vacuum

From: Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>
To: John Naylor <john(dot)naylor(at)enterprisedb(dot)com>
Cc: Nathan Bossart <nathandbossart(at)gmail(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, Matthias van de Meent <boekewurm+postgres(at)gmail(dot)com>, Yura Sokolov <y(dot)sokolov(at)postgrespro(dot)ru>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PoC] Improve dead tuple storage for lazy vacuum
Date: 2023-01-26 14:47:40
Message-ID: CAD21AoDaPJg_Nrji8w56tG7nj-NdA2wwMihpybMtPB6h4GKZXw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Jan 26, 2023 at 5:32 PM Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com> wrote:
>
> I'm working on the fixes I mentioned in the previous email and going
> to share the updated patch today. Please wait to do these fixes if
> you're okay.
>

I've attached updated version patches. As we agreed I've merged your
changes in v22 into the main (0003) patch. But I still kept the patch
of recursively freeing nodes separate as we might need more
discussion. In v23 I attached, 0006 through 0016 patches are fixes and
improvements for the radix tree. I've incorporated all comments I got
unless I'm missing something.

Regards,

--
Masahiko Sawada
Amazon Web Services: https://aws.amazon.com

Attachment Content-Type Size
v23-0016-Add-read-write-lock-to-radix-tree-in-RT_SHMEM-ca.patch application/octet-stream 11.3 KB
v23-0014-Improve-RT_DUMP-and-RT_DUMP_SEARCH-output.patch application/octet-stream 10.9 KB
v23-0018-Use-TIDStore-for-storing-dead-tuple-TID-during-l.patch application/octet-stream 40.1 KB
v23-0017-Add-TIDStore-to-store-sets-of-TIDs-ItemPointerDa.patch application/octet-stream 34.4 KB
v23-0015-Detach-DSA-after-tests-in-test_radixtree.patch application/octet-stream 1.2 KB
v23-0013-Remove-XXX-comment-for-MemoryContext-support-for.patch application/octet-stream 775 bytes
v23-0011-Add-a-safeguard-for-concurrent-iteration-in-RT_S.patch application/octet-stream 2.9 KB
v23-0010-Fix-a-typo-in-simd.h.patch application/octet-stream 705 bytes
v23-0009-Miscellaneous-fixes.patch application/octet-stream 1.3 KB
v23-0012-Don-t-include-the-size-of-RT_RADIX_TREE-to-memor.patch application/octet-stream 797 bytes
v23-0008-Align-indents-of-the-file-header-comments.patch application/octet-stream 2.6 KB
v23-0007-undef-RT_SLOT_IDX_LIMIT.patch application/octet-stream 708 bytes
v23-0006-Fix-compile-error-when-RT_VALUE_TYPE-is-non-inte.patch application/octet-stream 903 bytes
v23-0005-Tool-for-measuring-radix-tree-performance.patch application/octet-stream 22.0 KB
v23-0004-Free-all-radix-tree-nodes-recursively.patch application/octet-stream 3.2 KB
v23-0002-Move-some-bitmap-logic-out-of-bitmapset.c.patch application/octet-stream 6.1 KB
v23-0003-Add-radixtree-template.patch application/octet-stream 110.6 KB
v23-0001-introduce-vector8_min-and-vector8_highbit_mask.patch application/octet-stream 2.7 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2023-01-26 15:40:29 Re: Syncrep and improving latency due to WAL throttling
Previous Message Robert Haas 2023-01-26 14:43:09 Re: Non-superuser subscription owners