Re: A few new options for CHECKPOINT

Поиск
Список
Период
Сортировка
От Bernd Helmle
Тема Re: A few new options for CHECKPOINT
Дата
Msg-id 1812a4818ed13f8f3fc9aef99e999ae20e843392.camel@oopsware.de
обсуждение исходный текст
Ответ на Re: A few new options for CHECKPOINT  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: A few new options for CHECKPOINT
Список pgsql-hackers
Am Mittwoch, den 25.11.2020, 13:47 +0900 schrieb Michael Paquier:
> I can see the use case for IMMEDIATE, but I fail to see the use cases
> for WAIT and FORCE.  CHECKPOINT_FORCE is internally implied for the
> end-of-recovery and shutdown checkpoints.  WAIT could be a dangerous
> thing if disabled, as clients could pile up requests to the
> checkpointer for no real purpose.

Wouldn't it be more convenient to use "FAST" for immediate checkpoint,
defaulting to "FAST ON"? That would be along the parameter used in the
streaming protocol command BASE_BACKUP, where "FAST" disables lazy
checkpointing.

I agree that the other options don't seem reasonable for exposing to
SQL.


-- 
Thanks,
    Bernd





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

Предыдущее
От: 方徳輝
Дата:
Сообщение: Re: Is postgres ready for 2038?
Следующее
От: Fujii Masao
Дата:
Сообщение: Re: Add statistics to pg_stat_wal view for wal related parameter tuning