Which data type saves more space TINYTEXT or VARCHAR for variable data length in MySQL?

Posted by John M. on Stack Overflow See other posts from Stack Overflow or by John M.
Published on 2010-03-25T00:29:39Z Indexed on 2010/03/25 0:33 UTC
Read the original article Hit count: 378

Filed under:
|
|

I need to store a data into MySQL. Its length is not fixed, it could be 255 or 2 characters long. Should I use TINYTEXT or VARCHAR in order to save space (speed is irrelevant)?

© Stack Overflow or respective owner

Related posts about mysql

Related posts about sql