For performance reasons, AUTO_INCREMENT numbers are allocated in a batch of values (30 thousand by default) to each TiDB server. This means that while AUTO_INCREMENT numbers are guaranteed to be ...
更新已有的 `AUTO_INCREMENT` 列的值也会重置 `AUTO_INCREMENT` 序列. 你可以使用 [`LAST_INSERT_ID()`](https://dev.mysql.com/doc/refman/8.0/en ...