Re: Database stats ( pg_stat_database.stats_reset ) get reset on daily basis - why? - Mailing list pgsql-general

From Ron Johnson
Subject Re: Database stats ( pg_stat_database.stats_reset ) get reset on daily basis - why?
Date
Msg-id CANzqJaDSU6dsbL6jc7DP7=iNu9HZaMPX9yN2WBtTxOb0JPpXOA@mail.gmail.com
Whole thread Raw
In response to Re: Database stats ( pg_stat_database.stats_reset ) get reset on daily basis - why?  (Adrian Klaver <adrian.klaver@aklaver.com>)
Responses Re: Database stats ( pg_stat_database.stats_reset ) get reset on daily basis - why?
List pgsql-general
On Thu, Nov 21, 2024 at 4:12 PM Adrian Klaver <adrian.klaver@aklaver.com> wrote:
On 11/21/24 12:57, Steeve Boulanger wrote:
>
>  > Please reply to list also.
>
> My apologies - I thought I did a "Reply all", but apparently not. I'm a
> little bit of a noob with email distrib lists.
>
>  > 1) What is log_min_error_statement set to?
>
>            name           | setting | pending_restart
> -------------------------+---------+-----------------
>   log_min_error_statement | error   | f
>
>  > 2) Did you reload the server when changing?:
>
> yes - pg_reload_conf()

All I can think to do is look at the logs  around the stats_reset times
for the databases and see if there is anything relevant.
 
Also, "SELECT pg_postmaster_start_time();" to show the real Postgresql start time, instead of what you think it is.

--
Death to <Redacted>, and butter sauce.
Don't boil me, I'm still alive.
<Redacted> lobster!

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Database stats ( pg_stat_database.stats_reset ) get reset on daily basis - why?
Next
From: Steeve Boulanger
Date:
Subject: Re: Database stats ( pg_stat_database.stats_reset ) get reset on daily basis - why?