mysql> select -> table_name, engine, table_rows as tbl_rows, avg_row_length as rlen, -> floor((data_length+index_length)/1024/1024) as allMB, #総容量 -> floor((data_length)/1024/1024) as dMB, #データ容量 -> floor((index_length)/1024/1024) as iMB #インデックス容量 -> from information_schema.tables -> where table_schema=database() -> order by (data_length+index_length) desc;
By the way, the results above are from a Zabbix DB. Since the data in history tends to grow large, you can see that you need to take measures such as adjusting the retention period via partitioning or Zabbix housekeeping.