首页 > 技术文章 > mysql 查看数据库中所有表的记录数

adolfmc 2017-07-03 20:11 原文

use information_schema;


select table_name,table_rows from tables
where TABLE_SCHEMA = 'fxd-main'
order by table_rows desc;

推荐阅读