Re: Additional global stats - Mailing list pgsql-patches

From Tom Lane
Subject Re: Additional global stats
Date
Msg-id 28154.1174002377@sss.pgh.pa.us
Whole thread Raw
In response to Additional global stats  (Magnus Hagander <magnus@hagander.net>)
Responses Re: Additional global stats  ("Magnus Hagander" <magnus@hagander.net>)
List pgsql-patches
Magnus Hagander <magnus@hagander.net> writes:
> Here's a patch to add some more data to pg_stat_database. Turns out it
> was a lot easier than I thought - especially after reading Alvaros mail.
> Luckily I think he was wrong this time ;-)

This seems like the wrong way to go about it.  Why not compute these sums
on demand by scanning the stats tables, instead of bloating the stats
collector traffic even more?

            regards, tom lane

pgsql-patches by date:

Previous
From: Magnus Hagander
Date:
Subject: Additional global stats
Next
From: Tom Lane
Date:
Subject: Re: remove psql support for ancient copy syntax