Re: postgres 8.2.9 transaction id wraparound failure

From: "Maria L(dot) Wilson" <Maria(dot)L(dot)Wilson-1(at)nasa(dot)gov>
To: "jd(at)commandprompt(dot)com" <jd(at)commandprompt(dot)com>
Cc: "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:15:47
Message-ID: 49ECBBD3.5060200@nasa.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

I was afraid you'd say that - any quick way to vacuum all 315 databases
on this machine?
thanks......

Joshua D. Drake wrote:
> On Mon, 2009-04-20 at 13:49 -0400, Maria L. Wilson wrote:
>
>> running on a linux box
>>
>> i've inherited this test machine getting the following errors in the
>> logs....
>>
>> scoogan 198.119.134.228 2009-04-20 11:42:48.762 EDT 0 [9181]
>> [scoogan_ange_1.2] FATAL: database is not accepting commands to avoid
>> wraparound data loss in database "postgres"
>> scoogan 198.119.134.228 2009-04-20 11:42:48.762 EDT 0 [9181]
>> [scoogan_ange_1.2] HINT: Stop the postmaster and use a standalone
>> backend to vacuum database "postgres".
>>
>> I stopped the server and went into single user mode as the docs
>> suggested....
>> postgres --single -D /data/pg_devices
>>
>>
>> then i am issuing vacuum full analyze; it returns.....
>>
>> 2009-04-20 11:37:47.377 EDT [8513] [] WARNING: database "postgres"
>> must be vacuumed within 982038 transactions
>> 2009-04-20 11:37:47.377 EDT [8513] [] HINT: To avoid a database
>> shutdown, execute a full-database VACUUM in "postgres".
>>
>> trying to restart the server - I still am getting the same initial
>> errors....
>>
>
> You have to vacuum each database.
>
> Joshua D. Drake
>
>
>
>> Am i missing something??
>>
>> thanks!! Maria Wilson
>>
>>
>>
>>

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Alvaro Herrera 2009-04-20 18:26:02 Re: postgres 8.2.9 transaction id wraparound failure
Previous Message Joshua D. Drake 2009-04-20 18:14:26 Re: postgres 8.2.9 transaction id wraparound failure