在 MySql 哪个更快更高效,手动排序还是自动递增?

in MySql Which is More faster and efficient, Manual Sequence or Auto Increment?

手动序列和MySql自动递增哪个更快更高效?我们应该使用哪一个?哪一个适合更高效的查询。

创建 MySQL AUTO_INCREMENT

CREATE TABLE xyz
(
ID int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (ID)
)

The AUTO_INCREMENT attribute can be used to generate a unique identity By default. The starting value for AUTO_INCREMENT is 1, and it will increment by 1 for each new record. for new rows