mysql 查看数据库表数据量大小

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_24596243/article/details/82109754

查看某个数据库下每张表的数据量大小

use information_schema;
select table_name,table_rows from tables  where TABLE_SCHEMA = '数据库名字'  order by table_rows desc;

猜你喜欢

转载自blog.csdn.net/qq_24596243/article/details/82109754