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;

 

posted @ 2019-07-16 11:32  点点_滴滴  阅读(758)  评论(0编辑  收藏  举报