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

Hopefully you don't have an auto-increment int (2^31) as a PK, or you'll be worrying sooner than you think.


That's one reason why switching auto-increments to bigint does help (a lot):

http://dev.mysql.com/doc/refman/5.5/en/integer-types.html


That is interesting to know, I have been setting my index's to bigint for a long time.


Ugh. No. This uses a multi-column natural key. I have a tendency to avoid synthetic keys when I can.




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

Search: