select table_schema, concat(truncate(sum(data_length)/1024/1024,2),' mb') as data_size,
concat(truncate(sum(index_length)/1024/1024,2),'mb') as index_sizefrom information_schema.tableswhere table_schema = 'zx'and table_name != 't_part_content'group by table_schemaorder by data_length desc;