Re: Generalize ereport_startup_progress infrastructure - Mailing list pgsql-hackers

From Nathan Bossart
Subject Re: Generalize ereport_startup_progress infrastructure
Date
Msg-id 20220816211544.GB255076@nathanxps13
Whole thread Raw
In response to Re: Generalize ereport_startup_progress infrastructure  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: Generalize ereport_startup_progress infrastructure
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: hash_xlog_split_allocate_page: failed to acquire cleanup lock
Next
From: Nathan Bossart
Date:
Subject: Re: add checkpoint stats of snapshot and mapping files of pg_logical dir