Re: Load Distributed Checkpoints, final patch

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Load Distributed Checkpoints, final patch
Дата
Msg-id 2797.1183037412@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Load Distributed Checkpoints, final patch  (Heikki Linnakangas <heikki@enterprisedb.com>)
Список pgsql-patches
Heikki Linnakangas <heikki@enterprisedb.com> writes:
> The comment in PreallocXlogFiles is out of date:

Yeah, I changed it yesterday ...

> As you pointed out, it only preallocates one log file. And there is no
> XLOGfile mentioned anywhere else in the source tree.

If memory serves, there once was a variable there, but we simplified it
out of existence for reasons no longer apparent.  Possibly it'd be worth
trolling the CVS log and archives to find out why we did that.

Anyway, what I'm thinking at the moment is that it's not so much that
PreallocXlogFiles needs to do more work as that it needs to be called
more often.  Right now we only do it once per checkpoint.

            regards, tom lane

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

Предыдущее
От: Greg Smith
Дата:
Сообщение: Re: Load Distributed Checkpoints, final patch
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Doc update for pg_start_backup