Re: [PATCH] reduce page overlap of GiST indexes built using sorted method

From: Andrey Borodin <x4mmm(at)yandex-team(dot)ru>
To: "sergei sh(dot)" <sshoulbakov(at)kontur(dot)io>
Cc: Aliaksandr Kalenik <akalenik(at)kontur(dot)io>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: [PATCH] reduce page overlap of GiST indexes built using sorted method
Date: 2022-01-23 09:33:29
Message-ID: 7949C715-57DA-4852-983B-7E6E7272A0A3@yandex-team.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> 19 янв. 2022 г., в 09:31, Andrey Borodin <x4mmm(at)yandex-team(dot)ru> написал(а):
>>
>> I've addressed Andrey Borodin's concerns about v2 of this patch by Aliaksandr
>> Kalenik in attached version.
>
> Thank you! I'll make a new iteration of review. From a first glance everything looks good, but gist_sorted_build_page_buffer_size haven't any documentation....

I've made one more iteration. The code generally looks OK to me.

Some nitpicking:
1. gist_sorted_build_page_buffer_size is not documented yet
2. Comments correctly state that check for interrupts is done once per whatever. Let's make "whatever" == "1 page flush" again.
3. There is "Size i" in a loop. I haven't found usage of Size, but many size_t-s. For the same purpose in the same file mostly "int i" is used.
4. Many multiline comments are formatted in an unusual manner.

Besides this I think the patch is ready for committer.

Thanks!

Best regards, Andrey Borodin.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Trevor Gross 2022-01-23 10:56:11 Re: WIP: System Versioned Temporal Table
Previous Message Julien Rouhaud 2022-01-23 08:52:45 Re: Schema variables - new implementation for Postgres 15