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 07:35:24
Message-ID: CAEze2WiczWe3xSbOMLpk8+BCx9nYBoKuGgo2qygbSJ-eN1yDwg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

Kind regards,

Matthias van de Meent.

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2022-07-27 07:36:13 Re: [PATCH] Compression dictionaries for JSONB
Previous Message Kyotaro Horiguchi 2022-07-27 07:08:07 Re: Slow standby snapshot