2 points · by prmph · 8y ago · 1 comment
At first, I thought of using an internal auto-increment integer primary key, and a public client-generated GUID surrogate key. But there are issues with this approach [1]
After further thought, I'm thinking a timestamp (with millisecond resolution) primary key will meet all these requirements well.
Are there possible problems with this approach?
[1] https://tomharrisonjr.com/uuid-or-guid-as-primary-keys-be-careful-7b2aa3dcb439