RE: [PHP] Ip address as 32bit int?

From: Date: Fri, 22 Nov 2002 12:50:39 +0000
Subject: RE: [PHP] Ip address as 32bit int?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-125598@lists.php.net to get a copy of this message
> From: Noodle Snacks [mailto:webmaster@tececo.com] > the reason I ask is because it is alot more efficient space wise > in a db to > be storing a 32bit number rather that a char or varchar field. While it is more efficient space-wise (4 bytes vs. 12 bytes), the price of the additional disk storage needed for storing them is trivial (unless you have a billions). Make sure you consider the addtional costs of maintenance, too, when you store data in a "non-human" format.

« previous php.general (#125598) next »