Re: [GENERAL] Restoring fscked up postgres 7.1

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Kristaps Armanis <krisha(at)grafton(dot)lv>
Cc: pgsql-admin(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org
Subject: Re: [GENERAL] Restoring fscked up postgres 7.1
Date: 2005-01-21 15:30:07
Message-ID: 20050121153001.GC3749@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general

On Fri, Jan 21, 2005 at 03:33:28PM +0200, Kristaps Armanis wrote:
> Last night no crash, not anything, just @ one moment all records for
> last year where gone, all ros created for last year & tables created
> while this time - and not in only one database, but all 6 DB's on this
> server.

Looks like XID wraparound, you hit the 4 billion transaction mark. This
was fixed in 7.2 IIRC. Unfortunatly I don't know of an easy way to
recover, but this should give you something to search the archives for.

Hope this helps,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Haron, Charles 2005-01-21 15:43:00 Re: Trouble Escaping Quotes
Previous Message Rao Kumar 2005-01-21 15:27:32 postgresql 7.4.6 - FATAL Database Startup Message

Browse pgsql-general by date

  From Date Subject
Next Message Marco Colombo 2005-01-21 15:41:57 Re: Multiline plpython procedure
Previous Message Greg Stark 2005-01-21 14:27:23 Re: Calculating a moving average