MySQL Forums
Forum List  »  MyISAM

Best Field Type for IP address?
Posted by: Jared Valarta
Date: October 12, 2005 12:19PM

I have a very large table (700mb currently) which is growing and I'm looking for ways to shrink it's size without loosing data.

One of the fields is IP address (xx.xx.xx.xx) which I have currently as a varchar(15). Is there a better field type for IP address that would maximize storage? I thought about Decimal but given an IP has multiple dots I was affraid to try it not knowing the result.

Any thoughts appriciated.

Options: ReplyQuote


Subject
Views
Written By
Posted
Best Field Type for IP address?
46994
October 12, 2005 12:19PM
27191
October 17, 2005 01:37PM
15041
October 02, 2006 09:34AM


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.