Re: Reseting statistics, cluster wide

From: Cédric Villemain <cedric(dot)villemain(dot)debian(at)gmail(dot)com>
To: raghu ram <raghuchennuru(at)gmail(dot)com>
Cc: Mario Splivalo <mario(dot)splivalo(at)megafon(dot)hr>, pgsql-admin(at)postgresql(dot)org
Subject: Re: Reseting statistics, cluster wide
Date: 2011-04-22 13:20:10
Message-ID: BANLkTik+_8Wos0Dok7V5AGspPwhQMNqhKQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

2011/4/21 raghu ram <raghuchennuru(at)gmail(dot)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.

See http://www.postgresql.org/docs/8.4/static/monitoring-stats.html

--
Cédric Villemain               2ndQuadrant
http://2ndQuadrant.fr/     PostgreSQL : Expertise, Formation et Support

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Mario Splivalo 2011-04-22 13:24:18 Re: Reseting statistics, cluster wide
Previous Message Scott Ribe 2011-04-21 19:59:07 Re: unix timestamp