Re: Improving btree performance through specializing by key shape, take 2

From: Matthias van de Meent <boekewurm+postgres(at)gmail(dot)com>
To:
Cc: Peter Geoghegan <pg(at)bowt(dot)ie>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Improving btree performance through specializing by key shape, take 2
Date: 2022-07-27 11:34:52
Message-ID: CAEze2Wgng21rsufHcWCxp2eu55WbN1C+XHKryJv3r72i4MFAZA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, 27 Jul 2022 at 09:35, Matthias van de Meent
<boekewurm+postgres(at)gmail(dot)com> wrote:
>
> On Mon, 4 Jul 2022 at 16:18, Matthias van de Meent
> <boekewurm+postgres(at)gmail(dot)com> wrote:
> >
> > On Sun, 5 Jun 2022 at 21:12, Matthias van de Meent
> > <boekewurm+postgres(at)gmail(dot)com> wrote:
> > > While working on benchmarking the v2 patchset, I noticed no
> > > improvement on reindex, which I attributed to forgetting to also
> > > specialize comparetup_index_btree in tuplesorth.c. After adding the
> > > specialization there as well (attached in v3), reindex performance
> > > improved significantly too.
> >
> > PFA version 4 of this patchset. Changes:
>
> Version 5 now, which is identical to v4 except for bitrot fixes to
> deal with f58d7073.

... and now v6 to deal with d0b193c0 and co.

I probably should've waited a bit longer this morning and checked
master before sending, but that's not how it went. Sorry for the
noise.

Kind regards,

Matthias van de Meent

Attachment Content-Type Size
v6-0005-Add-a-function-whose-task-it-is-to-populate-all-a.patch application/octet-stream 3.6 KB
v6-0004-Optimize-attribute-iterator-access-for-single-col.patch application/octet-stream 3.5 KB
v6-0003-Specialize-the-nbtree-rd_indam-entry.patch application/octet-stream 4.0 KB
v6-0001-Specialize-nbtree-functions-on-btree-key-shape.patch application/octet-stream 232.7 KB
v6-0002-Use-specialized-attribute-iterators-in-backend-nb.patch application/octet-stream 9.3 KB
v6-0007-Add-specialization-to-btree-index-creation.patch application/octet-stream 12.7 KB
v6-0006-Implement-specialized-uncacheable-attribute-itera.patch application/octet-stream 9.9 KB
v6-0008-Implement-dynamic-prefix-compression-in-nbtree.patch application/octet-stream 22.7 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2022-07-27 11:54:46 Re: Introduce wait_for_subscription_sync for TAP tests
Previous Message Amit Kapila 2022-07-27 11:33:21 Re: [BUG] Logical replication failure "ERROR: could not map filenode "base/13237/442428" to relation OID" with catalog modifying txns