TEXT can hold up to 65k, MEDIUMTEXT up to 16m[/quote]
Any performance hits using MediumText?
[Quote=DoubleDee]
And what is the difference between the Blobs and Texts??
Originally Posted by da manual
BLOB columns are treated as binary strings (byte strings). TEXT columns are treated as non-binary strings (character strings). BLOB columns have no character set, and sorting and comparison is based on the numeric values of the bytes in column values. TEXT columns have a character set, and values are sorted and compared based on the collation of the character set assigned to the column as of MySQL 4.1.
come on, debbie, i know it’s real easy just to throw these questions out to sitepoint, your favourite free support team, but seriously, how hard are you trying to find out this stuff on your own?
i mean, really
may i recommend (1) da manual, (2) wikipedia, and (3) google
But the term “binary string” and “BLOB” are basically platform independent, and I’ve never had a solid understanding of those terms, so I don’t think I’m being as lazy as r937 seems to think…
TEXT is a bunch of 1s and 0s along with some info saying how to interpret those 1s and 0s as text
110101001010010101100101 does not mean the same thing when interpreted as an MP3 file versus text, and does not mean the same characters when interpreted as UTF-8 text vs ISO-8859-8 text.
With some TEXT, you can do things like search inside that column for a word or phrase. With a BLOB you can’t do that, since the database won’t know how to tell if that word or phrase appears in the data, it may or may not depending on how it’s interpreted.