In the MySQL manual, Data Warehouse Requirements, I found:
Data Type Storage Required
--------------------------------------------
TINYTEXT L + 1 bytes, where L < 2^8
TEXT L + 2 bytes, where L < 2^16
- If I store 240 characters [utf8-general] in TinyText, as well as in the Text field, will the Text field just eat 1 byte more than TinyText?
- How much space will the text take if I save 1024 letters [utf8-general]?
I think 1024 + 2 bytes! - Will it use the same space if I store one character or 2 ^ 16 characters in a text box?
source
share