image.png--查询出来的是每张表的行数
use information_schema;
select table_name,table_rows from tables
where TABLE_SCHEMA = '数据库名'
order by table_rows desc;
image.png--查询出来的是每张表的行数
use information_schema;
select table_name,table_rows from tables
where TABLE_SCHEMA = '数据库名'
order by table_rows desc;
本文标题:查询mysql各个表的数据量
本文链接:https://www.haomeiwen.com/subject/jhaavxtx.html
网友评论