Download - upload.wikimedia.

Transcript
Sequence Strategies
Poor insert performance.
Identity sequencing does not support sequence preallocation, so requires a select after each
insert, in some cases doubling the insert cost. Consider using a sequence table, or sequence
object to allow sequence preallocation.
Lost latest free id.
MySQL bug 1998 causes its autoincrement counter to be lost on restart. So if the last
entity is removed and the MySQL server restarted, the same id will be re-used and thus
not be unique.
8
http://bugs.mysql.com/bug.php?id=199
63