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_size
from information_schema.tables
where
table_schema = 'zx'
and table_name != 't_part_content'
group by table_schema
order by data_length desc;

相关文章:

  • 2021-11-29
  • 2021-12-23
  • 2022-12-23
  • 2021-11-29
  • 2021-11-29
  • 2021-12-02
猜你喜欢
  • 2021-11-29
  • 2022-12-23
  • 2021-11-29
  • 2021-07-31
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案