From: Tom Lane <tgl@sss.pgh.pa.us>
To: Sriram Dandapani <sdandapani@counterpane.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: transactoin id wraparound problem
Date: Wed, 06 Sep 2006 09:40:41 -0400
Message-ID: <7335.1157550041@sss.pgh.pa.us> (raw)
In-Reply-To: <6992E470F12A444BB787B5C937B9D4DF05ABC7C8@ca-mail1.cis.local>
References: <6992E470F12A444BB787B5C937B9D4DF05ABC7C8@ca-mail1.cis.local>
"Sriram Dandapani" <sdandapani@counterpane.com> 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 <database>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, sdandapani@counterpane.com
Subject: Re: transactoin id wraparound problem
In-Reply-To: <7335.1157550041@sss.pgh.pa.us>
References: <6992E470F12A444BB787B5C937B9D4DF05ABC7C8@ca-mail1.cis.local> <7335.1157550041@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox