1,执行sql use information_schema; 2,然后 select concat(round(sum(DATA_LENGTH/1024/1024),2),'M') from tables;