pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Wolfgang Wilhelm <wolfgang20121964@yahoo.de>
To: pgsql-admin@lists.postgresql.org <pgsql-admin@lists.postgresql.org>
To: Holger Jakobs <holger@jakobs.com>
Subject: Re: Dynamic views
Date: Tue, 9 Apr 2024 09:18:47 +0000 (UTC)
Message-ID: <732532928.10253521.1712654327518@mail.yahoo.com> (raw)
In-Reply-To: <c4b39f88-83f2-40d3-9a3c-a7906fa469ca@jakobs.com>
References: <CAJk5AtaFm_8ZJmEo4h5HX+WCZJpP79rWd_i5EiF_3qkYj38n0g@mail.gmail.com>
	<1131891051.9514344.1712572662608@mail.yahoo.com>
	<c4b39f88-83f2-40d3-9a3c-a7906fa469ca@jakobs.com>

 Hi Holger,
thank you for the correction.
Kind regardsWolfgang

    Am Montag, 8. April 2024 um 13:57:51 MESZ hat Holger Jakobs <holger@jakobs.com> Folgendes geschrieben:  
 
  

 
 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
 
 
    

view thread (4+ messages)

Message-ID: <732532928.10253521.1712654327518@mail.yahoo.com>
Permalink:  ../732532928.10253521.1712654327518@mail.yahoo.com/
Also on:    postgresql.org/message-id/732532928.10253521.1712654327518@mail.yahoo.com

 · 

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-admin@postgresql.org
  Cc: wolfgang20121964@yahoo.de, pgsql-admin@lists.postgresql.org, holger@jakobs.com
  Subject: Re: Dynamic views
  In-Reply-To: <732532928.10253521.1712654327518@mail.yahoo.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