Hi all,
I used Text field for one column in my table…
If i leave that column as blank… how much memory it occupies…
If i insert only 200 chars in this column… how much memory it occupies…
Means by default, it occupies the maximum size of text field or how much data we inserted?
Sorry,
I don’t want the size in numbers…
I want the clarification,
when i use TEXT field type for a column and i insert some data of size 2kb into taht column or left as blank, it will allocate/store only 2kb or by default 64kb?
If it left as blank, un-necessary we are wasting the 64kb or it set as NULL?
If it allocates 64kb, when the rows are increased, the table size also increased, and it will leads to exceeds maximum table size problem.
Why don’t you make two test tables.
One has one field varchar(200) and you add 200 characters to one record and save
the other has one field text, and you add 200 characters to that.
Then look at the size of the two tables - is one of them about 64kb, or are both about the same size.
As a scientist, I always advocate doing the experiment rather than asking something that can be checked to very simply.