Re: btree: implement dynamic prefix truncation (was: Improving btree performance through specializing by key shape, take 2)
Matthias van de Meent <boekewurm+postgres@gmail.com>
From: Matthias van de Meent <boekewurm+postgres@gmail.com>
To:
Cc: Dilip Kumar <dilipbalaut@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>,
Peter Geoghegan <pg@bowt.ie>, David Christensen <david@pgguru.net>
Date: 2024-03-01T13:48:53Z
Lists: pgsql-hackers
Attachments
- v15-0001-btree-Implement-dynamic-prefix-compression.patch (application/octet-stream) patch v15-0001
On Wed, 24 Jan 2024 at 13:02, Matthias van de Meent <boekewurm+postgres@gmail.com> wrote: > > 1. > > Commit message refers to a non-existing reference '(see [0])'. > > Noted, I'll update that. > > > 2. > > +When we do a binary search on a sorted set (such as a BTree), we know that a > > +tuple will be smaller than its left neighbour, and larger than its right > > +neighbour. > > > > I think this should be 'larger than left neighbour and smaller than > > right neighbour' instead of the other way around. > > Noted, will be fixed, too. Attached is version 15 of this patch, with the above issues fixed. It's also rebased on top of 655dc310 of this morning, so that should keep good for some time again. Kind regards, Matthias van de Meent Neon (https://neon.tech)
Commits
-
Give nbtree move right function internal linkage.
- 1343ae954cea 18.0 landed