From: | Wolfgang Wilhelm <wolfgang20121964(at)yahoo(dot)de> |
---|---|
To: | "pgsql-admin(at)lists(dot)postgresql(dot)org" <pgsql-admin(at)lists(dot)postgresql(dot)org>, Holger Jakobs <holger(at)jakobs(dot)com> |
Subject: | Re: Dynamic views |
Date: | 2024-04-09 09:18:47 |
Message-ID: | 732532928.10253521.1712654327518@mail.yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Hi Holger,
thank you for the correction.
Kind regardsWolfgang
Am Montag, 8. April 2024 um 13:57:51 MESZ hat Holger Jakobs <holger(at)jakobs(dot)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(dot)dba09(at)gmail(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Tejaswi K T | 2024-04-09 12:00:26 | Auditing in Postgres |
Previous Message | M Sarwar | 2024-04-08 22:28:39 | Re: How to tune SQL performance of function based columns of a view |