查询数据库中所有表名表中数据量(不可靠:与数据库所用引擎有关)
select table_name,table_rows from information_schema.tables where table_schema='databasename' order by table_rows desc;
查询数据库中所有表名表中数据量(不可靠:与数据库所用引擎有关)
select table_name,table_rows from information_schema.tables where table_schema='databasename' order by table_rows desc;