Re: WIP: parallel GiST index builds

Поиск
Список
Период
Сортировка
От Tomas Vondra
Тема Re: WIP: parallel GiST index builds
Дата
Msg-id e35e8f43-89a0-4267-8ab2-ef31eaf986ef@enterprisedb.com
обсуждение исходный текст
Ответ на Re: WIP: parallel GiST index builds  ("Andrey M. Borodin" <x4mmm@yandex-team.ru>)
Ответы Re: WIP: parallel GiST index builds
Список pgsql-hackers

On 7/22/24 13:08, Andrey M. Borodin wrote:
> 
> 
>> 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. Anyway we will
> calllog_newpage_range(RelationGetNumberOfBlocks(index)) at the end.
> 

But that doesn't update the page LSN, which GiST uses to detect
concurrent splits, no?


regards

-- 
Tomas Vondra
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Amul Sul
Дата:
Сообщение: Re: pg_verifybackup: TAR format backup verification
Следующее
От: Ashutosh Bapat
Дата:
Сообщение: Re: SQL Property Graph Queries (SQL/PGQ)