From: Mario Splivalo <mario.splivalo@megafon.hr>
To: pgsql-admin@postgresql.org
Subject: Reseting statistics, cluster wide
Date: Wed, 20 Apr 2011 21:31:30 +0200
Message-ID: <4DAF3492.1000205@megafon.hr> (raw)
I have set up munin monitoring that plots nice graphs using
pg_stat_bgwriter and pg_stat_database views. It has been on for quite
some time now, and the numbers those views return are too big for munin
to handle. I would like to reset those statistics. As explained by
manual, pg_stat_reset() resets only db-related statistics, not the ones
used cluster-wide. Is there a way to reset those? I don't mind stopping
the server if I need to, but I'd realy like to have those started all
over again.
Mario
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: mario.splivalo@megafon.hr
Subject: Re: Reseting statistics, cluster wide
In-Reply-To: <4DAF3492.1000205@megafon.hr>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox