mysql查看表占用空间大小
select sum(DATA_LENGTH)+sum(INDEX_LENGTH) from information_schema.tables where table_schema='数据库名' and TABLE_NAME='数据表名';
select sum(DATA_LENGTH)+sum(INDEX_LENGTH) from information_schema.tables where table_schema='数据库名' and TABLE_NAME='数据表名';