problem sybase autogenerated ids

Posted by daedlus on Stack Overflow See other posts from Stack Overflow or by daedlus
Published on 2010-03-06T18:18:04Z Indexed on 2010/04/11 9:23 UTC
Read the original article Hit count: 357

Filed under:
|
|

Hi , I have a table in which the PK column Id of type bigint and it is populated automatically increasing order of 1,2,3...so on i notice that some times all of a sudden the ids that are generated are having very big value . for example the ids are like 1,2,3,4,5,500000000000001,500000000000002 there is a huge jump after 5...ids 6 , 7 were not used at all

i do perform delete operations on this table but i am absolutely sure that missing ids were not used before.

why does this occur and how can i fix this?

many thanks for looking in to this.

my env: sybase ase 15.0.3 , linux

© Stack Overflow or respective owner

Related posts about sybase

Related posts about sybase-ase