Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 763D864FCEF for ; Tue, 26 Aug 2008 14:04:32 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 83873-03 for ; Tue, 26 Aug 2008 14:04:28 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from depesz.com (depesz.com [78.46.78.198]) by postgresql.org (Postfix) with ESMTP id F3BFB64FCC0 for ; Tue, 26 Aug 2008 14:04:28 -0300 (ADT) Received: from depesz by depesz.com with local (Exim 4.69) (envelope-from ) id 1KY1xv-0007mV-In; Tue, 26 Aug 2008 19:04:23 +0200 Date: Tue, 26 Aug 2008 19:04:23 +0200 From: hubert depesz lubaczewski To: Jerry Champlin Cc: pgsql-performance@postgresql.org, Andrew Sullivan Subject: Re: Autovacuum does not stay turned off Message-ID: <20080826170423.GA29849@depesz.com> Reply-To: depesz@depesz.com References: <48B420F4.5020406@absolute-performance.com> <20080826161427.GA25880@depesz.com> <48B4332B.4050207@absolute-performance.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <48B4332B.4050207@absolute-performance.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200808/335 X-Sequence-Number: 31216 On Tue, Aug 26, 2008 at 10:45:31AM -0600, Jerry Champlin wrote: > This makes sense. What queries can I run to see how close to the limit > we are? We need to determine if we should stop the process which > updates and inserts into this table until after the critical time this > afternoon when we can perform the required maintenance on this table. select datname, age(datfrozenxid) from pg_database; Best regards, depesz -- Linkedin: http://www.linkedin.com/in/depesz / blog: http://www.depesz.com/ jid/gtalk: depesz@depesz.com / aim:depeszhdl / skype:depesz_hdl / gg:6749007