AUTO_INCREMENT
Handling in InnoDB
InnoDB
provides an optimization that significantly improves scalability and performance of SQL statements that insert rows into tables with AUTO_INCREMENT
columns. This section provides background information on the original ("traditional") implementation of auto-increment locking in InnoDB
, explains the configurable locking mechanism, documents the parameter for configuring the mechanism, and describes its behavior and interaction with replication.