X-Original-To: pgsql-admin-postgresql.org@postgresql.org Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 7CDD89FB39F for ; Wed, 6 Sep 2006 16:38:28 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 32182-09 for ; Wed, 6 Sep 2006 19:38:25 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from exchange.g2switchworks.com (mail.g2switchworks.com [63.87.162.25]) by postgresql.org (Postfix) with ESMTP id 8D98D9FB227 for ; Wed, 6 Sep 2006 16:38:21 -0300 (ADT) Received: from 10.10.1.37 ([10.10.1.37]) by exchange.g2switchworks.com ([10.10.1.2]) with Microsoft Exchange Server HTTP-DAV ; Wed, 6 Sep 2006 19:38:20 +0000 Received: from state.g2switchworks.com by mail.g2switchworks.com; 06 Sep 2006 14:38:19 -0500 Subject: Re: transactoin id wraparound problem From: Scott Marlowe To: Sriram Dandapani Cc: Tom Lane , pgsql-admin@postgresql.org In-Reply-To: <6992E470F12A444BB787B5C937B9D4DF05ABC88F@ca-mail1.cis.local> References: <6992E470F12A444BB787B5C937B9D4DF05ABC88F@ca-mail1.cis.local> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1157571499.20424.20.camel@state.g2switchworks.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Wed, 06 Sep 2006 14:38:19 -0500 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=SPF_PASS, UNPARSEABLE_RELAY X-Spam-Level: X-Archive-Number: 200609/47 X-Sequence-Number: 22961 On Wed, 2006-09-06 at 14:23, Sriram Dandapani wrote: > Thanks > > Is there a way to monitor vacuum progress. Can I resume normal > operations assuming vacuum will update the transaction ids or should I > wait till it finishes. As Andrew mentioned, there's the possibility of wrapping before vacuum finishes. Other than that, there's no danger to continuing to use the db while it's being vacuumed. There was a post here a little while back that had a query that would show you how many transactions you had until wraparound and which databases had been vacuumed when... The basic data is in pg_database. Take a look at that table.