Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 6907A632E5E for ; Mon, 23 Aug 2010 13:15:31 -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 44152-01 for ; Mon, 23 Aug 2010 16:15:23 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from spinlock.commandprompt.com (unknown [207.173.203.215]) by mail.postgresql.org (Postfix) with ESMTP id 5C57763275E for ; Mon, 23 Aug 2010 13:15:23 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by spinlock.commandprompt.com (Postfix) with ESMTP id 583D4348034; Mon, 23 Aug 2010 09:14:58 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at commandprompt.com Received: from spinlock.commandprompt.com ([127.0.0.1]) by localhost (spinlock.commandprompt.com.commandprompt.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rdNW2qS7iBsu; Mon, 23 Aug 2010 09:14:55 -0700 (PDT) Received: from perhan.alvh.no-ip.org (200-85-200-241.bk3-dsl.surnet.cl [200.85.200.241]) by spinlock.commandprompt.com (Postfix) with ESMTPSA id B07C1348002; Mon, 23 Aug 2010 09:14:54 -0700 (PDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 668586E510; Mon, 23 Aug 2010 12:14:52 -0400 (CLT) Content-Type: text/plain; charset=UTF-8 Cc: Tom Lane , Josh Berkus , PostgreSQL-development Subject: Re: Return of the Solaris vacuum polling problem -- anyone remember this? From: Alvaro Herrera To: Bruce Momjian In-reply-to: <201008221651.o7MGplA28857@momjian.us> References: <201008221651.o7MGplA28857@momjian.us> Date: Mon, 23 Aug 2010 12:14:52 -0400 Message-Id: <1282579975-sup-2769@alvh.no-ip.org> User-Agent: Sup/git Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.107 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RDNS_NONE=0.793 X-Spam-Level: X-Archive-Number: 201008/1637 X-Sequence-Number: 168440 Excerpts from Bruce Momjian's message of dom ago 22 12:51:47 -0400 2010: > 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? I'd add another para before that one saying that this value "also" affects pg_clog truncation. I agree that putting pg_clog truncation as the first item here is not an improvement. For most people, having those pg_clog files there or not is going to be a wash, compared to data size. -- Álvaro Herrera The PostgreSQL Company - Command Prompt, Inc. PostgreSQL Replication, Consulting, Custom Development, 24x7 support