Re: Mysql/php database performance question
| From: | Marek Kilimajer | Date: | Fri, 10 Jan 2003 16:03:33 +0000 |
| Subject: | Re: Mysql/php database performance question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-131129@lists.php.net to get a copy of this message | ||
char of greater size than 3 is converted to varchar anyways
Where's the pain? The trade off between char and varchar is speed vs table size. Are just trying to be as fast as possible? If the db is small, I wouldn't worry about it and do what ever way you want (i.e. what's a microsecond or two?) You could try both ways and profile it several thousand times to see if it really matters.