Re: WIP: BRIN multi-range indexes
Tomas Vondra <tomas.vondra@2ndquadrant.com>
From: Tomas Vondra <tomas.vondra@2ndquadrant.com>
To: Anastasia Lubennikova <a.lubennikova@postgrespro.ru>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2020-11-02T23:25:45Z
Lists: pgsql-hackers
Attachments
On Mon, Nov 02, 2020 at 06:05:27PM +0000, Anastasia Lubennikova wrote: >Status update for a commitfest entry. > >According to cfbot the patch no longer compiles. Tomas, can you send >an update, please? > Yep, here's an updated patch series. It got broken by f90149e6285aa which disallowed OID macros in pg_type, but fixing it was simple. I've also included the patch adopting the one-hash bloom, as implemented by John Naylor. I didn't have time to do any testing / evaluation yet, so I've kept it as a separate part - ultimately we should either merge it into the other bloom patch or discard it. >I also see that a few last messages mention a data corruption bug. >Sounds pretty serious. Alvaro, have you had a chance to look at it? I >don't see anything committed yet, nor any active discussion in other >threads. Yeah, I'm not aware of any fix addressing this - my understanding was Alvaro plans to handle that, but amybe I misinterpreted his response. Anyway, I think the fix is simple - we need to de-TOAST the data while adding the data to index, and we need to consider what to do with existing possibly-broken indexes. regards -- Tomas Vondra http://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Commits
-
BRIN minmax-multi indexes
- ab596105b55f 14.0 landed
-
BRIN bloom indexes
- 77b88cd1bb90 14.0 landed
-
Support the old signature of BRIN consistent function
- a681e3c107aa 14.0 landed
-
Remove unnecessary pg_amproc BRIN minmax entries
- a68dfa27d42f 14.0 landed
-
Optimize allocations in bringetbitmap
- 8e4b332e88b8 14.0 landed
-
Move IS [NOT] NULL handling from BRIN support functions
- 72ccf55cb99c 14.0 landed
-
Pass all scan keys to BRIN consistent function at once
- a1c649d889bd 14.0 landed
-
Properly detoast data in brin_form_tuple
- d2d3a4bd33d2 9.5.24 landed
- bae31e75f777 9.6.20 landed
- 0b96fc977c5b 10.15 landed
- 895d0f0e8218 11.10 landed
- 8149e9f9a0d6 12.5 landed
- 6a7b55f3716f 13.1 landed
- 7577dd84807a 14.0 landed