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

IFF they’re using MySQL (doubtful), it’s a common mistake due to there not being a native type, and needing to know to use BINARY(16) and casting the string back and forth in code.

But in either case – MySQL or Postgres – they’ve still made the classic mistake of using a UUID as a PK, which will tank performance one way or another. They’ll notice right around when it starts to matter.



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

Search: