Re: ThisTimeLineID in checkpointer and bgwriter processes

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: ThisTimeLineID in checkpointer and bgwriter processes
Дата
Msg-id 20121220170139.GJ4303@awork2.anarazel.de
обсуждение исходный текст
Ответ на Re: ThisTimeLineID in checkpointer and bgwriter processes  (Simon Riggs <simon@2ndQuadrant.com>)
Список pgsql-hackers
On 2012-12-20 16:46:21 +0000, Simon Riggs wrote:
> On 20 December 2012 13:19, Amit Kapila <amit.kapila@huawei.com> wrote:
>
> > True, it might not have any functionality effect in RemoveOldXlogFiles().
> > However it can be used in PreallocXlogFiles()->XLogFileInit() as well.
>
> Which is never called in recovery because we never write WAL.

It's called from CreateRestartPoint. And the pre-inited files get used
by the walreceiver and I would guess thats beneficial at elast for sync
rep...

Greetings,

Andres Freund

--Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



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

Предыдущее
От: Fujii Masao
Дата:
Сообщение: Re: ThisTimeLineID in checkpointer and bgwriter processes
Следующее
От: Tom Lane
Дата:
Сообщение: Re: FDW: ForeignPlan and parameterized paths