pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Milen A. Radev <milen@radev.net>
To: pgsql-admin@postgresql.org
Subject: Re: clear statistics in pg_stat
Date: Thu, 29 Nov 2007 23:52:27 +0200
Message-ID: <fincar$d92$1@ger.gmane.org> (raw)
In-Reply-To: <B10E6810AC2A2F4EA7550D072CDE8760197E2A@SAB-FENWICK.sab.uiuc.edu>
References: <B10E6810AC2A2F4EA7550D072CDE8760197E2A@SAB-FENWICK.sab.uiuc.edu>

Campbell, Lance написа:
> How can I clear pg_stat views?  I thought there was a command I could
> do.  I added a series of indexes.  I would like to start out fresh with
> the stats.  I ran vacuum full analyze.


"pg_stat_reset()"?

(http://www.postgresql.org/docs/current/static/monitoring-stats.html#MONITORING-STATS-SETUP)


-- 
Milen A. Radev




view thread (3+ messages)

Message-ID: <fincar$d92$1@ger.gmane.org>
Permalink:  ../fincar$d92$1@ger.gmane.org/
Also on:    postgresql.org/message-id/fincar$d92$1@ger.gmane.org

 · 

reply

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: milen@radev.net
  Subject: Re: clear statistics in pg_stat
  In-Reply-To: <fincar$d92$1@ger.gmane.org>

* 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