查询mysql中非系统表的数据表行数
且倒排
select table_schema,table_name,table_rows from information_schema.tables where table_schema != 'information_schema' and table_schema != 'mysql' and table_schema != 'performance_schema' order by table_rows desc;
谢谢
其他例如查询单表所占空间大小、索引大小等方法参考: