Do char / varchar / text / longtext columns in MySQL occupy full size in filesystem even for partially filled cells?
问题 Do varchar/text/longtext columns in MySQL occupy full length size in filesystem even for incomplete cells? Referring to this blog article for example I have the following columns and i have put in a given string in it. CHAR (72) - can store upto 72 characters - i put in a string "abcd" VARCHAR (72) - can store upto 72 characters - i put in a string "abcd" TINYTEXT - can store upto 255 characters - i put in a string "abcd" TEXT - can store upto 65,535 characters - i put in a string "abcd"