SELECT table_schema as '数据库',
table_name AS '表',
round(((data_length) / 1024 / 1024), 2) '数据量大小(MB)',
round(((index_length) / 1024 / 1024), 2) '索引量(MB)'
FROM information_schema.TABLES
where table_schema = 'yqn_message'
ORDER BY (data_length)
DESC;

相关文章:

  • 2021-07-31
  • 2021-06-11
  • 2021-11-29
  • 2021-04-04
  • 2021-11-29
  • 2021-12-09
  • 2021-06-17
猜你喜欢
  • 2021-08-26
  • 2021-11-29
  • 2021-12-02
  • 2021-11-29
相关资源
相似解决方案