I have a SQL Server 2012 database with a table that has an identity column that has jumped by several hundred million:
- Identity seed: 10
- Identity increment: 1
Data Type: bigint
4000012345 to 5000000001
There was potentially a record inserted around the time of the issue with:
SET IDENTITY_INSERT orders ON
SET IDENTITY_INSERT orders OFF
I’m currently trying to find the TSQL of the record in the transaction log and will update accordingly.
After a restart of the server yesterday this issue was also apparent: SQL Server 2012 column identity increment jumping from 6 to 1000+ on 7th entry
However, I don’t think this issue would explain such a large jump but may be related.
Please can anyone offer any advice on alternative places to look or provide a potential explanation?
The jump of 10,000 I can understand and have observed after restart of server.
I can find very little online of references to such a large jump. I have concerns if this happens multiple times there is the potential for no IDs to be available.