pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: jobinau@gmail.com
Subject: BUG #18046: stats collection behaviour change is affecting the usability of information.
Date: Tue, 01 Aug 2023 16:32:46 +0000
Message-ID: <18046-9263842a9ec688e0@postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      18046
Logged by:          Jobin Augustine
Email address:      jobinau@gmail.com
PostgreSQL version: 15.3
Operating system:   CentOS/RHEL
Description:        

After stats collection changes in PG 15, The behaviour stats_reset
information is changed. which is adversely affecting the usability of data
presented in the view.
```
select stats_reset from pg_stat_database;
```
Before PG15, stats_reset was always populated so that the user knows the
cumulative values presented are of how many days.
But unfortunately, PG 15 keeps it null unless there is an explicit reset
(pg_stat_reset). The value goes again null if there is a reset due to a
crash. 
So on a regular system, the User can't understand the cumulative values
presented in the view.



view thread (10+ messages)  latest in thread

Message-ID: <18046-9263842a9ec688e0@postgresql.org>
Permalink:  ../18046-9263842a9ec688e0@postgresql.org/
Also on:    postgresql.org/message-id/18046-9263842a9ec688e0@postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, jobinau@gmail.com
  Subject: Re: BUG #18046: stats collection behaviour change is affecting the usability of information.
  In-Reply-To: <18046-9263842a9ec688e0@postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox