I was wanting to create a personal note database, to store notes in HTML or text that are quite long. What would be the difference between VARCHAR
and TEXT
fields, which one would be more efficient to use?
I think VARCHAR
's max is 65535 characters, I can't wrap my head around if I'll contain anything larger than that though. I wonder if a certain data type can be automatically compressed, although I don't think it's that simple (since it'd take too much CPU time in real use).