Greg Smith wrote:
> On Mon, 23 Mar 2009, Tom Lane wrote:
>
> > We used to have the stats_reset_on_server_start thingy, which covered
> > that case. When we removed it on the grounds that you could do the
> > same less klugily with pg_stat_reset(), nobody complained about
> > cluster-wide stats...
On Mon, 23 Mar 2009, Tom Lane wrote:
We used to have the stats_reset_on_server_start thingy, which covered
that case. When we removed it on the grounds that you could do the
same less klugily with pg_stat_reset(), nobody complained about
cluster-wide stats...
Not exactly sure of the sequence
Greg Smith writes:
> I'm curious why something resetting the cluster-wide stats isn't
> available already.
We used to have the stats_reset_on_server_start thingy, which covered
that case. When we removed it on the grounds that you could do the
same less klugily with pg_stat_reset(), nobody comp
There are a few statistics that are only kept on a per-cluster basis, such
as those reported in pg_stat_database and pg_stat_bgwriter. Since
pg_stat_reset only resets per-database counts, it doesn't touch those.
I'd like to have a function that resets those. Maybe iterates over all
the datab