Re: Introduce a new view for checkpointer related stats - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Introduce a new view for checkpointer related stats
Date
Msg-id 20221130003130.mfanvvyv3dt4ipnm@awork3.anarazel.de
Whole thread Raw
In response to Re: Introduce a new view for checkpointer related stats  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: Introduce a new view for checkpointer related stats
List pgsql-hackers
Hi,

On 2022-11-28 12:58:48 -0500, Robert Haas wrote:
> On Tue, Nov 22, 2022 at 3:53 PM Andres Freund <andres@anarazel.de> wrote:
> > I think we should consider deprecating the pg_stat_bgwriter columns but
> > leaving them in place for a few years. New stuff should only be added to
> > pg_stat_checkpointer, but we don't need to break old monitoring queries.
> 
> I vote to just remove them. I think that most people won't update
> their queries until they are forced to do so.

Seems most agree with that... WFM.

But:


> I don't think it matters very much when we force them to do that.

I don't think that's true. If we remove the columns when the last version
without pg_stat_checkpointer has gone out of support, users don't need to have
version switches in their monitoring setups.

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Jeff Davis
Date:
Subject: Re: Collation version tracking for macOS
Next
From: Jeff Davis
Date:
Subject: Re: Collation version tracking for macOS