pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mario Splivalo <mario.splivalo@megafon.hr>
To: Cédric Villemain <cedric.villemain.debian@gmail.com>
Cc: raghu ram <raghuchennuru@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Reseting statistics, cluster wide
Date: Fri, 22 Apr 2011 15:24:18 +0200
Message-ID: <4DB18182.6060106@megafon.hr> (raw)
In-Reply-To: <BANLkTik+_8Wos0Dok7V5AGspPwhQMNqhKQ@mail.gmail.com>
References: <4DAF3492.1000205@megafon.hr>
	<BANLkTin5W3T8eO6xHoxXaRFF8dJ6R_OSxg@mail.gmail.com>
	<4DAFE1F0.6030508@megafon.hr>
	<BANLkTinuGW1CJ8W6Svfs7wkkV1A4rT1ZpA@mail.gmail.com>
	<BANLkTik+_8Wos0Dok7V5AGspPwhQMNqhKQ@mail.gmail.com>

On 04/22/2011 03:20 PM, Cédric Villemain wrote:
> 2011/4/21 raghu ram<raghuchennuru@gmail.com>:
>>>
>>> Heh, I've neglected to mention that i'm using postgres 8.4.5 on Debian
>>> Stable. Is there a way to reset statistics on pg8.4? I've tested it on 9.0
>>> and it works there.
>>>
>>
>> AFAIK, I dont think we can achieve this in PG 8.4 at cluster level. Can
>> anybody has the information ?
>> -- Raghu
>
> With 8.4 you only have the pg_stat_reset(), it resets all stats. The
> finest one in 9.0 is a new feature/improvement.

Yeps, but that is only for database-related statistics. Stuff returned 
from pg_stat_bgwriter view are not reset.

	Mario



view thread (8+ messages)  latest in thread

Message-ID: <4DB18182.6060106@megafon.hr>
Permalink:  ../4DB18182.6060106@megafon.hr/
Also on:    postgresql.org/message-id/4DB18182.6060106@megafon.hr

 · 

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: mario.splivalo@megafon.hr, cedric.villemain.debian@gmail.com, raghuchennuru@gmail.com
  Subject: Re: Reseting statistics, cluster wide
  In-Reply-To: <4DB18182.6060106@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