Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

but you can still do pagination with uuids, your rows can be sorted on any arbitrary criteria like created date or updated date.


But that would be slow, even with an index, as compared to using a clustered primary key. Especially when your data doesn't fit in ram.


Sure, already mentioned UUID’s being slow. There are trade offs


Dates might not be unique but I can see other possibilities that would be fine.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: