Re: Generalize ereport_startup_progress infrastructure

Поиск
Список
Период
Сортировка
От Nathan Bossart
Тема Re: Generalize ereport_startup_progress infrastructure
Дата
Msg-id 20220816211544.GB255076@nathanxps13
обсуждение исходный текст
Ответ на Re: Generalize ereport_startup_progress infrastructure  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: Generalize ereport_startup_progress infrastructure  (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>)
Список pgsql-hackers
On Wed, Aug 10, 2022 at 11:00:20AM -0400, Robert Haas wrote:
> Maybe the checkpointer is a better candidate, but somehow I feel that
> we can't consider this sort of thing separate from the existing
> progress reporting that checkpointer already does. Perhaps we need to
> think of changing or improving that in some way rather than adding
> something wholly new alongside the existing system.

I agree that the checkpointer has a good chance of being a better
candidate.  Are you thinking of integrating this into log_checkpoints
somehow?  Perhaps this parameter could optionally accept an interval for
logging the progress of ongoing checkpoints.

-- 
Nathan Bossart
Amazon Web Services: https://aws.amazon.com



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: hash_xlog_split_allocate_page: failed to acquire cleanup lock
Следующее
От: Nathan Bossart
Дата:
Сообщение: Re: add checkpoint stats of snapshot and mapping files of pg_logical dir