MySQL Forums
Forum List  »  MyISAM

Re: Primary key performance int vs. char
Posted by: Ingo Strüwing
Date: August 03, 2005 01:39AM

Yes and yes. :)

int(2) does not use less space than int(11).
In your case it would be optimal to use TINYINT.
See reference manual 11.2. Numeric Types.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Primary key performance int vs. char
5668
August 03, 2005 01:39AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.