Is it possible to get the size in bytes of the results of an sql query in MySQL?
For example:
select * from sometable;
ths returns
simplify :
select sum(char_length(column1)+ char_length(column2)+ char_length(column3)+ char_length(column4) ... )<-- repeat for all columns from your_table
You need to add IFNULL() to each column as @futilerebel has mentioned