Re: Postgres stats collector showing high disk I/O - Mailing list pgsql-general

From hubert depesz lubaczewski
Subject Re: Postgres stats collector showing high disk I/O
Date
Msg-id 20100423214035.GB1818@depesz.com
Whole thread Raw
In response to Postgres stats collector showing high disk I/O  (Justin Pasher <justinp@newmediagateway.com>)
Responses Re: Postgres stats collector showing high disk I/O  (Justin Pasher <justinp@newmediagateway.com>)
List pgsql-general
On Fri, Apr 23, 2010 at 03:27:55PM -0500, Justin Pasher wrote:
> haven't tweaked any settings from the defaults. My
> $PGDATA/global/pgstat.stat file is about 18MB, if that helps. Does
> it really rewrite this entire file every 500ms? Alvaro suggested
> resetting the stats, but I'm having trouble figuring out how to do
> that. Seems like pg_stat_reset() is post- 8.1 ...?

I don't have 8.1 handy, but according to this:
http://www.postgresql.org/docs/8.1/interactive/monitoring-stats.html
pg_stat_reset() should be available in 8.1.

Best regards,

depesz

--
Linkedin: http://www.linkedin.com/in/depesz  /  blog: http://www.depesz.com/
jid/gtalk: depesz@depesz.com / aim:depeszhdl / skype:depesz_hdl / gg:6749007

pgsql-general by date:

Previous
From: Justin Pasher
Date:
Subject: Postgres stats collector showing high disk I/O
Next
From: Justin Pasher
Date:
Subject: Re: Postgres stats collector showing high disk I/O