Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id DC3B0B5DBC0 for ; Fri, 17 Jun 2011 15:51:50 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 70242-07 for ; Fri, 17 Jun 2011 18:51:44 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mail.postgresql.org (Postfix) with ESMTP id 96899B5DBDC for ; Fri, 17 Jun 2011 15:51:44 -0300 (ADT) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1QXe8t-0001ZB-KS for pgsql-admin@postgresql.org; Fri, 17 Jun 2011 11:51:43 -0700 Date: Fri, 17 Jun 2011 11:51:43 -0700 (PDT) From: Shianmiin To: pgsql-admin@postgresql.org Message-ID: <1308336703621-4499692.post@n5.nabble.com> In-Reply-To: <1174.1305990672@sss.pgh.pa.us> References: <4DD6D9A6.1010101@emolecules.com> <4DD6FC11.4000706@emolecules.com> <1174.1305990672@sss.pgh.pa.us> Subject: Re: Who is causing all this i/o? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.766 tagged_above=-10 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, RFC_ABUSE_POST=0.001, T_TO_NO_BRKTS_FREEMAIL=0.01, URI_HEX=1.122 X-Spam-Level: X-Archive-Number: 201106/113 X-Sequence-Number: 37739 Tom Lane-2 wrote: > > What's not apparent however is why the stats collector is writing disk > so much. 8.4 does have the logic change to not write stats out unless > something is asking to see them. So either it's really pre-8.4, or you > have a monitoring task that is constantly asking to see stats. > We have a PostgreSQL 9.0.4 on CentOs for performance testing and we are seeing the similar issue. we have a "crazy" setup it has 1 database with 1000 identical schemas. There are occasional I/O write storm of over 100 MB/sec without any disk reads, and it could last for a couple of minutes when the schemas/data are aggressively populated by pg_restore. All the io writes seem to be on pgstat.tmp. The I/O write storm seemed to be trigger by Vacuum. The way we get around that is to point stats_temp_directory to ram disk which eliminates the I/O write storm effectively. Is it an issue of specific usage scenario or a general issue to be resolved? -- View this message in context: http://postgresql.1045698.n5.nabble.com/Who-is-causing-all-this-i-o-tp4413558p4499692.html Sent from the PostgreSQL - admin mailing list archive at Nabble.com.