1.直接查询指定数据库里所有表的信息
select * from information_schema.tables where TABLE_SCHEMA = '数据库' order by table_rows desc;
2.查询当前数据库里所有表的信息
show table status
tripChao 2017-06-21 14:41 原文
1.直接查询指定数据库里所有表的信息
select * from information_schema.tables where TABLE_SCHEMA = '数据库' order by table_rows desc;
2.查询当前数据库里所有表的信息
show table status