formula about the number of WAL files

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема formula about the number of WAL files
Дата
Msg-id AANLkTik0sqru9oMZeTL4vnFkAaDYZB=-Meonv9gnroiu@mail.gmail.com
обсуждение исходный текст
Ответы Re: formula about the number of WAL files
Список pgsql-docs
Hi,

----------------
29.4. WAL Configuration

There will always be at least one WAL segment file, and will normally not
be more than (2 + checkpoint_completion_target) * checkpoint_segments + 1
or checkpoint_segments + wal_keep_segments + 1 files.
----------------

The above formula is wrong. The correct is

    (2 + checkpoint_completion_target) * checkpoint_segments +
wal_keep_segments + 1

The attached patch fixes this fault.

Regards,

--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

Вложения

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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Documenting removal of nonnullvalue() and friends
Следующее
От: Josh Kupershmidt
Дата:
Сообщение: description of translate()