Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id B1F0363252C for ; Sun, 22 Aug 2010 13:52:05 -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 08759-07 for ; Sun, 22 Aug 2010 16:51:58 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from momjian.us (momjian.us [70.90.9.53]) by mail.postgresql.org (Postfix) with ESMTP id 59B5D632440 for ; Sun, 22 Aug 2010 13:51:58 -0300 (ADT) Received: (from bruce@localhost) by momjian.us (8.11.6/8.11.6) id o7MGplA28857; Sun, 22 Aug 2010 12:51:47 -0400 (EDT) From: Bruce Momjian Message-Id: <201008221651.o7MGplA28857@momjian.us> Subject: Re: Return of the Solaris vacuum polling problem -- anyone remember this? In-Reply-To: <15870.1282490621@sss.pgh.pa.us> To: Tom Lane Date: Sun, 22 Aug 2010 12:51:47 -0400 (EDT) CC: Josh Berkus , PostgreSQL-development X-Mailer: ELM [version 2.4ME+ PL124 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="US-ASCII" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201008/1607 X-Sequence-Number: 168410 Tom Lane wrote: > Bruce Momjian writes: > > We often mention that we do vacuum freeze for anti-wraparound vacuum, > > but not for pg_clog file removal, which is the primary trigger for > > autovacuum vacuum freezing. I have added the attached documentation > > patch for autovacuum_freeze_max_age; back-patched to 9.0. > > This patch does not actually seem like an improvement. The paragraph is > all about transaction age, but you've inserted something entirely > unrelated, and not only that but chosen to make the unrelated thing seem > like the major consequence and anti-wraparound an afterthought. Well, the reason that value is 200 million is for pg_clog cleanup, not for xid wraparound protection. The next sentence does relate to xid wraparound, but it seems to fit because the previous sentence ends with xid wraparound: Note that the system will launch autovacuum processes to prevent wraparound even when autovacuum is otherwise disabled. If we were worried about just xid wraparound I assume the value would be 2 billion. Do you have a suggestion? Reorder the items? -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + It's impossible for everything to be true. +