| From: | Heikki Linnakangas <hlinnaka(at)iki(dot)fi> | 
|---|---|
| To: | Andrey Borodin <x4mmm(at)yandex-team(dot)ru>, Darafei Komяpa Praliaskouski <me(at)komzpa(dot)net>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> | 
| Subject: | Re: Yet another fast GiST build | 
| Date: | 2019-08-26 10:47:22 | 
| Message-ID: | a2a08c27-6094-74f7-026e-b0064a6e2f8d@iki.fi | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgsql-hackers | 
On 26/08/2019 10:59, Andrey Borodin wrote:
> Hi!
> 
> In many cases GiST index can be build fast using z-order sorting.
> 
> I've looked into proof of concept by Nikita Glukhov [0] and it looks very interesting.
> So, I've implemented yet another version of B-tree-like GiST build.
Cool!
> My biggest concern is that passing function to relation option seems
> a bit hacky. You can pass there any function matching sort support
> signature. Embedding this function into opclass makes no sense: it
> does not affect scan anyhow.
I think it should be a new, optional, GiST "AM support function", in 
pg_amproc. That's how the sort support functions are defined for B-tree 
opfamilies, too.
- Heikki
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Joe Conway | 2019-08-26 10:49:18 | Re: [Proposal] Table-level Transparent Data Encryption (TDE) and Key Management Service (KMS) | 
| Previous Message | Darafei Komяpa Praliaskouski | 2019-08-26 10:27:27 | Re: Yet another fast GiST build |