Forum Moderators: open
a) 'col1' varchar(64) NOT NULL
b) 'col2' varchar(250) NOT NULL
While they are empty, will the database occupy the same disk space?
If they both get filled with the same data, say '128.128.128.128', will the relative disk size change?
Basically, by declaring bigger fields do I simply get higher limits (which won't matter for smaller data)?
The CHAR and VARCHAR Types [dev.mysql.com]
Data Type Storage Requirements [dev.mysql.com]
Choosing the Right Type for a Column [dev.mysql.com]
I'm using MySQL by the way, I believe I ended up sticking to MyISAM storage engine..