pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Martijn van Oosterhout <kleptog@svana.org>
To: Kristaps Armanis <krisha@grafton.lv>
Cc: pgsql-admin@postgresql.org
Cc: pgsql-general@postgresql.org
Subject: Re: [GENERAL] Restoring fscked up postgres 7.1
Date: Fri, 21 Jan 2005 16:30:07 +0100
Message-ID: <20050121153001.GC3749@svana.org> (raw)
In-Reply-To: <10071638046.20050121153328@grafton.lv>
References: <10071638046.20050121153328@grafton.lv>

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@svana.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.

view thread (4+ messages)  latest in thread

Message-ID: <20050121153001.GC3749@svana.org>
Permalink:  ../20050121153001.GC3749@svana.org/
Also on:    postgresql.org/message-id/20050121153001.GC3749@svana.org

 · 

reply

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: kleptog@svana.org, krisha@grafton.lv, pgsql-general@postgresql.org
  Subject: Re: [GENERAL] Restoring fscked up postgres 7.1
  In-Reply-To: <20050121153001.GC3749@svana.org>
  References: <10071638046.20050121153328@grafton.lv> <20050121153001.GC3749@svana.org>

* 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