From: Anton Melser <melser.anton@gmail.com>
To: Alvaro Herrera <alvherre@commandprompt.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Reinitialising stats once only without restarting
Date: Thu, 20 Dec 2007 17:23:36 +0100
Message-ID: <92d3a4950712200823o13857dc3t60940c01d6198ae8@mail.gmail.com> (raw)
In-Reply-To: <20071220133559.GF5309@alvh.no-ip.org>
References: <92d3a4950712200205j3bb24e8ct1bb18a306a9ae9f8@mail.gmail.com>
<20071220133559.GF5309@alvh.no-ip.org>
On 20/12/2007, Alvaro Herrera <alvherre@commandprompt.com> wrote:
> Anton Melser escribió:
> > Hi,
> > Sorry but I couldn't find the answer to this...
> >
> > I would like to empty all stats (pg_stat_all_tables probably mostly)
> > so I can get an idea of what's going on now. Is this possible? I
> > didn't want to just go deleting without knowing what it would do...
>
> Sure, use pg_stat_reset();
Pura vida, gracias.
A
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: melser.anton@gmail.com, alvherre@commandprompt.com
Subject: Re: Reinitialising stats once only without restarting
In-Reply-To: <92d3a4950712200823o13857dc3t60940c01d6198ae8@mail.gmail.com>
References: <92d3a4950712200205j3bb24e8ct1bb18a306a9ae9f8@mail.gmail.com> <20071220133559.GF5309@alvh.no-ip.org> <92d3a4950712200823o13857dc3t60940c01d6198ae8@mail.gmail.com>
* 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