MySQL Forums
Forum List  »  MyISAM

Re: Primary key performance int vs. char
Posted by: Mike Connell
Date: August 02, 2005 08:13PM

On a similiar note...

If a field is declared as int(11), and there is a single key index on this field,
will it be a waste of valuable space in the index if the key only has values
from 1-32?

I know I should have made the field declaration smaller to begin with.
Just wondering if this is biting me because my index might be taking up
more space than it otherwise might need to?

Thanks

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Primary key performance int vs. char
6139
August 02, 2005 08:13PM


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.