Re: WIP: parallel GiST index builds - Mailing list pgsql-hackers

From Andrey M. Borodin
Subject Re: WIP: parallel GiST index builds
Date
Msg-id 8B22328D-790F-4AA3-A234-91056EF996C1@yandex-team.ru
Whole thread Raw
In response to Re: WIP: parallel GiST index builds  (Tomas Vondra <tomas.vondra@enterprisedb.com>)
Responses Re: WIP: parallel GiST index builds
List pgsql-hackers

> On 22 Jul 2024, at 12:26, Tomas Vondra <tomas.vondra@enterprisedb.com> wrote:
>
> I don't understand how would that solve the problem, can you elaborate?
> Which of the values are you suggesting should be replaced with the
> shared counter? lastlsn?

I think during build we should consider index unlogged and always use GetFakeLSNForUnloggedRel() or something similar.
Anywaywe will calllog_newpage_range(RelationGetNumberOfBlocks(index)) at the end. 


Best regards, Andrey Borodin.


pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: Windows default locale vs initdb
Next
From: Alvaro Herrera
Date:
Subject: Re: [EXTERNAL] Re: Add non-blocking version of PQcancel