I am trying to implement a sequence in an Oracle database to act as a surrogate key creator for a table. For performance reasons, I want this sequence to be cached. I have rea
Say the cache has the values 101-200.
The value written on disk is 201.
Your insert uses 101-150.
Instance goes down.
Instance starts up.
Next time the sequence is used 201-300 will be cached.