I maintain a table with an ID AUTO INCREMENT PRIMARY KEY. When I delete an entry and re-add one, the new entry does not take the ID of the previous one instead it increments again by one. Is that normal and is it advised to not change this behavior? I just have a feeling this is creating a non scalable system as eventually it could run out of indexes.
Share
It’s fine. Depending on how many records you expect, you may want to make sure it’s a
biginttype, butintshould be fine in most cases.