Re: transactoin id wraparound problem - Mailing list pgsql-admin

From Tom Lane
Subject Re: transactoin id wraparound problem
Date
Msg-id 7335.1157550041@sss.pgh.pa.us
Whole thread Raw
In response to transactoin id wraparound problem  ("Sriram Dandapani" <sdandapani@counterpane.com>)
Responses Re: transactoin id wraparound problem  (<alex.cotarlan@thomson.com>)
List pgsql-admin
"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

pgsql-admin by date:

Previous
From: Andrew Sullivan
Date:
Subject: Re: transactoin id wraparound problem
Next
From: "Sriram Dandapani"
Date:
Subject: Re: transactoin id wraparound problem