Re: Move bki file pre-processing from initdb to bootstrap

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Move bki file pre-processing from initdb to bootstrap
Дата
Msg-id d07efce7-e6d1-4d94-fe52-9b977150e345@eisentraut.org
обсуждение исходный текст
Ответ на Re: Move bki file pre-processing from initdb to bootstrap  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Move bki file pre-processing from initdb to bootstrap  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On 01.09.23 14:37, Tom Lane wrote:
> Krishnakumar R <kksrcv001@gmail.com> writes:
>> This patch moves the pre-processing for tokens in the bki file from
>> initdb to bootstrap. With these changes the bki file will only be
>> opened once in bootstrap and parsing will be done by the bootstrap
>> parser.
> 
> You haven't provided any iota of evidence why this would be an
> improvement.

I had played with similar ideas in the past, because it would shave some 
time of initdb, which would accumulate noticeably over a full test run.

But now with the initdb caching mechanism, I wonder whether this is 
still needed.




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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Commitfest 2023-09 starts soon
Следующее
От: Tomas Vondra
Дата:
Сообщение: Re: lockup in parallel hash join on dikkop (freebsd 14.0-current)