查询mysql各个表的数据量

2017-11-23  本文已影响9人  老胡聊聊天

--查询出来的是每张表的行数
use information_schema;
select table_name,table_rows from tables
where TABLE_SCHEMA = '数据库名'
order by table_rows desc;

image.png
上一篇 下一篇

猜你喜欢

热点阅读