Re: AW: AW: Is it possible to turn on pg_stat_extensions at a database level - Mailing list pgsql-novice

From Laurenz Albe
Subject Re: AW: AW: Is it possible to turn on pg_stat_extensions at a database level
Date
Msg-id b0d10cdd0a9f473803b08c1a6c90e9998a43724d.camel@cybertec.at
Whole thread Raw
In response to AW: AW: Is it possible to turn on pg_stat_extensions at a database level  ("Subramanian,Ramachandran" <ramachandran.subramanian@alte-leipziger.de>)
List pgsql-novice
On Fri, 2026-03-13 at 05:54 +0000, Subramanian,Ramachandran wrote:
> Coming from the mainframe world, we always assume that there is a lot of
> CPU/IO expense to monitor and collect statistics from unnecessary Databases.
>
> This is why I wanted the collection of the statitstics itself to be restricted
> to just one Database.

Ok, now you know that you cannot get it.

I doubt that there are databases where monitoring is unnecessary:

- if there is nothing doing in that database, that won't be a lot of statistics
  to collect

- if there is a lot going on in that database, the load will be noteworthy
  and can affect your other, necessary, databases in the same cluster, so
  you need the statistics to diagnose such problems

Yours,
Laurenz Albe



pgsql-novice by date:

Previous
From: "Subramanian,Ramachandran"
Date:
Subject: A vexing problem with LDAP
Next
From: Laurenz Albe
Date:
Subject: Re: A vexing problem with LDAP