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

I use uuid as primary key when I plan for scale and future sharding. It's negligible performance hit of at all and I can move entire datasets from one db to another without worrying about references.


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

Search: