Re:Auto increment is a terrible idea
by detaro on Thursday November 30, 2017 @08:55AM
(#15815682)
Don't they have the same problems the article dislikes about auto increment numbers?
[ Parent
| on HN ]
I don't think so. They don't disclose information (other than the timestamp if you use one, but each ID is still random). You will not get collisions between tables either. And unless you operate on a massive scale, you are unlikely to get collisions between machines (and you can always xor the ID with the hash of the server name to further reduce the collision risk).