Primary key in MySQL: INT(n) or UUID as varchar(36)

Posted by SODA on Stack Overflow See other posts from Stack Overflow or by SODA
Published on 2010-04-18T21:10:17Z Indexed on 2010/04/18 21:13 UTC
Read the original article Hit count: 170

Filed under:
|

Does it make sense to use UUID as primary key in MySQL?

What would be pros and cons of using UUID instead of regular INT, beside trouble of hand querying?

© Stack Overflow or respective owner

Related posts about mysql

Related posts about primary-key