Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 5D0BA632B10 for ; Wed, 18 Aug 2010 16:02:47 -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 37298-02 for ; Wed, 18 Aug 2010 19:02:39 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from glacier.frostconsultingllc.com (glacier.frostconsultingllc.com [69.36.227.170]) by mail.postgresql.org (Postfix) with ESMTP id BCB1B632AAB for ; Wed, 18 Aug 2010 16:02:39 -0300 (ADT) Received: from dsl081-245-111.sfo1.dsl.speakeasy.net ([64.81.245.111] helo=Sidney-Stratton.local) by glacier.frostconsultingllc.com with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.69) (envelope-from ) id 1OlnuF-0006TE-Ma; Wed, 18 Aug 2010 12:02:38 -0700 Message-ID: <4C6C2E4A.1010506@agliodbs.com> Date: Wed, 18 Aug 2010 12:02:34 -0700 From: Josh Berkus User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b3pre) Gecko/20090223 Thunderbird/3.0b2 MIME-Version: 1.0 To: Tom Lane CC: PostgreSQL-development Subject: Re: Return of the Solaris vacuum polling problem -- anyone remember this? References: <4C69827A.409@agliodbs.com> <19969.1281986537@sss.pgh.pa.us> <4C6C2B2B.9060501@agliodbs.com> <8599.1282158010@sss.pgh.pa.us> In-Reply-To: <8599.1282158010@sss.pgh.pa.us> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201008/1321 X-Sequence-Number: 168124 > On further reflection, though: since we put in the BufferAccessStrategy > code, which was in 8.3, the background writer isn't *supposed* to be > very much involved in writing pages that are dirtied by VACUUM. VACUUM > runs in a small ring of buffers and is supposed to have to clean its own > dirt most of the time. So it's wrong to blame this on the bgwriter not > holding up its end. Rather, what you need to be thinking about is how > come vacuum seems to be making lots of pages dirty on only one of these > machines. This is an anti-wraparound vacuum, so it could have something to do with the hint bits. Maybe it's setting the freeze bit on every page, and writing them one page at a time? Still don't understand the call to pollsys, even so, though. -- -- Josh Berkus PostgreSQL Experts Inc. http://www.pgexperts.com