I have fairly large MyISAM
table with longtext
field in it
Table size is somewhat 16GB.
I need to know if clearing this column in old records helps to keep table small
I can retrieve table wise Data_length
using information_schema.tables
Is there a way to find Data_length
just for this one column?
Best Answer
Here is how you find the sum of the lengths the LONGTEXT column of all rows
Once you delete the rows you want, just compress the file
You can do it in a single command
or in stages
Give it a Try !!!