Forum Moderators: coopster
11.4.1. The CHAR and VARCHAR Types [dev.mysql.com]
When CHAR values are stored, they are right-padded with spaces to the specified length. When CHAR values are retrieved, trailing spaces are removed.
Thus you would be storing a lot of unnecessary data (spaces) if you picked char.
Obviously databases are held in files on a server, which are then read by the RDMS. When a search has to be conducted, the RDMS uses lots of shortcuts to find the data quickly.
Using CHAR is one such short-cut. Because all the fields are of a fixed length, the RDMS can find the exact value for a specific record instantly. VARCHAR has a variable length which makes finding a specific record harder.
That'll be 10 bucks please, I gotta recover my uni debt somehow ;)