Re: Additional global stats

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: pgsql-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Additional global stats
Date: 2007-03-15 23:46:17
Message-ID: 28154.1174002377@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Magnus Hagander <magnus(at)hagander(dot)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

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2007-03-15 23:53:17 Re: remove psql support for ancient copy syntax
Previous Message Magnus Hagander 2007-03-15 21:35:48 Additional global stats