Re: Effect of stopped status collector process - Mailing list pgsql-general

From Tom Lane
Subject Re: Effect of stopped status collector process
Date
Msg-id 15173.1227621296@sss.pgh.pa.us
Whole thread Raw
In response to Effect of stopped status collector process  (Siddharth Shah <siddharth.shah@elitecore.com>)
Responses Re: Effect of stopped status collector process  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-general
Siddharth Shah <siddharth.shah@elitecore.com> writes:
> I have found pgstat.stat file taking too much write hits.
> As my need to deploy on flash based storage. I don't want higher I/O's
> To stop status collector process I have change postmaster.c by removing
> calls of pgstat.c
> Now every thing is working fine, Status collector process is not initiated ?

> Any drawbacks for not writing pgstat.stat ?

Autovacuum doesn't work ...

If you are willing to run a hand-hacked version then I'd suggest doing
your experimentation with CVS HEAD.  There are changes in place already
to reduce the stats file traffic.

            regards, tom lane

pgsql-general by date:

Previous
From: Siddharth Shah
Date:
Subject: Effect of stopped status collector process
Next
From: Alvaro Herrera
Date:
Subject: Re: Effect of stopped status collector process