From: Holger Jakobs <holger@jakobs.com>
To: pgsql-admin@lists.postgresql.org
Subject: Re: Dynamic views
Date: Mon, 8 Apr 2024 13:57:33 +0200
Message-ID: <c4b39f88-83f2-40d3-9a3c-a7906fa469ca@jakobs.com> (raw)
In-Reply-To: <1131891051.9514344.1712572662608@mail.yahoo.com>
References: <CAJk5AtaFm_8ZJmEo4h5HX+WCZJpP79rWd_i5EiF_3qkYj38n0g@mail.gmail.com>
<1131891051.9514344.1712572662608@mail.yahoo.com>
Am 08.04.24 um 12:37 schrieb Wolfgang Wilhelm:
> Hi Rajesh,
>
> pg_stat_activity shows the actual activity - what is running as DB
> tasks on the system. When the process finishes then it will disappear
> from that view. No reset needed. pg_stat_database will have new
> information with new or deleted databases. So no reset required, too.
> More information can be taken from the docs. See
> https://www.postgresql.org/docs/current/monitoring-stats.html
>
> Regards
> Wolfgang
>
>
> Am Montag, 8. April 2024 um 09:01:12 MESZ hat Rajesh Kumar
> <rajeshkumar.dba09@gmail.com> Folgendes geschrieben:
>
>
> Hi all,
>
> How much time the stats are hold in dynamic stats views such as
> pg_stat_activity, pg_stat_database etc?
>
> Is there a reset point? How to find the last reset time ?
pg_stat_activity shows the CURRENT activity ...
Deutsch: "aktuell" is NOT the same as "actual" in English! Using
"actual" instead of "current" may confuse other people.
--
Holger Jakobs, Bergisch Gladbach, Tel. +49-178-9759012
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-admin@postgresql.org
Cc: holger@jakobs.com, pgsql-admin@lists.postgresql.org
Subject: Re: Dynamic views
In-Reply-To: <c4b39f88-83f2-40d3-9a3c-a7906fa469ca@jakobs.com>
* 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