Ingres incorporated automatic generated sequences, a feature that was built into other dbms products, into version 9 onwards. So are automatic generated sequences just for convenience or are they really useful? They have many advantages which are speed, especially when caching is enabled, scalability, and elimination of concurrency issues associated with unique key generation. But the drawback is that they can introduce gaps in the sequence in a variety of ways : since auto generated sequences are an object that lives in the server, on server failure it is lost. The same is true in case of caching since it can age out of the shared pool. Gaps can also be introduced programmatically e.g. by means of a rollback: user A is getting a number from the sequence let's say number 8 and commits user A is getting the next number from the sequence, number 9 user B is getting the next number from the sequence, number 10 user A rolls back and user B commits thus a gap was effective...