pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Sullivan <ajs@crankycanuck.ca>
To: pgsql-admin@postgresql.org
Subject: Re: clear statistics in pg_stat
Date: Thu, 29 Nov 2007 16:47:53 -0500
Message-ID: <20071129214753.GA8157@crankycanuck.ca> (raw)
In-Reply-To: <B10E6810AC2A2F4EA7550D072CDE8760197E2A@SAB-FENWICK.sab.uiuc.edu>
References: <B10E6810AC2A2F4EA7550D072CDE8760197E2A@SAB-FENWICK.sab.uiuc.edu>

On Thu, Nov 29, 2007 at 03:32:59PM -0600, Campbell, Lance wrote:
> How can I clear pg_stat views?  I thought there was a command I could

According to the manual, there's this:

pg_stat_reset()

I suggest you read the section of the manual about stats collection.

A

-- 
Andrew Sullivan
Old sigs will return after re-constitution of blue smoke



view thread (3+ messages)  latest in thread

Message-ID: <20071129214753.GA8157@crankycanuck.ca>
Permalink:  ../20071129214753.GA8157@crankycanuck.ca/
Also on:    postgresql.org/message-id/20071129214753.GA8157@crankycanuck.ca

 · 

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: ajs@crankycanuck.ca
  Subject: Re: clear statistics in pg_stat
  In-Reply-To: <20071129214753.GA8157@crankycanuck.ca>

* 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