X-Original-To: pgsql-admin-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 617599FA5BF for ; Wed, 6 Sep 2006 13:31:01 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 54329-09 for ; Wed, 6 Sep 2006 13:30:50 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id B76269FA5E9 for ; Wed, 6 Sep 2006 13:30:45 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id k86DefvP007336; Wed, 6 Sep 2006 09:40:41 -0400 (EDT) To: "Sriram Dandapani" cc: pgsql-admin@postgresql.org Subject: Re: transactoin id wraparound problem In-reply-to: <6992E470F12A444BB787B5C937B9D4DF05ABC7C8@ca-mail1.cis.local> References: <6992E470F12A444BB787B5C937B9D4DF05ABC7C8@ca-mail1.cis.local> Comments: In-reply-to "Sriram Dandapani" message dated "Tue, 05 Sep 2006 22:45:40 -0700" Date: Wed, 06 Sep 2006 09:40:41 -0400 Message-ID: <7335.1157550041@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.115 tagged_above=0 required=5 tests=AWL, SPF_HELO_PASS, SPF_PASS X-Spam-Level: X-Archive-Number: 200609/35 X-Sequence-Number: 22949 "Sriram Dandapani" writes: > I get error messages on the console that says > WARNING: database "xxx" must be vacuumed within 10094646 transactions > I shutdown, restart pg and issue a vacuumdb -f The shutdown/restart was a waste of typing, and -f doesn't really help here either. > I still get messages saying database must be vacuumed and the > transaction count keeps decreasing. I'll bet a nickel you did not run the vacuum as superuser. It has to be done by a superuser to have permission to vacuum every table in the database (including system catalogs). regards, tom lane