Re: Postgres 9.1.4 - high stats collector IO usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks so much, Tom.

That did the job. I increased it to every 15 minutes and it has dropped substantially even though the pgstat.stat file is over 1 MB again.

It is unfortunate that the IO utilisation of this seems to be O(n^2) as that is a big impediment to shared hosting. Is there any type of bounty system where people can contribute to developing features?

Regards, David

On 29/07/12 00:13, Tom Lane wrote:
David Barton <dave@xxxxxxxxxxxx> writes:
I am running postgres 9.1.4 on Ubuntu 12.04 and the stats collector is
generating very high IO usage even when nothing appears to be happening
on the system.
I have roughly 150 different databases, each of which is running in 1 of
roughly 30 tablespaces.  The databases are small (the dump of most is
are under 100M, and all but 3 are under 1G, nothing larger than 2G).
That's a lot of databases.  I think your problem probably stems from
autovacuum madly trying to cover all of them.  Backing off (increasing)
autovacuum_naptime to slow its cycle might help.

			regards, tom lane



--
Sent via pgsql-performance mailing list (pgsql-performance@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance


[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux