Skip site navigation (1) Skip section navigation (2)

Sequences - jumped after power failure

From: Steve T <steve(at)retsol(dot)co(dot)uk>
To: PostGreSQL <pgsql-novice(at)postgresql(dot)org>
Subject: Sequences - jumped after power failure
Date: 2008-04-15 08:21:05
Message-ID: 1208247665.27471.250.camel@retsol610 (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
Is it possible for a whole set of sequences to suddenly 'jump'?

I have a set of claims tables that cover the claim itself, the customer,
contact points etc. Yesterday there was a power failure and the server
suffered an immediate power outage. When the server came back,
everything seemed fine, apart from the fact that the claim related
sequences had all jumped and left a gap of 33 (last was 52 before power
failure, next one allocated after power failure 85). This seems
consistent across all the tables related to the claim (it may be across
the   tables in the database - I haven't checked all of them as yet).

Does this sound feasible and if so, what is the cause?


pgsql-novice by date

Next:From: Sean DavisDate: 2008-04-15 09:47:33
Subject: Re: Sequences - jumped after power failure
Previous:From: nickDate: 2008-04-14 10:52:44
Subject: Re: convert text file to database

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group