mysql 查询所有表以及对应的信息

https://www.cnblogs.com/ssslinppp/p/6178636.html


use information_schema;
select
engine,
table_name,
table_rows,
data_length,
index_length
from tables where TABLE_SCHEMA = '数据库名称' order by table_rows desc;

欢迎指正:haizi2014@qq.com
原文地址:https://www.cnblogs.com/hcfan/p/11193825.html