| From: | hubert depesz lubaczewski <depesz(at)depesz(dot)com> |
|---|---|
| To: | Justin Pasher <justinp(at)newmediagateway(dot)com> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Postgres stats collector showing high disk I/O |
| Date: | 2010-04-23 21:40:35 |
| Message-ID: | 20100423214035.GB1818@depesz.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general pgsql-hackers |
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(at)depesz(dot)com / aim:depeszhdl / skype:depesz_hdl / gg:6749007
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Justin Pasher | 2010-04-23 21:49:38 | Re: Postgres stats collector showing high disk I/O |
| Previous Message | Justin Pasher | 2010-04-23 20:27:55 | Postgres stats collector showing high disk I/O |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Robert Haas | 2010-04-23 21:43:00 | Re: recovery_connections cannot start (was Re: master in standby mode croaks) |
| Previous Message | Simon Riggs | 2010-04-23 21:38:01 | Re: recovery_connections cannot start (was Re: master in standby mode croaks) |