首页 > 技术文章 > mysql 查询整个数据库所有表的行数

royfans 2019-05-31 17:14 原文

>use information_schema;
>select sum(table_rows) from tables where TABLE_SCHEMA = "test" order by table_rows asc;

  

推荐阅读