public inbox for [email protected]  
help / color / mirror / Atom feed
From: blockdump <[email protected]>
To: Laurenz Albe <[email protected]>
Cc: [email protected]
Subject: Re: Reset date for Cumulative Statistics System when not in table
Date: Mon, 26 Feb 2024 17:52:24 +0100
Message-ID: <CAJzQbyWd+xW4LC5L4kpnpApZc5ssaEvBQ2KDywC-AMfP2r5CMA@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <CAJzQbyUCuUNxF8Sv4W5ngtMjWBBfK6dipCgLRLNxQoBhDEu1jQ@mail.gmail.com>
	<[email protected]>

Thank you so much for the info!

On Mon, Feb 26, 2024, 16:40 Laurenz Albe <[email protected]> wrote:

> On Mon, 2024-02-26 at 14:47 +0100, blockdump wrote:
> > I am new to Postgres and started reading about the The Cumulative
> Statistics System.
> >
> https://www.postgresql.org/docs/current/monitoring-stats.html#MONITORING-PG-STATIO-ALL-TABLES-VIEW
> >
> > When I came across pg_statio_all_tables I was wondering what is the
> reference date for the
> > counters like (heap_blks_read, heap_blks_hit ... ) This table does not
> have a stats_reset column like others.
> > So are this numbers accumulating from the creation of the table or since
> the startup of the cluster ?
> >
> > Maybe someone can drop me a line.
>
> Statistics survive a restart, but not a crash, so the statistics are
> collected since the table was created, the latest crash happened or the
> statistics were reset; whatever happened last.
>
> Unfurtunately there is no way to find out the time when that happened.
>
> Yours,
> Laurenz Albe
>


view thread (3+ messages)

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: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Reset date for Cumulative Statistics System when not in table
  In-Reply-To: <CAJzQbyWd+xW4LC5L4kpnpApZc5ssaEvBQ2KDywC-AMfP2r5CMA@mail.gmail.com>

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

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