Quote:
|
Originally Posted by ARWinner
If I was to hazard a guess, you have defined a cache value on the identiry column. Every time the database is stopped, either manually or automatically when no one is connected, the cache is lost. Then when the DB is started again the new start value is the last value that was cached, thus making your gaps.
If you want to eliminate the gaps from occurring this way, remove the cache for the identity column.
Andy
|
Would be nice if I did that, but as far as I can tell, nothing has been changed in the table. It was created by the Tivoli install process. I don't know how to define a cache value on an identity column and the original gap (+400) occurred before anyone even opened the database in DB2 (Control Center). I had attached to it via Microsoft Access up until then. Can't alter anything that way.
I try to schedule a nightly backup but it fails, indicating the db is always in use so as far as I can tell, it's never stopped unless the server is rebooted.