java - 数据库删除数据导致id不连续,有什么影响么
大家讲道理
大家讲道理 2017-04-18 10:10:21
0
4
411

数据库删除数据导致id不连续,有什么影响么?性能或者其他方面的影响。。

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all(4)
迷茫

No problem, you can modify your table structure to make it continuous

黄舟

No impact, just add indexes to frequently queried fields

伊谢尔伦

ID is just a unique identifier, it doesn’t matter. . And try not to use ID as the primary business key during the development process

迷茫

It has no impact. In some designs, the ID is a string generated using UUID(), which is not continuous in the first place

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template