Re: PreallocXlogFiles

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PreallocXlogFiles
Дата
Msg-id 9451.1090505950@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: PreallocXlogFiles  (Simon Riggs <simon@2ndquadrant.com>)
Ответы Re: PreallocXlogFiles  (Simon Riggs <simon@2ndquadrant.com>)
Список pgsql-hackers
Simon Riggs <simon@2ndquadrant.com> writes:
> On Thu, 2004-07-22 at 01:44, Tom Lane wrote:
>> Agreed.  Maybe it should be part of the bgwriter's idle loop, and
>> not directly associated with checkpoints at all.

> Yes, thats a more natural home, now bgwriter exists. But does it know
> when log files are full? How would it know?

It can run PreallocXlogFiles --- or more likely a modified version of
same.  There isn't anything that function needs to do that the bgwriter
can't do (in fact, the bgwriter is what runs checkpoints now...)
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Completed TODO item?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [pgsql-hackers-win32] Weird new time zone