Re: postgres 8.2.9 transaction id wraparound failure

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: "Maria L(dot) Wilson" <Maria(dot)L(dot)Wilson-1(at)nasa(dot)gov>
Cc: "jd(at)commandprompt(dot)com" <jd(at)commandprompt(dot)com>, "Wilson, Maria Louise (LARC-E301)[SCIENCE SYSTEMS APPLICATIONS]" <m(dot)l(dot)wilson(at)nasa(dot)gov>, "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: postgres 8.2.9 transaction id wraparound failure
Date: 2009-04-20 18:26:02
Message-ID: 20090420182602.GE10358@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Maria L. Wilson wrote:
> I was afraid you'd say that - any quick way to vacuum all 315 databases
> on this machine?

Actually you only need to vacuum the database being complained about --
"postgres" in this case. You can issue
SELECT datname, age(datfrozenxid) FROM pg_database ORDER BY age(datfrozenxid) DESC
to find whether any other database is going to need vacuuming as well.

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Maria L. Wilson 2009-04-20 18:30:07 Re: postgres 8.2.9 transaction id wraparound failure
Previous Message Maria L. Wilson 2009-04-20 18:15:47 Re: postgres 8.2.9 transaction id wraparound failure