Re:SQL Keys in Depth
by needusername on Tuesday January 09, 2018 @02:47AM
(#16104324)
What was your reason for not using database sequences?
[ Parent
| on HN ]
Re:SQL Keys in Depth
by manigandham on Monday January 22, 2018 @02:16PM
(#16207042)
It was in my original post:
>> This means plenty of ID space, maintains rough numeric ordering, allows ID creation without a roundtrip for every insert, is easily portable across different databases, and produces unique IDs for every row in the database which greatly simplifies everything from caching to replication.